class GrpcFallbackTransportOptions implements ArrayAccess (View source)

The GrpcFallbackTransportOptions class provides typing to the associative array of options used to configure {\Google\ApiCore\Transport\GrpcFallbackTransport}.

Traits

Trait implemented by any class representing an associative array of PHP options.

Methods

bool
offsetExists($offset)

No description

offsetGet($offset)

No description

void
offsetSet($offset, $value)

No description

void
offsetUnset($offset)

No description

array
toArray()

No description

__construct(array $options)

No description

setHttpHandler(callable|null $httpHandler)

No description

setClientCertSource(callable|null $clientCertSource)

No description

Details

bool offsetExists($offset)

No description

Parameters

$offset

Return Value

bool

offsetGet($offset)

No description

Parameters

$offset

void offsetSet($offset, $value)

No description

Parameters

$offset
$value

Return Value

void

Exceptions

BadMethodCallException

void offsetUnset($offset)

No description

Parameters

$offset

Return Value

void

Exceptions

BadMethodCallException

array toArray()

No description

Return Value

array

__construct(array $options)

No description

Parameters

array $options

{ Config options used to construct the gRPC Fallback transport.

@type callable $clientCertSource A callable which returns the client cert as a string. @type callable $httpHandler A handler used to deliver PSR-7 requests. }

setHttpHandler(callable|null $httpHandler)

No description

Parameters

callable|null $httpHandler

setClientCertSource(callable|null $clientCertSource)

No description

Parameters

callable|null $clientCertSource