ServerCallContext Properties |
The ServerCallContext type exposes the following members.
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.
|