Class ViewService.ViewServiceClient
Client for ViewService
Inheritance
ViewService.ViewServiceClient
Inherited Members
Namespace: Couchbase.Protostellar.View.V1
Assembly: Couchbase.NetClient.dll
Syntax
public class ViewService.ViewServiceClient : ClientBase<ViewService.ViewServiceClient>
Constructors
| Edit this page View SourceViewServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected ViewServiceClient()
ViewServiceClient(CallInvoker)
Creates a new client for ViewService that uses a custom CallInvoker
.
Declaration
public ViewServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
ViewServiceClient(ChannelBase)
Creates a new client for ViewService
Declaration
public ViewServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
ViewServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected ViewServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
| Edit this page View SourceNewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override ViewService.ViewServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
ViewService.ViewServiceClient |
Overrides
| Edit this page View SourceViewQuery(ViewQueryRequest, CallOptions)
Declaration
public virtual AsyncServerStreamingCall<ViewQueryResponse> ViewQuery(ViewQueryRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ViewQueryRequest | request | |
CallOptions | options |
Returns
Type | Description |
---|---|
AsyncServerStreamingCall<ViewQueryResponse> |
ViewQuery(ViewQueryRequest, Metadata, DateTime?, CancellationToken)
Declaration
public virtual AsyncServerStreamingCall<ViewQueryResponse> ViewQuery(ViewQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ViewQueryRequest | request | |
Metadata | headers | |
DateTime? | deadline | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
AsyncServerStreamingCall<ViewQueryResponse> |