Versions in this module Expand all Collapse all v1 v1.2.5 May 11, 2024 v1.2.4 May 11, 2024 Changes in this version + const DEFAULT_REDIRECT_LIMIT + const DEFAULT_TIMEOUT + const NAME + const USER_AGENT + const VERSION + func Connect(rawurl string, req *url.Request) (*models.Response, error) + func DecompressBody(content *[]byte, encoding string) + func Delete(rawurl string, req *url.Request) (*models.Response, error) + func Get(rawurl string, req *url.Request) (*models.Response, error) + func Head(rawurl string, req *url.Request) (*models.Response, error) + func Options(rawurl string, req *url.Request) (*models.Response, error) + func Patch(rawurl string, req *url.Request) (*models.Response, error) + func Post(rawurl string, req *url.Request) (*models.Response, error) + func Put(rawurl string, req *url.Request) (*models.Response, error) + func Request(method, rawurl string, req *url.Request) (*models.Response, error) + func Trace(rawurl string, req *url.Request) (*models.Response, error) + type Session struct + Auth []string + Cert []string + Cookies *cookiejar.Jar + HTTP2Settings *http2.HTTP2Settings + Headers *http.Header + Ja3 string + MaxRedirects int + Params *url.Params + Proxies string + TLSExtensions *ja3.TLSExtensions + Verify bool + func DefaultSession() *Session + func NewSession() *Session + func (s *Session) Connect(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Delete(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Get(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Head(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Options(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Patch(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Post(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Prepare_request(request *models.Request) (*models.PrepareRequest, error) + func (s *Session) Put(rawurl string, req *url.Request) (*models.Response, error) + func (s *Session) Request(method, rawurl string, request *url.Request) (*models.Response, error) + func (s *Session) Send(preq *models.PrepareRequest, req *url.Request) (*models.Response, error) + func (s *Session) Trace(rawurl string, req *url.Request) (*models.Response, error)