5#include <spdlog/spdlog.h>
10 spdlog::debug(
"FramedStdioTransport sending message: {}", message);
12 std::cout << std::flush;
16 std::string response = ReceiveFramedMessage(std::cin);
17 spdlog::debug(
"FramedStdioTransport received message: {}", response);
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.
static void FrameMessage(std::ostream &output, const std::string &message)
Constructs a framed message.