public sealed class ApiBidirectionalStreamingCall<TRequest, TResponse>
Bridge between a duplex streaming RPC method and higher level abstractions, applying call settings as required.
Namespace
Google.Api.Gax.GrpcAssembly
Google.Api.Gax.Grpc.dll
Type Parameters | |
---|---|
Name | Description |
TRequest | RPC request type |
TResponse | RPC response type |
Properties
BaseCallSettings
public CallSettings BaseCallSettings { get; }
The base CallSettings for this API call; these can be further overridden by providing
a CallSettings
to Call(CallSettings).
Property Value | |
---|---|
Type | Description |
CallSettings |
StreamingSettings
public BidirectionalStreamingSettings StreamingSettings { get; }
Streaming settings.
Property Value | |
---|---|
Type | Description |
BidirectionalStreamingSettings |
Methods
Call(CallSettings)
public AsyncDuplexStreamingCall<TRequest, TResponse> Call(CallSettings perCallCallSettings)
Initializes a streaming RPC call.
Parameter | |
---|---|
Name | Description |
perCallCallSettings | CallSettings The call settings to apply to this specific call, overriding defaults where necessary. |
Returns | |
---|---|
Type | Description |
AsyncDuplexStreamingCall<TRequest, TResponse> | A gRPC duplex streaming call object. |