The CallOptions class provides typing to the associative array of options passed to transport RPC methods. See {@see \Google\ApiCore\Transport\TransportInterface::startUnaryCall()}, {@see \Google\ApiCore\Transport\TransportInterface::startBidiStreamingCall()}, {@see \Google\ApiCore\Transport\TransportInterface::startClientStreamingCall()}, and {@see \Google\ApiCore\Transport\TransportInterface::startServerStreamingCall()}.
CloneableInstantiable
| Methods |
public __construct(array $options)
|
| public offsetExists( $offset) : bool |
public offsetGet( $offset)
|
public offsetSet( $offset, $value) : void
|
public offsetUnset( $offset) : void
|
public setHeaders(array $headers) : self
|
public setRetrySettings( $retrySettings) : self
|
public setTimeoutMillis(?int $timeoutMillis) : self
|
public setTransportOptions(array $transportOptions) : self
|
public setTransportSpecificOptions(array $transportSpecificOptions) : self
|
| public toArray() : array |
| Properties |
| private array $headers |
private $retrySettings = NULL
|
| private ?int $timeoutMillis |
| private array $transportOptions |
| Methods |
| private fromArray(array $arr) : void Sets the array of options as class properites.
|
private static validateFileExists(string $filePath)
|
| Methods |
private static validateFileExists(string $filePath)
|