4#include <asio/local/stream_protocol.hpp>
22 void SendMessage(
const std::string &message)
override;
Transport layer using Asio sockets for JSON-RPC communication with framing.
auto ReceiveMessage() -> std::string override
Receives a message from the transport layer.
void SendMessage(const std::string &message) override
Sends a message in string to the transport layer.
FramedSocketTransport(const std::string &host, uint16_t port, bool is_server)
Base class for framed transport mechanisms.
Transport implementation using TCP/IP sockets.