Click or drag to resize
ServerCallContext Properties

The ServerCallContext type exposes the following members.

Properties
  NameDescription
Public propertyCancellationToken
Cancellation token signals when call is cancelled.
Public propertyDeadline
Deadline for this RPC.
Public propertyHost
Name of host called in this RPC.
Public propertyMethod
Name of method called in this RPC.
Public propertyPeer
Address of the remote endpoint in URI format.
Public propertyRequestHeaders
Initial metadata sent by client.
Public propertyResponseTrailers
Trailers to send back to client after RPC finishes.
Public propertyStatus
Status to send back to client after RPC finishes.
Public propertyWriteOptions
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