|
Arduino DLNA Server
|
Abstract interface for HTTP server functionality. More...
#include <IHttpServer.h>

Public Member Functions | |
| virtual | ~IHttpServer ()=default |
| virtual IPAddress & | localIP ()=0 |
| virtual bool | begin ()=0 |
| virtual void | end ()=0 |
| virtual void | rewrite (const char *from, const char *to)=0 |
| virtual void | on (const char *url, TinyMethodID method, web_callback_fn fn, void *ctx[]=nullptr, int ctxCount=0)=0 |
| virtual void | on (const char *url, TinyMethodID method, const char *mime, web_callback_fn fn)=0 |
| Register callback for HTTP request with MIME type. | |
| virtual void | on (const char *url, TinyMethodID method, const char *mime, const char *result)=0 |
| Register static response for HTTP request. | |
| virtual void | on (const char *url, TinyMethodID method, const char *mime, const uint8_t *data, int len)=0 |
| Register binary data response for HTTP request. | |
| virtual void | on (const char *url, TinyMethodID method, Url &redirect)=0 |
| Register redirect response for HTTP request. | |
| virtual bool | onRequest (const char *path)=0 |
| Check if request matches registered handlers. | |
| virtual void | addHandler (HttpRequestHandlerLine *handlerLinePtr)=0 |
| Add custom request handler. | |
| virtual bool | doLoop ()=0 |
| Process server loop. | |
| virtual bool | copy ()=0 |
| Create a copy of the server instance. | |
| virtual | operator bool ()=0 |
| virtual bool | isActive ()=0 |
| virtual const char * | localHost ()=0 |
| virtual void | setNoConnectDelay (int delay)=0 |
| virtual void | setReference (void *reference)=0 |
| virtual void * | getReference ()=0 |
Abstract interface for HTTP server functionality.
Defines the contract for implementing an HTTP server that can handle requests, send responses, manage connections, and support various HTTP methods and content types. Provides methods for routing, response handling, header management, and server lifecycle.
|
virtualdefault |
|
pure virtual |
Add custom request handler.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
|
pure virtual |
Create a copy of the server instance.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Process server loop.
Implemented in tiny_dlna::HttpServerUsingTask< ClientType, ServerType >, tiny_dlna::HttpServerUsingTasks< ClientType, ServerType >, and tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Register static response for HTTP request.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Register binary data response for HTTP request.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Register callback for HTTP request with MIME type.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Register redirect response for HTTP request.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Check if request matches registered handlers.
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.
|
pure virtual |
Implemented in tiny_dlna::HttpServer< ClientType, ServerType >.