Namespaces

Classes

The CallOptions class provides typing to the associative array of options passed to transport RPC methods. See {TransportInterface::startUnaryCall()}, {@see TransportInterface::startBidiStreamingCall()}, {TransportInterface::startClientStreamingCall()}, and {TransportInterface::startServerStreamingCall()}.

The ClientOptions class adds typing to the associative array of options passed into each API client constructor. To use this class directly, pass the result of {ClientOptions::toArray} to the client constructor:

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