Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
fc::http_client_impl::read_response_visitor Struct Reference
Inheritance diagram for fc::http_client_impl::read_response_visitor:
Collaboration diagram for fc::http_client_impl::read_response_visitor:

Public Member Functions

 read_response_visitor (http_client_impl *that, boost::beast::flat_buffer &buffer, http::response< http::string_body > &res, const deadline_type &deadline)
 
template<typename S >
error_code operator() (S &stream) const
 

Public Attributes

http_client_implthat
 
boost::beast::flat_buffer & buffer
 
http::response< http::string_body > & res
 
const deadline_typedeadline
 

Detailed Description

Definition at line 284 of file http_client.cpp.

Constructor & Destructor Documentation

◆ read_response_visitor()

fc::http_client_impl::read_response_visitor::read_response_visitor ( http_client_impl * that,
boost::beast::flat_buffer & buffer,
http::response< http::string_body > & res,
const deadline_type & deadline )
inline

Definition at line 285 of file http_client.cpp.

286 :that(that)
287 ,buffer(buffer)
288 ,res(res)
289 ,deadline(deadline)
290 {}
http::response< http::string_body > & res

Member Function Documentation

◆ operator()()

template<typename S >
error_code fc::http_client_impl::read_response_visitor::operator() ( S & stream) const
inline

Definition at line 293 of file http_client.cpp.

293 {
294 return that->sync_read_with_timeout(*stream, buffer, res, deadline);
295 }

Member Data Documentation

◆ buffer

boost::beast::flat_buffer& fc::http_client_impl::read_response_visitor::buffer

Definition at line 298 of file http_client.cpp.

◆ deadline

const deadline_type& fc::http_client_impl::read_response_visitor::deadline

Definition at line 300 of file http_client.cpp.

◆ res

http::response<http::string_body>& fc::http_client_impl::read_response_visitor::res

Definition at line 299 of file http_client.cpp.

◆ that

http_client_impl* fc::http_client_impl::read_response_visitor::that

Definition at line 297 of file http_client.cpp.


The documentation for this struct was generated from the following file: