Grpc.Core.ServerCallContext
Context for a server-side call.
Gets the AuthContext associated with this call.
Note: Access to AuthContext is an experimental API that can change without any prior notice.
Provides implementation of a non-virtual public member.
Cancellation token signals when call is cancelled. It is also triggered when the deadline is exceeeded or there was some other error (e.g. network problem).
Provides implementation of a non-virtual public member.
Deadline for this RPC. The call will be automatically cancelled once the deadline is exceeded.
Provides implementation of a non-virtual public member.
Name of host called in this RPC.
Provides implementation of a non-virtual public member.
Name of method called in this RPC.
Provides implementation of a non-virtual public member.
Address of the remote endpoint in URI format.
Provides implementation of a non-virtual public member.
Initial metadata sent by client.
Provides implementation of a non-virtual public member.
Trailers to send back to client after RPC finishes.
Provides implementation of a non-virtual public member.
Status to send back to client after RPC finishes.
Provides implementation of a non-virtual public member.
Gets a dictionary that can be used by the various interceptors and handlers of this
call to store arbitrary state.
Provides implementation of a non-virtual public member.
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.
Provides implementation of a non-virtual public member.
protected ServerCallContext()
Creates a new instance of ServerCallContext.
Creates a propagation token to be used to propagate call context to a child call.
protected abstract ContextPropagationToken CreatePropagationTokenCore(ContextPropagationOptions options)
Provides implementation of a non-virtual public member.
Asynchronously sends response headers for the current call to the client. This method may only be invoked once for each call and needs to be invoked
before any response messages are written. Writing the first response message implicitly sends empty response headers if WriteResponseHeadersAsync haven't
been called yet.
Provides implementation of a non-virtual public member.