Akifumi Takahashi / HTTP_SERVER

Dependents:   httpserversample SIMPLE_WSS

Embed: (wiki syntax)

« Back to documentation index

HttpServer Class Reference

HttpServer Class Reference

HttpServer class. More...

#include <HTTP_SERVER.h>

Public Member Functions

bool init ()
 HTTP SERVER Initialization.
bool run ()
 Run the surver service while listening flag is true.

Detailed Description

HttpServer class.

This is the class to make a mbed a simple HTTP Server.

Definition at line 19 of file HTTP_SERVER.h.


Member Function Documentation

bool init (  )

HTTP SERVER Initialization.

This function should be called first of all.

Returns:
result of init() as boolean.
Return values:
TRUESACCESS
FALSE

Definition at line 49 of file HTTP_SERVER.cpp.

bool run (  )

Run the surver service while listening flag is true.

Returns:
state ending.
Return values:
TRUEat error end.
FALSEat normal end.

Definition at line 84 of file HTTP_SERVER.cpp.