Show / Hide Table of Contents

Class ApiBidirectionalStreamingCall<TRequest, TResponse>

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

Inheritance
System.Object
ApiBidirectionalStreamingCall<TRequest, TResponse>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api.Gax.Grpc
Assembly: Google.Api.Gax.Grpc.dll
Syntax
public sealed class ApiBidirectionalStreamingCall<TRequest, TResponse>
Type Parameters
Name Description
TRequest

RPC request type

TResponse

RPC response type

Properties

BaseCallSettings

The base CallSettings for this API call; these can be further overridden by providing a CallSettings to Call(CallSettings).

Declaration
public CallSettings BaseCallSettings { get; }
Property Value
Type Description
CallSettings

StreamingSettings

Streaming settings.

Declaration
public BidirectionalStreamingSettings StreamingSettings { get; }
Property Value
Type Description
BidirectionalStreamingSettings

Methods

Call(CallSettings)

Initializes a streaming RPC call.

Declaration
public AsyncDuplexStreamingCall<TRequest, TResponse> Call(CallSettings perCallCallSettings)
Parameters
Type Name Description
CallSettings perCallCallSettings

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.

Back to top