CallOptions
class CallOptions implements ArrayAccess (View source)
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()}.
Traits
Trait implemented by any class representing an associative array of PHP options.
Methods
__construct(array $options)
No description
setHeaders(array $headers)
No description
setTimeoutMillis(int|null $timeoutMillis)
No description
setTransportSpecificOptions(array $transportSpecificOptions)
No description
Details
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
setHeaders(array $headers)
No description
setTimeoutMillis(int|null $timeoutMillis)
No description
setTransportSpecificOptions(array $transportSpecificOptions)
No description
setRetrySettings(RetrySettings|array|null $retrySettings)
No description