TransportFactoryInterface
in
Table of Contents
Constants
- COMPRESSION_BROTLI = 'br'
- COMPRESSION_DEFLATE = 'deflate'
- COMPRESSION_GZIP = 'gzip'
Methods
Constants
COMPRESSION_BROTLI
public
mixed
COMPRESSION_BROTLI
= 'br'
COMPRESSION_DEFLATE
public
mixed
COMPRESSION_DEFLATE
= 'deflate'
COMPRESSION_GZIP
public
mixed
COMPRESSION_GZIP
= 'gzip'
Methods
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 ]) : TransportInterface
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