Base class for JSON-RPC transport.
virtual auto ReceiveMessage() -> std::string=0
Receives a message from the transport layer.
virtual ~Transport()=default
auto operator=(const Transport &) -> Transport &=default
Transport(const Transport &)=default
Transport(Transport &&)=delete
auto operator=(Transport &&) -> Transport &=delete
virtual void SendMessage(const std::string &message)=0
Sends a message in string to the transport layer.