_REQUEST Struct Reference
[HTTPHTTP]


Detailed Description

HTTP request information structure.
Examples:

httpd/httpserv.c.

Definition at line 86 of file httpd.h.


Data Fields

int req_method
 Request method.
int req_version
 11 = HTTP/1.1, 10 = HTTP/1.0, 9 = HTTP/0.9
int req_length
 Content length.
char * req_url
 URI portion of the GET or POST request line.
char * req_query
 Argument string.
char * req_type
 Content type.
char * req_cookie
 Cookie.
char * req_auth
 Authorization info.
char * req_agent
 User agent.
char ** req_qptrs
 Table of request parameters.
int req_numqptrs
 Number of request parameters.

Field Documentation

int _REQUEST::req_method

Request method.

Examples:
httpd/httpserv.c.

Definition at line 87 of file httpd.h.

Referenced by NutCgiProcessRequest(), NutHttpProcessPostQuery(), and NutHttpProcessRequest().

int _REQUEST::req_version

11 = HTTP/1.1, 10 = HTTP/1.0, 9 = HTTP/0.9

Examples:
httpd/httpserv.c.

Definition at line 88 of file httpd.h.

Referenced by NutHttpProcessRequest(), and NutHttpSendHeaderTop().

int _REQUEST::req_length

Content length.

Examples:
httpd/httpserv.c.

Definition at line 89 of file httpd.h.

Referenced by NutHttpProcessPostQuery(), and NutHttpProcessRequest().

char* _REQUEST::req_url

URI portion of the GET or POST request line.

Examples:
httpd/httpserv.c.

Definition at line 90 of file httpd.h.

Referenced by NutCgiProcessRequest(), NutHttpAuthValidate(), NutHttpProcessRequest(), and NutHttpSendError().

char* _REQUEST::req_query

Argument string.

Examples:
httpd/httpserv.c.

Definition at line 91 of file httpd.h.

Referenced by NutHttpProcessPostQuery(), NutHttpProcessQueryString(), NutHttpProcessRequest(), and ShowForm().

char* _REQUEST::req_type

Content type.

Examples:
httpd/httpserv.c.

Definition at line 92 of file httpd.h.

Referenced by NutHttpProcessRequest().

char* _REQUEST::req_cookie

Cookie.

Examples:
httpd/httpserv.c.

Definition at line 93 of file httpd.h.

Referenced by NutHttpProcessRequest().

char* _REQUEST::req_auth

Authorization info.

Examples:
httpd/httpserv.c.

Definition at line 94 of file httpd.h.

Referenced by NutHttpAuthValidate(), and NutHttpProcessRequest().

char* _REQUEST::req_agent

User agent.

Examples:
httpd/httpserv.c.

Definition at line 95 of file httpd.h.

Referenced by NutHttpProcessRequest().

char** _REQUEST::req_qptrs

Table of request parameters.

Definition at line 96 of file httpd.h.

Referenced by NutHttpGetParameter(), NutHttpGetParameterName(), NutHttpGetParameterValue(), NutHttpProcessPostQuery(), and NutHttpProcessQueryString().

int _REQUEST::req_numqptrs

Number of request parameters.

Definition at line 97 of file httpd.h.

Referenced by NutHttpGetParameter(), NutHttpGetParameterCount(), NutHttpProcessPostQuery(), and NutHttpProcessQueryString().


The documentation for this struct was generated from the following file:
© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/