Click or drag to resize

StreamRpcClientHandler Class

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

A client request handler that uses MessageReader and MessageWriter to transmit requests and receive responses.
Inheritance Hierarchy

Namespace:  JsonRpc.Streams
Assembly:  JsonRpc.Streams (in JsonRpc.Streams.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public class StreamRpcClientHandler : JsonRpcClientHandler

The StreamRpcClientHandler type exposes the following members.

Constructors
  NameDescription
Public methodStreamRpcClientHandler
Initializes a new instance of the StreamRpcClientHandler class
Public methodStreamRpcClientHandler(StreamRpcClientOptions)
Initializes a new instance of the StreamRpcClientHandler class
Top
Properties
  NameDescription
Public propertyImpendingRequestCount
Gets how many non-notification request messages has been sent and is yet to receive the responses.
Public propertyOptions
Client options.
Top
Methods
  NameDescription
Public methodAttach
Attaches MessageReader and/or MessageWriter to the handler.
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.)
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.)
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