Versions in this module Expand all Collapse all v1 v1.1.3 Apr 13, 2023 Changes in this version + const DefaultTimeout + const Version + func PrepareRequest(proto string, method string, url string, params types.Dict, headers types.Dict, ...) (error, *prepareRequest) + type Request struct + type Response struct + History []*Response + Html string + Ok bool + Raw *[]byte + Session *Session + func Delete(url string, ext ...types.Ext) *Response + func Get(url string, ext ...types.Ext) *Response + func Head(url string, ext ...types.Ext) *Response + func Options(url string, ext ...types.Ext) *Response + func Post(url string, ext ...types.Ext) *Response + func Put(url string, ext ...types.Ext) *Response + func (resp *Response) ContentType() string + func (resp *Response) CustomRender(targetListenerCallbacks []func(ev interface{}), ...) *Response + func (resp *Response) Json() *gjson.Result + func (resp *Response) Render() *Response + func (resp *Response) Save(savePath string) (string, error) + func (resp *Response) Snapshot(fullscreen bool, png bool) *[]byte + func (resp *Response) Text() string + func (resp *Response) Title() string + func (resp *Response) URLs() []string + func (resp *Response) XPath() *parser.XpathNode + type Session struct + Client *http.Client + func HTMLSession() *Session + func (s *Session) Delete(url string, ext ...types.Ext) *Response + func (s *Session) Get(url string, ext ...types.Ext) *Response + func (s *Session) Head(url string, ext ...types.Ext) *Response + func (s *Session) Options(url string, ext ...types.Ext) *Response + func (s *Session) Post(url string, ext ...types.Ext) *Response + func (s *Session) Put(url string, ext ...types.Ext) *Response + func (s *Session) RegisterHook(key string, hook types.Hook) error + func (s *Session) Send(prep *prepareRequest) *Response