Mauricio Donatti / Mbed 2 deprecated DCM_Heaters_8CH_v2

Dependencies:   mbed mbed-rtos AMC7812B EthernetInterface TextLCD

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 (char *html_pointer, int html_len)
 HTTP SERVER Initialization.
bool run (channel *CH, char *name)
 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 29 of file HTTP_SERVER.h.


Member Function Documentation

bool init ( char *  html_pointer,
int  html_len 
)

HTTP SERVER Initialization.

This function should be called first of all.

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

Definition at line 16 of file HTTP_SERVER.cpp.

bool run ( channel *  CH,
char *  name 
)

Run the surver service while listening flag is true.

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

Definition at line 38 of file HTTP_SERVER.cpp.