BoundedTransport
extends
Transport
in
A transport that can bound the complete request, including connection and body reads.
Table of Contents
Methods
- send() : array<string, mixed>|array<int, mixed>|null
- sendBounded() : array<string, mixed>|array<int, mixed>|null
- supportsBoundedRequests() : bool
Methods
send()
public
send(string $method, string $uri, array<string, string> $headers[, array<string, mixed>|null $body = null ]) : array<string, mixed>|array<int, mixed>|null
Parameters
- $method : string
- $uri : string
- $headers : array<string, string>
- $body : array<string, mixed>|null = null
Return values
array<string, mixed>|array<int, mixed>|nullsendBounded()
public
sendBounded(string $method, string $uri, array<string, string> $headers, array<string, mixed>|null $body, int $timeoutSeconds) : array<string, mixed>|array<int, mixed>|null
Parameters
- $method : string
- $uri : string
- $headers : array<string, string>
- $body : array<string, mixed>|null
- $timeoutSeconds : int
Return values
array<string, mixed>|array<int, mixed>|nullsupportsBoundedRequests()
public
supportsBoundedRequests() : bool