func (c *Client) RenterClearDownloadsAfterPost(after time.Time) (err error) {
	values := url.Values{}
	values.Set("after", strconv.FormatInt(after.UnixNano(), 10))
	err = c.post("/renter/downloads/clear", values.Encode(), nil)
	return
}
RenterClearDownloadsAfterPost requests the /renter/downloads/clear resource
with only the after timestamp provided
package client
import (
	"fmt"
	"net/url"
	"strconv"
	"strings"
	"time"
	"github.com/NebulousLabs/Sia/modules"
	"github.com/NebulousLabs/Sia/node/api"
)
func (c *Client) RenterContractsGet() (rc api.RenterContracts, err error) {
	err = c.get("/renter/contracts", &rc)
	return
}
func (c *Client) RenterInactiveContractsGet() (rc api.RenterContracts, err error) {
	query := fmt.Sprintf("?inactive=%v", true)
	err = c.get("/renter/contracts"+query, &rc)
	return
}
func (c *Client) RenterExpiredContractsGet() (rc api.RenterContracts, err error) {
	query := fmt.Sprintf("?expired=%v", true)
	err = c.get("/renter/contracts"+query, &rc)
	return
}
func (c *Client) RenterDeletePost(siaPath string) (err error) {
	siaPath = strings.TrimPrefix(siaPath, "/")
	err = c.post(fmt.Sprintf("/renter/delete/%s", siaPath), "", nil)
	return err
}
func (c *Client) RenterDownloadGet(siaPath, destination string, offset, length uint64, async bool) (err error) {
	siaPath = strings.TrimPrefix(siaPath, "/")
	query := fmt.Sprintf("%s?destination=%s&offset=%d&length=%d&httpresp=false&async=%v",
		siaPath, destination, offset, length, async)
	err = c.get("/renter/download/"+query, nil)
	return
}
func (c *Client) RenterDownloadFullGet(siaPath, destination string, async bool) (err error) {
	siaPath = strings.TrimPrefix(siaPath, "/")
	query := fmt.Sprintf("%s?destination=%s&httpresp=false&async=%v",
		siaPath, destination, async)
	err = c.get("/renter/download/"+query, nil)
	return
}
func (c *Client) RenterClearAllDownloadsPost() (err error) {
	err = c.post("/renter/downloads/clear", "", nil)
	return
}