CURLRequestHandler
CURLRequestHandler
- Full name:
\Onslip360\CURLRequestHandler
- This class implements:
\Onslip360\RequestHandler
Methods
__construct
public __construct(int $connectTimeout = 10000, int $timeout = 30000): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$connectTimeout | int | |
$timeout | int |
handleRequest
public handleRequest(string $method, string $uri, string|null $payload, array $headers): \Onslip360\RequestHandlerResponse
Parameters:
Parameter | Type | Description |
---|---|---|
$method | string | |
$uri | string | |
$payload | string|null | |
$headers | array |
Automatically generated on 2024-11-05