| CallOptions Structure |
Namespace: Grpc.Core
The CallOptions type exposes the following members.
| Name | Description | |
|---|---|---|
| CallOptions |
Creates a new instance of CallOptions struct.
|
| Name | Description | |
|---|---|---|
| CancellationToken |
Token that can be used for cancelling the call on the client side.
Cancelling the token will request cancellation
of the remote call. Best effort will be made to deliver the cancellation
notification to the server and interaction of the call with the server side
will be terminated. Unless the call finishes before the cancellation could
happen (there is an inherent race),
the call will finish with StatusCode.Cancelled status.
| |
| Credentials |
Credentials to use for this call.
| |
| Deadline |
Call deadline.
| |
| Headers |
Headers to send at the beginning of the call.
| |
| PropagationToken |
Token for propagating parent call context.
| |
| WriteOptions |
Write options that will be used for this call.
|
| Name | Description | |
|---|---|---|
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
| WithCancellationToken |
Returns new instance of CallOptions with
CancellationToken set to the value provided. Values of all other fields are preserved.
| |
| WithCredentials |
Returns new instance of CallOptions with
Credentials set to the value provided. Values of all other fields are preserved.
| |
| WithDeadline |
Returns new instance of CallOptions with
Deadline set to the value provided. Values of all other fields are preserved.
| |
| WithHeaders |
Returns new instance of CallOptions with
Headers set to the value provided. Values of all other fields are preserved.
| |
| WithPropagationToken |
Returns new instance of CallOptions with
PropagationToken set to the value provided. Values of all other fields are preserved.
| |
| WithWriteOptions |
Returns new instance of CallOptions with
WriteOptions set to the value provided. Values of all other fields are preserved.
|