Class ApiClientStreamingCall<TRequest, TResponse> (4.0.0)

public sealed class ApiClientStreamingCall<TRequest, TResponse>

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

Inheritance

Object > ApiClientStreamingCall<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 ClientStreamingSettings StreamingSettings { get; }

Streaming settings.

Property Value
TypeDescription
ClientStreamingSettings

Methods

Call(CallSettings)

public AsyncClientStreamingCall<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
AsyncClientStreamingCall<TRequest, TResponse>

A gRPC client streaming call object.