Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a WebSocket client implementation
func (*Client) SendBatch ¶
func (c *Client) SendBatch(ctx context.Context, requests types.RPCRequests) (types.RPCResponses, error)
SendBatch sends a batch of RPC requests to the server
func (*Client) SendRequest ¶
func (c *Client) SendRequest(ctx context.Context, request types.RPCRequest) (*types.RPCResponse, error)
SendRequest sends a single RPC request to the server
Click to show internal directories.
Click to hide internal directories.