class

JsonRpc::TcpClient

Inherits JsonRpc::StreamClient / JsonRpc::Stream / JsonRpc::Client / Reference / Object

Implements JSON-RPC over TCP.

Constructors

new(socket : TCPSocket, run = true)

Creates a TCP client from socket. If run is true, the client will start accepting messages right away. If you choose to pass false, then make sure to call #run some time afterwards manually, even if you're only calling remote methods.

Source

Instance methods

inspect(io)
Source
socket
Source