Realistic 3D camera system
3D camera system components
|
Parser for incoming requests. More...
#include <request_parser.hpp>
Public Types | |
enum | result_type { good, bad, indeterminate } |
Result of parse. More... | |
Public Member Functions | |
request_parser () | |
Construct ready to parse the request method. More... | |
void | reset () |
Reset to initial parser state. More... | |
template<typename InputIterator > | |
boost::tuple< boost::tribool, InputIterator > | parse (request &req, InputIterator begin, InputIterator end) |
request_parser () | |
Construct ready to parse the request method. More... | |
void | reset () |
Reset to initial parser state. More... | |
template<typename InputIterator > | |
std::tuple< result_type, InputIterator > | parse (request &req, InputIterator begin, InputIterator end) |
Parser for incoming requests.
Definition at line 23 of file request_parser.hpp.
http::server::request_parser::request_parser | ( | ) |
Construct ready to parse the request method.
Definition at line 17 of file request_parser.cpp.
http::server::request_parser::request_parser | ( | ) |
Construct ready to parse the request method.
|
inline |
Parse some data. The tribool return value is true when a complete request has been parsed, false if the data is invalid, indeterminate when more data is required. The InputIterator return value indicates how much of the input has been consumed.
Definition at line 37 of file request_parser.hpp.
|
inline |
Parse some data. The enum return value is good when a complete request has been parsed, bad if the data is invalid, indeterminate when more data is required. The InputIterator return value indicates how much of the input has been consumed.
Definition at line 39 of file request_parser.hpp.
void http::server::request_parser::reset | ( | ) |
Reset to initial parser state.
void http::server::request_parser::reset | ( | ) |
Reset to initial parser state.
Definition at line 22 of file request_parser.cpp.