u-blox modem HTTP client test

Dependencies:   UbloxUSBModem mbed

Embed: (wiki syntax)

« Back to documentation index

HTTPClient.h File Reference

HTTPClient.h File Reference

HTTP Client header file. More...

Go to the source code of this file.

Data Structures

class  HTTPClient
 A simple HTTP Client The HTTPClient is composed of:

  • The actual client (HTTPClient)
  • Classes that act as a data repository, each of which deriving from the HTTPData class (HTTPText for short text content, HTTPFile for file I/O, HTTPMap for key/value pairs, and HTTPStream for streaming purposes)
More...

Enumerations

enum  HTTPResult {
  HTTP_PROCESSING, HTTP_PARSE, HTTP_DNS, HTTP_PRTCL,
  HTTP_NOTFOUND, HTTP_REFUSED, HTTP_ERROR, HTTP_TIMEOUT,
  HTTP_CONN, HTTP_CLOSED, HTTP_OK = 0
}
 

HTTP client results.

More...

Detailed Description

HTTP Client header file.

Definition in file HTTPClient.h.


Enumeration Type Documentation

enum HTTPResult

HTTP client results.

Enumerator:
HTTP_PROCESSING 

Processing.

HTTP_PARSE 

url Parse error

HTTP_DNS 

Could not resolve name.

HTTP_PRTCL 

Protocol error.

HTTP_NOTFOUND 

HTTP 404 Error.

HTTP_REFUSED 

HTTP 403 Error.

HTTP_ERROR 

HTTP xxx error.

HTTP_TIMEOUT 

Connection timeout.

HTTP_CONN 

Connection error.

HTTP_CLOSED 

Connection was closed by remote host.

HTTP_OK 

Success.

Definition at line 37 of file HTTPClient.h.