Versions in this module Expand all Collapse all v0 v0.9.1 Mar 17, 2016 Changes in this version + const DELETE + const GET + const HEAD + const OPTIONS + const PATCH + const POST + const PUT + var DisableTransportSwap = false + var Types = map[string]string + type Request *http.Request + type Response *http.Response + type SuperAgent struct + BasicAuth struct{ ... } + BounceToRawString bool + Client *http.Client + Cookies []*http.Cookie + CurlCommand bool + Data map[string]interface{} + Debug bool + Errors []error + ForceType string + FormData url.Values + Header map[string]string + Method string + QueryData url.Values + RawString string + SliceData []interface{} + TargetType string + Transport *http.Transport + Url string + func New() *SuperAgent + func (s *SuperAgent) AddCookie(c *http.Cookie) *SuperAgent + func (s *SuperAgent) AddCookies(cookies []*http.Cookie) *SuperAgent + func (s *SuperAgent) ClearSuperAgent() + func (s *SuperAgent) Delete(targetUrl string) *SuperAgent + func (s *SuperAgent) End(callback ...func(response Response, body string, errs []error)) (Response, string, []error) + func (s *SuperAgent) EndBytes(callback ...func(response Response, body []byte, errs []error)) (Response, []byte, []error) + func (s *SuperAgent) Get(targetUrl string) *SuperAgent + func (s *SuperAgent) Head(targetUrl string) *SuperAgent + func (s *SuperAgent) Options(targetUrl string) *SuperAgent + func (s *SuperAgent) Param(key string, value string) *SuperAgent + func (s *SuperAgent) Patch(targetUrl string) *SuperAgent + func (s *SuperAgent) Post(targetUrl string) *SuperAgent + func (s *SuperAgent) Proxy(proxyUrl string) *SuperAgent + func (s *SuperAgent) Put(targetUrl string) *SuperAgent + func (s *SuperAgent) Query(content interface{}) *SuperAgent + func (s *SuperAgent) RedirectPolicy(policy func(req Request, via []Request) error) *SuperAgent + func (s *SuperAgent) Send(content interface{}) *SuperAgent + func (s *SuperAgent) SendSlice(content []interface{}) *SuperAgent + func (s *SuperAgent) SendString(content string) *SuperAgent + func (s *SuperAgent) SendStruct(content interface{}) *SuperAgent + func (s *SuperAgent) Set(param string, value string) *SuperAgent + func (s *SuperAgent) SetBasicAuth(username string, password string) *SuperAgent + func (s *SuperAgent) SetCurlCommand(enable bool) *SuperAgent + func (s *SuperAgent) SetDebug(enable bool) *SuperAgent + func (s *SuperAgent) SetLogger(logger *log.Logger) *SuperAgent + func (s *SuperAgent) TLSClientConfig(config *tls.Config) *SuperAgent + func (s *SuperAgent) Timeout(timeout time.Duration) *SuperAgent + func (s *SuperAgent) Type(typeStr string) *SuperAgent