Internet Middleware API Reference  Rev 1.0

Overview

Enumerations

enum  HTTPCLIENT_REQUEST_TYPE {
  HTTPCLIENT_GET,
  HTTPCLIENT_POST,
  HTTPCLIENT_PUT,
  HTTPCLIENT_DELETE,
  HTTPCLIENT_HEAD
}
 This enumeration defines the HTTP request type. More...
 
enum  HTTPCLIENT_RESULT {
  HTTPCLIENT_ERROR_PARSE = -6,
  HTTPCLIENT_UNRESOLVED_DNS = -5,
  HTTPCLIENT_ERROR_PRTCL = -4,
  HTTPCLIENT_ERROR = -3,
  HTTPCLIENT_CLOSED = -2,
  HTTPCLIENT_ERROR_CONN = -1,
  HTTPCLIENT_OK = 0,
  HTTPCLIENT_RETRIEVE_MORE_DATA = 1
}
 This enumeration defines the API return type. More...
 

Enumeration Type Documentation

This enumeration defines the HTTP request type.

This enumeration defines the API return type.

Enumerator
HTTPCLIENT_ERROR_PARSE 

A URL parse error occurred.

HTTPCLIENT_UNRESOLVED_DNS 

Could not resolve the hostname.

HTTPCLIENT_ERROR_PRTCL 

A protocol error occurred.

HTTPCLIENT_ERROR 

An unknown error occurred.

HTTPCLIENT_CLOSED 

Connection was closed by a remote host.

HTTPCLIENT_ERROR_CONN 

Connection failed.

HTTPCLIENT_OK 

The operation was successful.

HTTPCLIENT_RETRIEVE_MORE_DATA 

More data needs to be retrieved.