Google API Core Client - Class UnaryInterceptorInterface (1.42.4)

Reference documentation and code samples for the Google API Core Client class UnaryInterceptorInterface.

Temporary class to support an interceptor-like interface until gRPC interceptor support is available.

Namespace

Google \ ApiCore \ Transport \ Grpc

Methods

interceptUnaryUnary

Parameters
Name Description
method string
argument Google\Protobuf\Internal\Message
deserialize callable
metadata array
options array
continuation callable
Returns
Type Description
mixed