RequestContext Class |
[This is preliminary documentation and is subject to change.]
Namespace: JsonRpc.Server
The RequestContext type exposes the following members.
| Name | Description | |
|---|---|---|
| RequestContext | Initializes a new instance of the RequestContext class |
| Name | Description | |
|---|---|---|
| CancellationToken |
The CancellationToken used to cancel this request. This token may be
checked in the RPC method.
| |
| Features |
The features provided with the request.
| |
| Request |
Gets the request message.
| |
| Response |
The response message to be sent. If this property is not null,
it will take precedence to the return value of the invoked CLR method.
| |
| ServiceFactory |
The factory that creates the JSON RPC service instances to handle the requests.
| |
| ServiceHost |
Gets the service host that initiates this request.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| GetHttpContext |
Gets the HttpContext containing the JSON RPC request.
(Defined by JsonRpcAspNetExtensions.) |