Internet Middleware API Reference  Rev 1.0
Enum

Overview

Enumerations

enum  HTTPD_RESULT {
  HTTPD_RESULT_SUCCESS,
  HTTPD_RESULT_WAITING,
  HTTPD_RESULT_UNINIT,
  HTTPD_RESULT_QUEUE_FULL
}
 HTTPD result, defines the API return type. More...
 
enum  HTTPD_STATUS {
  HTTPD_STATUS_UNINIT,
  HTTPD_STATUS_RUN,
  HTTPD_STATUS_STOPPING,
  HTTPD_STATUS_STOP
}
 HTTPD status, indicates the status of the HTTP server. More...
 
enum  HTTPD_STOP_REASON {
  HTTPD_STOP_REASON_NO_MEMORY = -1,
  HTTPD_STOP_REASON_BEARER_CONN_FAIL = -2,
  HTTPD_STOP_REASON_BEARER_DISCONN = -3,
  HTTPD_STOP_REASON_BY_COMMAND = -4
}
 HTTPD stop reason, indicates the reason why the HTTP server has stopped. More...
 

Enumeration Type Documentation

HTTPD result, defines the API return type.


Enumerator
HTTPD_RESULT_SUCCESS 

The operation completed successfully.


HTTPD_RESULT_WAITING 

The user needs to wait for a feedback or polling status update.


HTTPD_RESULT_UNINIT 

The server did not initiate.


HTTPD_RESULT_QUEUE_FULL 

The operation cannot be completed, the server queue is full.


HTTPD status, indicates the status of the HTTP server.


Enumerator
HTTPD_STATUS_UNINIT 

The server did not initiate.


HTTPD_STATUS_RUN 

The server execution is in progress.


HTTPD_STATUS_STOPPING 

The server execution is stopping.


HTTPD_STATUS_STOP 

The server execution has stopped.


HTTPD stop reason, indicates the reason why the HTTP server has stopped.

It is used only when HTTPD_STATUS is HTTPD_STATUS_STOP.

Enumerator
HTTPD_STOP_REASON_NO_MEMORY 

There is not enough memory available for the server operation.


HTTPD_STOP_REASON_BEARER_CONN_FAIL 

The socket create or bind failed.


HTTPD_STOP_REASON_BEARER_DISCONN 

The listen socket pipe is broken.


HTTPD_STOP_REASON_BY_COMMAND 

The user requested the server to stop.