mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
add experimental connection get message buffer method
This commit is contained in:
@@ -957,6 +957,21 @@ public:
|
||||
transport_con_type::set_handle(hdl);
|
||||
}
|
||||
|
||||
/// Get a message buffer
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* Warning: This is not guaranteed to be part of the public release API
|
||||
*
|
||||
* Message buffers are used to store message payloads and other message
|
||||
* metadata.
|
||||
*
|
||||
* @return A new message.
|
||||
*/
|
||||
message_ptr get_message() const {
|
||||
return m_msg_manager->get_message();
|
||||
}
|
||||
|
||||
void start();
|
||||
|
||||
void read_handshake(size_t num_bytes);
|
||||
|
||||
Reference in New Issue
Block a user