gRPC C#
gRPC C#
Namespaces
Grpc.Core
ServerCallContext Class
ServerCallContext Properties
CancellationToken Property
Deadline Property
Host Property
Method Property
Peer Property
RequestHeaders Property
ResponseTrailers Property
Status Property
WriteOptions Property

ServerCallContext Properties

The ServerCallContext type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| CancellationToken | Cancellation token signals when call is cancelled.
| Deadline | Deadline for this RPC.
| Host | Name of host called in this RPC.
| Method | Name of method called in this RPC.
| Peer | Address of the remote endpoint in URI format.
| RequestHeaders | Initial metadata sent by client.
| ResponseTrailers | Trailers to send back to client after RPC finishes.
| Status | Status to send back to client after RPC finishes.
| WriteOptions | Allows setting write options for the following write. For streaming response calls, this property is also exposed as on IServerStreamWriter for convenience. Both properties are backed by the same underlying value.

Top
See Also

#### Reference

ServerCallContext Class
Grpc.Core Namespace