HttpRpcClientHandler Class |
[This is preliminary documentation and is subject to change.]
Namespace: JsonRpc.Http
The HttpRpcClientHandler type exposes the following members.
| Name | Description | |
|---|---|---|
| HttpRpcClientHandler | Initializes a new instance of the HttpRpcClientHandler class | |
| HttpRpcClientHandler(HttpClient) | Initializes a new instance of the HttpRpcClientHandler class | |
| HttpRpcClientHandler(HttpMessageHandler) | Initializes a new instance of the HttpRpcClientHandler class |
| Name | Description | |
|---|---|---|
| ContentType |
Content-Type header value of the emitted messages.
| |
| Encoding |
Encoding of the emitted messages.
| |
| EndpointUrl |
Endpoint URL of the JSON RPC web API.
| |
| HttpMethod |
HTTP method used when sending the client request.
| |
| UserAgent |
Client User-Agent. The UA of JsonRpc.Http will be append to this value when sending the requests.
|
| Name | Description | |
|---|---|---|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
| 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.) | |
| GetHttpRequestMessage |
Converts RequestMessage to HttpRequestMessage.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnMessageReceiving |
Raises MessageReceiving event.
(Inherited from JsonRpcClientHandler.) | |
| OnMessageSending |
Raises MessageSending event.
(Inherited from JsonRpcClientHandler.) | |
| ParseHttpResponseMessageAsync |
Converts HttpResponseMessage to ResponseMessage.
| |
| SendAsync |
Asynchronously sends a JSON RPC Request message, and wait for the Response (if the Request is not a Notification).
(Overrides JsonRpcClientHandlerSendAsync(RequestMessage, CancellationToken).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| MessageReceiving |
Raises when a JSON RPC message will be received.
(Inherited from JsonRpcClientHandler.) | |
| MessageSending |
Raises when a JSON RPC message will be sent.
(Inherited from JsonRpcClientHandler.) |