Skip to main content

CURLRequestHandler


CURLRequestHandler

Methods

__construct

public __construct(int $connectTimeout = 10000, int $timeout = 30000): mixed

Parameters:

ParameterTypeDescription
$connectTimeoutint
$timeoutint

handleRequest

public handleRequest(string $method, string $uri, string|null $payload, array $headers): \Onslip360\RequestHandlerResponse

Parameters:

ParameterTypeDescription
$methodstring
$uristring
$payloadstring|null
$headersarray


Automatically generated on 2024-11-05