David Fletcher / Mbed 2 deprecated CC3000WebServer

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

HttpRequest Struct Reference

HttpRequest Struct Reference
[HTTP Request definitions]

A structure to hold all data about an HTTP request Note: The request's resource string is not passed as part of this structure, but rather directly to the Http*_InitRequest() function. More...

#include <HttpRequest.h>

Data Fields

uint16 uFlags
 Flags. See HTTP_REQUEST_FLAG_*.
uint16 uConnection
 Connection number in HttpCore. This value is guaranteed to satisfy: 0 <= uConnection < HTTP_CORE_MAX_CONNECTIONS.
struct HttpBlob requestContent
 Request content information (e.g. POST data). uLength value of 0 indicates no content was sent in the request.

Detailed Description

A structure to hold all data about an HTTP request Note: The request's resource string is not passed as part of this structure, but rather directly to the Http*_InitRequest() function.

Definition at line 67 of file HttpRequest.h.


Field Documentation

Request content information (e.g. POST data). uLength value of 0 indicates no content was sent in the request.

Definition at line 74 of file HttpRequest.h.

uint16 uConnection

Connection number in HttpCore. This value is guaranteed to satisfy: 0 <= uConnection < HTTP_CORE_MAX_CONNECTIONS.

Definition at line 72 of file HttpRequest.h.

uint16 uFlags

Flags. See HTTP_REQUEST_FLAG_*.

Definition at line 70 of file HttpRequest.h.