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

Public Member Functions

 write_request_visitor (http_client_impl *that, http::request< http::string_body > &req, const deadline_type &deadline)
 
template<typename S >
error_code operator() (S &stream) const
 

Public Attributes

http_client_implthat
 
http::request< http::string_body > & req
 
const deadline_typedeadline
 

Detailed Description

Definition at line 267 of file http_client.cpp.

Constructor & Destructor Documentation

◆ write_request_visitor()

fc::http_client_impl::write_request_visitor::write_request_visitor ( http_client_impl * that,
http::request< http::string_body > & req,
const deadline_type & deadline )
inline

Definition at line 268 of file http_client.cpp.

269 :that(that)
270 ,req(req)
271 ,deadline(deadline)
272 {}
http::request< http::string_body > & req

Member Function Documentation

◆ operator()()

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

Definition at line 275 of file http_client.cpp.

275 {
276 return that->sync_write_with_timeout(*stream, req, deadline);
277 }

Member Data Documentation

◆ deadline

const deadline_type& fc::http_client_impl::write_request_visitor::deadline

Definition at line 281 of file http_client.cpp.

◆ req

http::request<http::string_body>& fc::http_client_impl::write_request_visitor::req

Definition at line 280 of file http_client.cpp.

◆ that

http_client_impl* fc::http_client_impl::write_request_visitor::that

Definition at line 279 of file http_client.cpp.


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