Public Member Functions | Public Attributes | List of all members
restinio::impl::connection_input_t Struct Reference

Data associated with connection read routine. More...

#include <connection.hpp>

Public Member Functions

 connection_input_t (std::size_t buffer_size)
void reset_parser ()
 Prepare parser for reading new http-message. More...

Public Attributes

fixed_buffer_t m_buf
 Input buffer. More...
connection_upgrade_stage_t m_connection_upgrade_stage
 Connection upgrade request stage. More...
bool m_read_operation_is_running { false }
 Flag to track whether read operation is performed now. More...
http_parser m_parser
 HTTP-parser. More...
http_parser_ctx_t m_parser_ctx

Detailed Description

Data associated with connection read routine.

Definition at line 151 of file connection.hpp.

Constructor & Destructor Documentation

◆ connection_input_t()

restinio::impl::connection_input_t::connection_input_t ( std::size_t  buffer_size)

Definition at line 153 of file connection.hpp.

Member Function Documentation

◆ reset_parser()

void restinio::impl::connection_input_t::reset_parser ( )

Prepare parser for reading new http-message.

Definition at line 175 of file connection.hpp.

Member Data Documentation

◆ m_buf

fixed_buffer_t restinio::impl::connection_input_t::m_buf

Input buffer.

Definition at line 164 of file connection.hpp.

◆ m_connection_upgrade_stage

connection_upgrade_stage_t restinio::impl::connection_input_t::m_connection_upgrade_stage
Initial value:

Connection upgrade request stage.

Definition at line 167 of file connection.hpp.

◆ m_parser

http_parser restinio::impl::connection_input_t::m_parser


Definition at line 159 of file connection.hpp.

◆ m_parser_ctx

http_parser_ctx_t restinio::impl::connection_input_t::m_parser_ctx

Definition at line 160 of file connection.hpp.

◆ m_read_operation_is_running

bool restinio::impl::connection_input_t::m_read_operation_is_running { false }

Flag to track whether read operation is performed now.

Definition at line 171 of file connection.hpp.

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