MySQL 8.0.40
Source Code Documentation
HttpRequest::impl Class Reference

#include <http_request_impl.h>

Public Types

using evhttp_req_type = std::unique_ptr< evhttp_request, std::function< void(evhttp_request *)> >
 

Public Member Functions

 impl (evhttp_req_type request)
 
void own ()
 
void disown ()
 
 ~impl ()
 

Public Attributes

int error_code {0}
 
std::error_code socket_error_code_
 
evhttp_req_type req
 

Private Attributes

bool owns_http_request {true}
 

Member Typedef Documentation

◆ evhttp_req_type

using HttpRequest::impl::evhttp_req_type = std::unique_ptr<evhttp_request, std::function<void(evhttp_request *)> >

Constructor & Destructor Documentation

◆ impl()

HttpRequest::impl::impl ( evhttp_req_type  request)
inline

◆ ~impl()

HttpRequest::impl::~impl ( )
inline

Member Function Documentation

◆ disown()

void HttpRequest::impl::disown ( )
inline

◆ own()

void HttpRequest::impl::own ( )
inline

Member Data Documentation

◆ error_code

int HttpRequest::impl::error_code {0}

◆ owns_http_request

bool HttpRequest::impl::owns_http_request {true}
private

◆ req

evhttp_req_type HttpRequest::impl::req

◆ socket_error_code_

std::error_code HttpRequest::impl::socket_error_code_

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