PDFGate's PHP SDK

CurlHttpTransport
in package
implements HttpTransportInterface

cURL transport implementation for SDK HTTP calls.

Table of Contents

Interfaces

HttpTransportInterface
HTTP transport contract used by the SDK client.

Properties

$curlClient  : CurlClientInterface

Methods

__construct()  : mixed
send()  : HttpResponse
Sends an HTTP request and returns the response.
appendMultipartField()  : void
normalizeMultipartBody()  : array<string, mixed>

Properties

Methods

appendMultipartField()

private appendMultipartField(array<string, mixed> &$normalized, string $key, mixed $value) : void
Parameters
$normalized : array<string, mixed>
$key : string
$value : mixed

normalizeMultipartBody()

private normalizeMultipartBody(array<string, mixed> $payload) : array<string, mixed>
Parameters
$payload : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results