The GrpcTransportOptions class provides typing to the associative array of options used to configure {@see \Google\ApiCore\Transport\GrpcTransport}.
CloneableInstantiable
| Methods |
public __construct(array $options)
|
| public offsetExists( $offset) : bool |
public offsetGet( $offset)
|
public offsetSet( $offset, $value) : void
|
public offsetUnset( $offset) : void
|
public setChannel(?Grpc\Channel $channel) : self
|
public setClientCertSource(?callable $clientCertSource) : self
|
public setInterceptors(array $interceptors) : self
|
public setLogger(Psr\Log\LoggerInterface|false|?null $logger) : self
|
public setStubOpts(array $stubOpts) : self
|
| public toArray() : array |
| Properties |
| private ?Grpc\Channel $channel |
| private ?Closure $clientCertSource |
private array $interceptors
|
| private Psr\Log\LoggerInterface|false|?null $logger |
| private array $stubOpts |
| 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)
|