Versions in this module Expand all Collapse all v1 v1.7.4 Mar 25, 2024 v1.7.3 Mar 6, 2024 Changes in this version + func BuildResponse(sessionId string, withSession bool, resp *http.Response, ...) (Response, *TLSClientError) + func ClearSessionCache() + func GetClient(sessionId string) (tls_client.HttpClient, error) + func RemoveSession(sessionId string) + type AddCookiesToSessionInput struct + Cookies []Cookie + SessionId string + Url string + type CandidateCipherSuite struct + AeadId string + KdfId string + type CandidateCipherSuites []CandidateCipherSuite + func (c CandidateCipherSuites) Translate() []tls_client.CandidateCipherSuites + type Cookie struct + Domain string + Expires Timestamp + Name string + Path string + Value string + type CookiesFromSessionOutput struct + Cookies []Cookie + Id string + type CustomTlsClient struct + ALPNProtocols []string + ALPSProtocols []string + CertCompressionAlgo string + ConnectionFlow uint32 + ECHCandidateCipherSuites CandidateCipherSuites + ECHCandidatePayloads []uint16 + H2Settings map[string]uint32 + H2SettingsOrder []string + HeaderPriority *PriorityParam + Ja3String string + KeyShareCurves []string + PriorityFrames []PriorityFrames + PseudoHeaderOrder []string + SupportedDelegatedCredentialsAlgorithms []string + SupportedSignatureAlgorithms []string + SupportedVersions []string + type DestroyOutput struct + Id string + Success bool + type DestroySessionInput struct + SessionId string + type GetCookiesFromSessionInput struct + SessionId string + Url string + type PriorityFrames struct + PriorityParam PriorityParam + StreamID uint32 + type PriorityParam struct + Exclusive bool + StreamDep uint32 + Weight uint8 + type RequestInput struct + CatchPanics bool + CertificatePinningHosts map[string][]string + CustomTlsClient *CustomTlsClient + DefaultHeaders map[string][]string + DisableIPV6 bool + FollowRedirects bool + ForceHttp1 bool + HeaderOrder []string + Headers map[string]string + InsecureSkipVerify bool + IsByteRequest bool + IsByteResponse bool + IsRotatingProxy bool + LocalAddress *string + ProxyUrl *string + RequestBody *string + RequestCookies []Cookie + RequestMethod string + RequestUrl string + ServerNameOverwrite *string + SessionId *string + StreamOutputBlockSize *int + StreamOutputEOFSymbol *string + StreamOutputPath *string + TLSClientIdentifier string + TimeoutMilliseconds int + TimeoutSeconds int + TransportOptions *TransportOptions + WithDebug bool + WithDefaultCookieJar bool + WithRandomTLSExtensionOrder bool + WithoutCookieJar bool + type Response struct + Body string + Cookies map[string]string + Headers map[string][]string + Id string + SessionId string + Status int + Target string + UsedProtocol string + type TLSClientError struct + func BuildRequest(input RequestInput) (*http.Request, *TLSClientError) + func CreateClient(requestInput RequestInput) (client tls_client.HttpClient, sessionID string, withSession bool, ...) + func NewTLSClientError(err error) *TLSClientError + func (e *TLSClientError) Error() string + type Timestamp struct + func (p *Timestamp) MarshalJSON() ([]byte, error) + func (p *Timestamp) UnmarshalJSON(bytes []byte) error + type TransportOptions struct + DisableCompression bool + DisableKeepAlives bool + IdleConnTimeout *time.Duration + MaxConnsPerHost int + MaxIdleConns int + MaxIdleConnsPerHost int + MaxResponseHeaderBytes int64 + ReadBufferSize int + WriteBufferSize int