Represents an interceptor that intercept RPC invocations before call starts.

There is one proposal related to the argument $deserialize under the review.
The proposal link is https://github.com/grpc/proposal/pull/86.
This is an EXPERIMENTAL API.

CloneableInstantiable
Methods
public static intercept( $channel, $interceptors)
 

Intercept the methods with Channel

  • return InterceptorChannel
public interceptStreamStream( $method, $deserialize, array $metadata = [], array $options = [], $continuation)
public interceptStreamUnary( $method, $deserialize, array $metadata = [], array $options = [], $continuation)
public interceptUnaryStream( $method, $argument, $deserialize, array $metadata = [], array $options = [], $continuation)
public interceptUnaryUnary( $method, $argument, $deserialize, array $metadata = [], array $options = [], $continuation)
Methods
public static intercept( $channel, $interceptors)
 

Intercept the methods with Channel

  • return InterceptorChannel
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only