Ad van der Weiden / Mbed 2 deprecated tcpft

Dependencies:   mbed ConfigFile

Embed: (wiki syntax)

« Back to documentation index

HTTPRequestHandler Class Reference

HTTPRequestHandler Class Reference

HTTP Server's generic request handler. More...

#include <HTTPRequestHandler.h>

Inherits NetService.

Inherited by FSHandler, RPCHandler, and SimpleHandler.

Public Member Functions

 HTTPRequestHandler (const char *rootPath, const char *path, TCPSocket *pTCPSocket)
 Instantiated by the HTTP Server.
virtual void close ()
 This flags the service as to be destructed if owned by the pool.
virtual void poll ()
 This method can be inherited so that it is called on each Net::poll() call.

Detailed Description

HTTP Server's generic request handler.

Definition at line 44 of file HTTPRequestHandler.h.


Constructor & Destructor Documentation

HTTPRequestHandler ( const char *  rootPath,
const char *  path,
TCPSocket pTCPSocket 
)

Instantiated by the HTTP Server.


Member Function Documentation

virtual void close (  ) [virtual]

This flags the service as to be destructed if owned by the pool.

Reimplemented from NetService.

virtual void poll (  ) [virtual, inherited]

This method can be inherited so that it is called on each Net::poll() call.