Represents an interceptor that intercept RPC invocations before call starts.
More...
|
| interceptUnaryUnary ( $method, $argument, $deserialize, $continuation, array $metadata=[], array $options=[]) |
|
| interceptStreamUnary ( $method, $deserialize, $continuation, array $metadata=[], array $options=[]) |
|
| interceptUnaryStream ( $method, $argument, $deserialize, $continuation, array $metadata=[], array $options=[]) |
|
| interceptStreamStream ( $method, $deserialize, $continuation, array $metadata=[], array $options=[]) |
|
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.
◆ intercept()
static Grpc\Interceptor::intercept |
( |
|
$channel, |
|
|
|
$interceptors |
|
) |
| |
|
static |
Intercept the methods with Channel.
- Parameters
-
- Returns
- InterceptorChannel
◆ interceptStreamStream()
Grpc\Interceptor::interceptStreamStream |
( |
|
$method, |
|
|
|
$deserialize, |
|
|
|
$continuation, |
|
|
array |
$metadata = [] , |
|
|
array |
$options = [] |
|
) |
| |
◆ interceptStreamUnary()
Grpc\Interceptor::interceptStreamUnary |
( |
|
$method, |
|
|
|
$deserialize, |
|
|
|
$continuation, |
|
|
array |
$metadata = [] , |
|
|
array |
$options = [] |
|
) |
| |
◆ interceptUnaryStream()
Grpc\Interceptor::interceptUnaryStream |
( |
|
$method, |
|
|
|
$argument, |
|
|
|
$deserialize, |
|
|
|
$continuation, |
|
|
array |
$metadata = [] , |
|
|
array |
$options = [] |
|
) |
| |
◆ interceptUnaryUnary()
Grpc\Interceptor::interceptUnaryUnary |
( |
|
$method, |
|
|
|
$argument, |
|
|
|
$deserialize, |
|
|
|
$continuation, |
|
|
array |
$metadata = [] , |
|
|
array |
$options = [] |
|
) |
| |
The documentation for this class was generated from the following file: