Documentation

Guzzle
in package

Wrapper for GuzzleHTTP

Table of Contents

Constants

DEFAULT_HEADERS  = ["Accept" => "*/*", "Accept-Language" => "en-US,en;q=0.5", "Accept-Encoding" => "gzip, deflate, br", "Referer" => "https://www.tiktok.com/explore"]

Properties

$client  : Client
$userAgent  : string

Methods

__construct()  : mixed
getClient()  : Client

Constants

DEFAULT_HEADERS

public mixed DEFAULT_HEADERS = ["Accept" => "*/*", "Accept-Language" => "en-US,en;q=0.5", "Accept-Encoding" => "gzip, deflate, br", "Referer" => "https://www.tiktok.com/explore"]

Properties

$userAgent

private string $userAgent

Methods

__construct()

public __construct(array<string|int, mixed> $config, Selenium $selenium) : mixed
Parameters
$config : array<string|int, mixed>
$selenium : Selenium

getClient()

public getClient() : Client
Return values
Client

        
On this page

Search results