Class SearchService.SearchServiceClient
Client for SearchService
Inheritance
SearchService.SearchServiceClient
Inherited Members
Namespace: Couchbase.Protostellar.Search.V1
Assembly: Couchbase.NetClient.dll
Syntax
public class SearchService.SearchServiceClient : ClientBase<SearchService.SearchServiceClient>
Constructors
| Edit this page View SourceSearchServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected SearchServiceClient()
SearchServiceClient(CallInvoker)
Creates a new client for SearchService that uses a custom CallInvoker
.
Declaration
public SearchServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
SearchServiceClient(ChannelBase)
Creates a new client for SearchService
Declaration
public SearchServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
SearchServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected SearchServiceClient(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 SearchService.SearchServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
SearchService.SearchServiceClient |
Overrides
| Edit this page View SourceSearchQuery(SearchQueryRequest, CallOptions)
Declaration
public virtual AsyncServerStreamingCall<SearchQueryResponse> SearchQuery(SearchQueryRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
SearchQueryRequest | request | |
CallOptions | options |
Returns
Type | Description |
---|---|
AsyncServerStreamingCall<SearchQueryResponse> |
SearchQuery(SearchQueryRequest, Metadata, DateTime?, CancellationToken)
Declaration
public virtual AsyncServerStreamingCall<SearchQueryResponse> SearchQuery(SearchQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
SearchQueryRequest | request | |
Metadata | headers | |
DateTime? | deadline | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
AsyncServerStreamingCall<SearchQueryResponse> |