JSON-RPC 2.0
JSON-RPC 2.0 Modern C++ Library
Loading...
Searching...
No Matches
framed_stdio_transport.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
7
8namespace jsonrpc::transport {
9
18 public:
19 void SendMessage(const std::string &message) override;
20 auto ReceiveMessage() -> std::string override;
21};
22
23} // namespace jsonrpc::transport
Transport layer using framed messaging over standard I/O for JSON-RPC communication.
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.
Base class for framed transport mechanisms.
Base class for JSON-RPC transport.
Definition transport.hpp:12