Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
async_web_server_cpp::BodyCollectingConnection Class Reference
Inheritance diagram for async_web_server_cpp::BodyCollectingConnection:
Inheritance graph
[legend]

Public Member Functions

 BodyCollectingConnection (HttpRequestBodyCollector::Handler handler, const HttpRequest &request, boost::shared_ptr< HttpConnection > connection)
 
void handle_read (const char *begin, const char *end)
 

Static Public Member Functions

static void static_handle_read (BodyCollectingConnectionPtr _this, const char *begin, const char *end)
 

Private Attributes

std::stringstream body_stream_
 
boost::shared_ptr< HttpConnectionconnection_
 
HttpRequestBodyCollector::Handler handler_
 
ssize_t length_
 
size_t received_length_
 
const HttpRequest request_
 

Detailed Description

Definition at line 74 of file http_request_handler.cpp.

Constructor & Destructor Documentation

◆ BodyCollectingConnection()

async_web_server_cpp::BodyCollectingConnection::BodyCollectingConnection ( HttpRequestBodyCollector::Handler  handler,
const HttpRequest request,
boost::shared_ptr< HttpConnection connection 
)
inline

Definition at line 79 of file http_request_handler.cpp.

Member Function Documentation

◆ handle_read()

void async_web_server_cpp::BodyCollectingConnection::handle_read ( const char *  begin,
const char *  end 
)
inline

Definition at line 102 of file http_request_handler.cpp.

◆ static_handle_read()

static void async_web_server_cpp::BodyCollectingConnection::static_handle_read ( BodyCollectingConnectionPtr  _this,
const char *  begin,
const char *  end 
)
inlinestatic

Definition at line 97 of file http_request_handler.cpp.

Member Data Documentation

◆ body_stream_

std::stringstream async_web_server_cpp::BodyCollectingConnection::body_stream_
private

Definition at line 130 of file http_request_handler.cpp.

◆ connection_

boost::shared_ptr<HttpConnection> async_web_server_cpp::BodyCollectingConnection::connection_
private

Definition at line 129 of file http_request_handler.cpp.

◆ handler_

HttpRequestBodyCollector::Handler async_web_server_cpp::BodyCollectingConnection::handler_
private

Definition at line 127 of file http_request_handler.cpp.

◆ length_

ssize_t async_web_server_cpp::BodyCollectingConnection::length_
private

Definition at line 131 of file http_request_handler.cpp.

◆ received_length_

size_t async_web_server_cpp::BodyCollectingConnection::received_length_
private

Definition at line 132 of file http_request_handler.cpp.

◆ request_

const HttpRequest async_web_server_cpp::BodyCollectingConnection::request_
private

Definition at line 128 of file http_request_handler.cpp.


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


async_web_server_cpp
Author(s): Mitchell Wills , Russel Toris
autogenerated on Mon Feb 28 2022 21:54:08