Versions in this module Expand all Collapse all v0 v0.1.0 Apr 9, 2024 Changes in this version + type Client interface + DoRequestNobody func(respFn func(resp *Response)) + Request func() *Request + Wait func() + With func(f func()) + func Test(t *testing.T, f func() def.Option) Client + type NoRedirect struct + func (nr *NoRedirect) CheckRedirect(req *http.Request, via []*http.Request) error + type Request struct + func (r *Request) AddHeader(key, value string) *Request + func (r *Request) AddParam(key, value string) *Request + func (r *Request) Do(respFn func(resp *Response)) + func (r *Request) DoTimes(t int, respFn func(resp *Response)) + func (r *Request) SetBody(obj []byte) *Request + func (r *Request) SetCookie(name, value string) *Request + func (r *Request) SetJsonBody(obj any) *Request + type Response struct + func (res *Response) AssetBody(expect string) + func (res *Response) AssetHeader(key, expectValue string) + func (res *Response) Body() []byte + func (res *Response) BodyString() string + func (res *Response) Code() int + func (res *Response) Cookies() []*http.Cookie + func (res *Response) Dump() + func (res *Response) Header(key string) string + func (res *Response) HttpResponse() *http.Response