MCPcopy Create free account
hub / github.com/FISCO-BCOS/FISCO-BCOS / asyncRead

Method asyncRead

bcos-boostssl/bcos-boostssl/httpserver/HttpStream.cpp:67–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void bcos::boostssl::http::HttpStreamImpl::asyncRead(boost::beast::flat_buffer& _buffer,
68 boost::beast::http::request_parser<boost::beast::http::string_body>& _parser,
69 HttpStreamRWHandler _handler)
70{
71 if (!m_closed.test())
72 {
73 boost::beast::http::async_read(*m_stream, _buffer, _parser, std::move(_handler));
74 }
75}
76void bcos::boostssl::http::HttpStreamImpl::asyncWrite(
77 const HttpResponse& _httpResp, HttpStreamRWHandler _handler)
78{

Callers 1

readMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected