Skip to content

Commit ce478fc

Browse files
committed
Rename size_json_buffer to assign_json_buffer, comments.
1 parent ee545a7 commit ce478fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/bitcoin/network/channels/channel_http.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@ class BCT_API channel_http
8686
/// Dispatch request to subscribers by verb type.
8787
virtual void dispatch(const http::request_cptr& request) NOEXCEPT;
8888

89-
virtual void size_json_buffer(http::response& response) NOEXCEPT;
89+
/// Size and assign response_buffer_ if value type is json or json-rpc.
90+
virtual void assign_json_buffer(http::response& response) NOEXCEPT;
9091

92+
// Handlers.
9193
virtual void handle_receive(const code& ec, size_t bytes,
9294
const http::request_cptr& request) NOEXCEPT;
9395
virtual void handle_send(const code& ec, size_t bytes, http::response_ptr&,

0 commit comments

Comments
 (0)