You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
6.0 KiB
102 lines
6.0 KiB
\hypertarget{request__parser_8h}{
|
|
\section{include/http/request\_\-parser.h File Reference}
|
|
\label{request__parser_8h}\index{include/http/request\_\-parser.h@{include/http/request\_\-parser.h}}
|
|
}
|
|
{\ttfamily \#include \char`\"{}class.h\char`\"{}}\par
|
|
{\ttfamily \#include \char`\"{}http/request\_\-queue.h\char`\"{}}\par
|
|
Include dependency graph for request\_\-parser.h:
|
|
\subsection*{Data Structures}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
struct \hyperlink{structHttpRequestParser}{HttpRequestParser}
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Defines}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\#define \hyperlink{request__parser_8h_ad645c7940041e8d57b5557a197e133fb}{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}~1024
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Typedefs}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
typedef enum \hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}{e\_\-HttpRequestState} \hyperlink{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827}{HttpRequestState}
|
|
\end{DoxyCompactItemize}
|
|
\subsection*{Enumerations}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
enum \hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}{e\_\-HttpRequestState} \{ \par
|
|
\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21ab3db7445ba173b1f1e96920cc9a68ce5}{HTTP\_\-REQUEST\_\-GARBAGE} = 0,
|
|
\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a}{HTTP\_\-REQUEST\_\-START},
|
|
\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a7d6368bbdc9707276bace26d735c2395}{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE},
|
|
\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a1a45d176d7e76f28cf1529c72a245cb7}{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE},
|
|
\par
|
|
\hyperlink{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b}{HTTP\_\-REQUEST\_\-DONE}
|
|
\}
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Define Documentation}
|
|
\hypertarget{request__parser_8h_ad645c7940041e8d57b5557a197e133fb}{
|
|
\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK@{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}}
|
|
\index{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK@{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}!request_parser.h@{request\_\-parser.h}}
|
|
\subsubsection[{HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK}]{\setlength{\rightskip}{0pt plus 5cm}\#define HTTP\_\-REQUEST\_\-PARSER\_\-READ\_\-CHUNK~1024}}
|
|
\label{request__parser_8h_ad645c7940041e8d57b5557a197e133fb}
|
|
|
|
|
|
Definition at line 7 of file request\_\-parser.h.
|
|
|
|
|
|
|
|
\subsection{Typedef Documentation}
|
|
\hypertarget{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827}{
|
|
\index{request\_\-parser.h@{request\_\-parser.h}!HttpRequestState@{HttpRequestState}}
|
|
\index{HttpRequestState@{HttpRequestState}!request_parser.h@{request\_\-parser.h}}
|
|
\subsubsection[{HttpRequestState}]{\setlength{\rightskip}{0pt plus 5cm}typedef enum {\bf e\_\-HttpRequestState} {\bf HttpRequestState}}}
|
|
\label{request__parser_8h_acaccfe3e34d50afe26e415749f7f4827}
|
|
|
|
|
|
\subsection{Enumeration Type Documentation}
|
|
\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}{
|
|
\index{request\_\-parser.h@{request\_\-parser.h}!e\_\-HttpRequestState@{e\_\-HttpRequestState}}
|
|
\index{e\_\-HttpRequestState@{e\_\-HttpRequestState}!request_parser.h@{request\_\-parser.h}}
|
|
\subsubsection[{e\_\-HttpRequestState}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf e\_\-HttpRequestState}}}
|
|
\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21}
|
|
\begin{Desc}
|
|
\item[Enumerator: ]\par
|
|
\begin{description}
|
|
\index{HTTP\_\-REQUEST\_\-GARBAGE@{HTTP\_\-REQUEST\_\-GARBAGE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-GARBAGE@{HTTP\_\-REQUEST\_\-GARBAGE}}\item[{\em
|
|
\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21ab3db7445ba173b1f1e96920cc9a68ce5}{
|
|
HTTP\_\-REQUEST\_\-GARBAGE}
|
|
\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21ab3db7445ba173b1f1e96920cc9a68ce5}
|
|
}]\index{HTTP\_\-REQUEST\_\-START@{HTTP\_\-REQUEST\_\-START}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-START@{HTTP\_\-REQUEST\_\-START}}\item[{\em
|
|
\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a}{
|
|
HTTP\_\-REQUEST\_\-START}
|
|
\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21adb7cd42594721f63ab68224a0b1c250a}
|
|
}]\index{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE@{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE@{HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE}}\item[{\em
|
|
\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a7d6368bbdc9707276bace26d735c2395}{
|
|
HTTP\_\-REQUEST\_\-REQUEST\_\-LINE\_\-DONE}
|
|
\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a7d6368bbdc9707276bace26d735c2395}
|
|
}]\index{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE@{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-HEADERS\_\-DONE@{HTTP\_\-REQUEST\_\-HEADERS\_\-DONE}}\item[{\em
|
|
\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a1a45d176d7e76f28cf1529c72a245cb7}{
|
|
HTTP\_\-REQUEST\_\-HEADERS\_\-DONE}
|
|
\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21a1a45d176d7e76f28cf1529c72a245cb7}
|
|
}]\index{HTTP\_\-REQUEST\_\-DONE@{HTTP\_\-REQUEST\_\-DONE}!request\_\-parser.h@{request\_\-parser.h}}\index{request\_\-parser.h@{request\_\-parser.h}!HTTP\_\-REQUEST\_\-DONE@{HTTP\_\-REQUEST\_\-DONE}}\item[{\em
|
|
\hypertarget{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b}{
|
|
HTTP\_\-REQUEST\_\-DONE}
|
|
\label{request__parser_8h_a9e1bc4e9118896fae9e2d86e25582c21abb5b68f30f3d5e90723983a86ef54a8b}
|
|
}]\end{description}
|
|
\end{Desc}
|
|
|
|
|
|
|
|
Definition at line 9 of file request\_\-parser.h.
|
|
|
|
|
|
\begin{DoxyCode}
|
|
{
|
|
HTTP_REQUEST_GARBAGE=0,
|
|
HTTP_REQUEST_START,
|
|
HTTP_REQUEST_REQUEST_LINE_DONE,
|
|
HTTP_REQUEST_HEADERS_DONE,
|
|
HTTP_REQUEST_DONE
|
|
} HttpRequestState;
|
|
\end{DoxyCode}
|