Class ApiBidirectionalStreamingCall<TRequest, TResponse> (4.4.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

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

A gRPC duplex streaming call object.