Click or drag to resize

HttpRpcClientHandler Class

[This is preliminary documentation and is subject to change.]

Transmits JSON RPC calls in HTTP requests.
Inheritance Hierarchy

Namespace:  JsonRpc.Http
Assembly:  JsonRpc.Http (in JsonRpc.Http.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public class HttpRpcClientHandler : JsonRpcClientHandler, 
	IDisposable

The HttpRpcClientHandler type exposes the following members.

Constructors
  NameDescription
Public methodHttpRpcClientHandler
Initializes a new instance of the HttpRpcClientHandler class
Public methodHttpRpcClientHandler(HttpClient)
Initializes a new instance of the HttpRpcClientHandler class
Public methodHttpRpcClientHandler(HttpMessageHandler)
Initializes a new instance of the HttpRpcClientHandler class
Top
Properties
  NameDescription
Public propertyContentType
Content-Type header value of the emitted messages.
Public propertyEncoding
Encoding of the emitted messages.
Public propertyEndpointUrl
Endpoint URL of the JSON RPC web API.
Public propertyHttpMethod
HTTP method used when sending the client request.
Public propertyUserAgent
Client User-Agent. The UA of JsonRpc.Http will be append to this value when sending the requests.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetHttpRequestMessage
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnMessageReceiving
Raises MessageReceiving event.
(Inherited from JsonRpcClientHandler.)
Protected methodOnMessageSending
Raises MessageSending event.
(Inherited from JsonRpcClientHandler.)
Protected methodParseHttpResponseMessageAsync
Public methodSendAsync
Asynchronously sends a JSON RPC Request message, and wait for the Response (if the Request is not a Notification).
(Overrides JsonRpcClientHandlerSendAsync(RequestMessage, CancellationToken).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventMessageReceiving
Raises when a JSON RPC message will be received.
(Inherited from JsonRpcClientHandler.)
Public eventMessageSending
Raises when a JSON RPC message will be sent.
(Inherited from JsonRpcClientHandler.)
Top
See Also