Class ApiBidirectionalStreamingCall<TRequest, TResponse> (4.0.0)

public sealed class ApiBidirectionalStreamingCall<TRequest, TResponse>

Bridge between a duplex streaming RPC method and higher level abstractions, applying call settings as required.

Inheritance

Object > ApiBidirectionalStreamingCall<TRequest, TResponse>

Namespace

Google.Api.Gax.Grpc

Assembly

Google.Api.Gax.Grpc.dll

Type Parameters

NameDescription
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
TypeDescription
CallSettings

StreamingSettings

public BidirectionalStreamingSettings StreamingSettings { get; }

Streaming settings.

Property Value
TypeDescription
BidirectionalStreamingSettings

Methods

Call(CallSettings)

public AsyncDuplexStreamingCall<TRequest, TResponse> Call(CallSettings perCallCallSettings)

Initializes a streaming RPC call.

Parameter
NameDescription
perCallCallSettingsCallSettings

The call settings to apply to this specific call, overriding defaults where necessary.

Returns
TypeDescription
AsyncDuplexStreamingCall<TRequest, TResponse>

A gRPC duplex streaming call object.