Google API Core Client - Class GrpcFallbackTransportOptions (1.35.1)

Reference documentation and code samples for the Google API Core Client class GrpcFallbackTransportOptions.

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

Namespace

Google \ ApiCore \ Options \ TransportOptions

Methods

__construct

Parameters
Name Description
options array

Config options used to construct the gRPC Fallback transport.

↳ clientCertSource callable

A callable which returns the client cert as a string.

↳ httpHandler callable

A handler used to deliver PSR-7 requests.

setHttpHandler

Parameter
Name Description
httpHandler ?callable

setClientCertSource

Parameter
Name Description
clientCertSource ?callable