Class StreamAggregatedPriceServiceV1.StreamAggregatedPriceServiceV1Client
Client for StreamAggregatedPriceServiceV1
Inheritance
Namespace: KaikoSdk
Assembly: KaikoSdk.dll
Syntax
public class StreamAggregatedPriceServiceV1Client : Grpc.Core.ClientBase<StreamAggregatedPriceServiceV1.StreamAggregatedPriceServiceV1Client>
Constructors
StreamAggregatedPriceServiceV1Client()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected StreamAggregatedPriceServiceV1Client()
StreamAggregatedPriceServiceV1Client(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected StreamAggregatedPriceServiceV1Client(ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBaseConfiguration | configuration | The client configuration. |
StreamAggregatedPriceServiceV1Client(Grpc.Core.CallInvoker)
Creates a new client for StreamAggregatedPriceServiceV1 that uses a custom CallInvoker.
Declaration
public StreamAggregatedPriceServiceV1Client(Grpc.Core.CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| Grpc.Core.CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
StreamAggregatedPriceServiceV1Client(Grpc.Core.ChannelBase)
Creates a new client for StreamAggregatedPriceServiceV1
Declaration
public StreamAggregatedPriceServiceV1Client(Grpc.Core.ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| Grpc.Core.ChannelBase | channel | The channel to use to make remote calls. |
Methods
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override StreamAggregatedPriceServiceV1.StreamAggregatedPriceServiceV1Client NewInstance(ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| StreamAggregatedPriceServiceV1.StreamAggregatedPriceServiceV1Client |
Subscribe(StreamAggregatedPriceRequestV1, Grpc.Core.CallOptions)
Subscribe
Declaration
public virtual Grpc.Core.AsyncServerStreamingCall<StreamAggregatedPriceResponseV1> Subscribe(StreamAggregatedPriceRequestV1 request, Grpc.Core.CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamAggregatedPriceRequestV1 | request | The request to send to the server. |
| Grpc.Core.CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Grpc.Core.AsyncServerStreamingCall<StreamAggregatedPriceResponseV1> | The call object. |
Subscribe(StreamAggregatedPriceRequestV1, Grpc.Core.Metadata, Nullable<System.DateTime>, System.Threading.CancellationToken)
Subscribe
Declaration
public virtual Grpc.Core.AsyncServerStreamingCall<StreamAggregatedPriceResponseV1> Subscribe(StreamAggregatedPriceRequestV1 request, Grpc.Core.Metadata headers = null, System.DateTime? deadline = null, System.Threading.CancellationToken cancellationToken = null)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamAggregatedPriceRequestV1 | request | The request to send to the server. |
| Grpc.Core.Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Grpc.Core.AsyncServerStreamingCall<StreamAggregatedPriceResponseV1> | The call object. |