A gRPC based transport implementation.
CloneableInstantiable
- Extends
Grpc\BaseStub - Children
- Implements
- Traits
| Methods |
public __construct(string $hostname, array $opts, ?Grpc\Channel $channel = NULL, array $interceptors = [], Psr\Log\LoggerInterface|false|?null $logger = NULL)
|
| public static build(string $apiEndpoint, array $config = []) Builds a GrpcTransport.
|
| public startBidiStreamingCall(Google |
| public startClientStreamingCall(Google |
| public startServerStreamingCall(Google |
| public startUnaryCall(Google |
public static validate(array $arr, array $requiredKeys)
|
public static validateNotNull(array $arr, array $requiredKeys)
|
| Methods |
| Properties |
| private static $defaultPort = 443 |
| private ?Psr\Log\LoggerInterface $logger |
| Methods |
| private getCallOptions(array $options) |
private static getGrpcDependencyStatus()
|
private getJwtToken(array $headers) : ?array
|
| private static loadClientCertSource(callable $clientCertSource) |
private logRequest(Google
|
private logResponse(Google
|
private static normalizeServiceAddress(string $apiEndpoint)
|
private truncatePayload(?string $payload) : ?string
|
private static validateFileExists(string $filePath)
|
private static validateGrpcSupport()
|
| private static validateImpl( $arr, $requiredKeys, $allowNull) |
| private verifyUniverseDomain(array $options) |
| Properties |
| private static $defaultPort = 443 |
| Methods |
| public static build(string $apiEndpoint, array $config = []) Builds a GrpcTransport.
|
private static getGrpcDependencyStatus()
|
| private static loadClientCertSource(callable $clientCertSource) |
private static normalizeServiceAddress(string $apiEndpoint)
|
public static validate(array $arr, array $requiredKeys)
|
private static validateFileExists(string $filePath)
|
private static validateGrpcSupport()
|
| private static validateImpl( $arr, $requiredKeys, $allowNull) |
public static validateNotNull(array $arr, array $requiredKeys)
|