Class ClStripService.ClStripServiceClient
Client for ClStripService
public class ClStripService.ClStripServiceClient : ClientBase<ClStripService.ClStripServiceClient>
- Inheritance
-
ClStripService.ClStripServiceClient
- Inherited Members
- Extension Methods
Constructors
ClStripServiceClient()
Protected parameterless constructor to allow creation of test doubles.
protected ClStripServiceClient()
ClStripServiceClient(CallInvoker)
Creates a new client for ClStripService that uses a custom CallInvoker
.
public ClStripServiceClient(CallInvoker callInvoker)
Parameters
callInvoker
CallInvokerThe callInvoker to use to make remote calls.
ClStripServiceClient(ChannelBase)
Creates a new client for ClStripService
public ClStripServiceClient(ChannelBase channel)
Parameters
channel
ChannelBaseThe channel to use to make remote calls.
ClStripServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
protected ClStripServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration
ClientBase.ClientBaseConfigurationThe client configuration.
Methods
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
protected override ClStripService.ClStripServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
configuration
ClientBase.ClientBaseConfiguration
Returns
StepRan(Empty, CallOptions)
data returned if step ran.
public virtual AsyncServerStreamingCall<DictionaryStep> StepRan(Empty request, CallOptions options)
Parameters
request
EmptyThe request to send to the server.
options
CallOptionsThe options for the call.
Returns
- AsyncServerStreamingCall<DictionaryStep>
The call object.
StepRan(Empty, Metadata, DateTime?, CancellationToken)
data returned if step ran.
public virtual AsyncServerStreamingCall<DictionaryStep> StepRan(Empty request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request
EmptyThe request to send to the server.
headers
MetadataThe initial metadata to send with the call. This parameter is optional.
deadline
DateTime?An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken
CancellationTokenAn optional token for canceling the call.
Returns
- AsyncServerStreamingCall<DictionaryStep>
The call object.
StepSelected(Empty, CallOptions)
data returned if step selected.
public virtual AsyncServerStreamingCall<DictionaryStep> StepSelected(Empty request, CallOptions options)
Parameters
request
EmptyThe request to send to the server.
options
CallOptionsThe options for the call.
Returns
- AsyncServerStreamingCall<DictionaryStep>
The call object.
StepSelected(Empty, Metadata, DateTime?, CancellationToken)
data returned if step selected.
public virtual AsyncServerStreamingCall<DictionaryStep> StepSelected(Empty request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
request
EmptyThe request to send to the server.
headers
MetadataThe initial metadata to send with the call. This parameter is optional.
deadline
DateTime?An optional deadline for the call. The call will be cancelled if deadline is hit.
cancellationToken
CancellationTokenAn optional token for canceling the call.
Returns
- AsyncServerStreamingCall<DictionaryStep>
The call object.