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

Public Member Functions

bool operator() (const raw_socket_ptr &ptr) const
 
bool operator() (const ssl_socket_ptr &ptr) const
 
bool operator() (const unix_socket_ptr &ptr) const
 

Detailed Description

Definition at line 234 of file http_client.cpp.

Member Function Documentation

◆ operator()() [1/3]

bool fc::http_client_impl::check_closed_visitor::operator() ( const raw_socket_ptr & ptr) const
inline

Definition at line 235 of file http_client.cpp.

235 {
236 return !ptr->is_open();
237 }

◆ operator()() [2/3]

bool fc::http_client_impl::check_closed_visitor::operator() ( const ssl_socket_ptr & ptr) const
inline

Definition at line 239 of file http_client.cpp.

239 {
240 return !ptr->lowest_layer().is_open();
241 }

◆ operator()() [3/3]

bool fc::http_client_impl::check_closed_visitor::operator() ( const unix_socket_ptr & ptr) const
inline

Definition at line 243 of file http_client.cpp.

243 {
244 return !ptr->is_open();
245 }

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