Table of Contents
Interfaces
- TransportFactoryInterface
Constants
-
DEFAULT_COMPRESSION
= 'none'
Methods
-
create()
: PsrTransport
DEFAULT_COMPRESSION
private
mixed
DEFAULT_COMPRESSION
= 'none'
create()
public
create(string $endpoint, string $contentType[, array<string|int, mixed> $headers = [] ][, mixed $compression = null ][, float $timeout = 10.0 ][, int $retryDelay = 100 ][, int $maxRetries = 3 ][, string|null $cacert = null ][, string|null $cert = null ][, string|null $key = null ]) : PsrTransport
Parameters
-
$endpoint
: string
-
-
$contentType
: string
-
-
$headers
: array<string|int, mixed>
= []
-
-
$compression
: mixed
= null
-
-
$timeout
: float
= 10.0
-
-
$retryDelay
: int
= 100
-
-
$maxRetries
: int
= 3
-
-
$cacert
: string|null
= null
-
-
$cert
: string|null
= null
-
-
$key
: string|null
= null
-