REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
#include <aWOT.h>
Public Member Functions | |
Application () | |
~Application () | |
void | del (const char *path, Router::Middleware *middleware) |
void | del (Router::Middleware *middleware) |
void | finally (Router::Middleware *middleware) |
void | get (const char *path, Router::Middleware *middleware) |
void | get (Router::Middleware *middleware) |
void | head (const char *path, Router::Middleware *middleware) |
void | head (Router::Middleware *middleware) |
void | header (const char *name, char *buffer, int bufferLength) |
void | notFound (Router::Middleware *middleware) |
void | options (const char *path, Router::Middleware *middleware) |
void | options (Router::Middleware *middleware) |
void | patch (const char *path, Router::Middleware *middleware) |
void | patch (Router::Middleware *middleware) |
void | post (const char *path, Router::Middleware *middleware) |
void | post (Router::Middleware *middleware) |
void | put (const char *path, Router::Middleware *middleware) |
void | put (Router::Middleware *middleware) |
void | process (EthernetClient *client, void *context=NULL) |
void | process (EthernetClient *client, char *urlbuffer, int urlBufferLength, void *context=NULL) |
void | process (EthernetClient *client, char *urlBuffer, int urlBufferLength, uint8_t *writeBuffer, int writeBufferLength, void *context=NULL) |
void | process (Stream *stream, void *context=NULL) |
void | process (Stream *stream, char *urlbuffer, int urlBufferLength, void *context=NULL) |
void | process (Stream *stream, char *urlBuffer, int urlBufferLength, uint8_t *writeBuffer, int writeBufferLength, void *context=NULL) |
void | setTimeout (unsigned long timeoutMillis) |
void | use (const char *path, Router *router) |
void | use (Router *router) |
void | use (const char *path, Router::Middleware *middleware) |
void | use (Router::Middleware *middleware) |
Static Public Member Functions | |
static int | strcmpi (const char *s1, const char *s2) |
static int | strcmpiP (const char *s1, const unsigned char *s2) |
Detailed Description
Constructor & Destructor Documentation
◆ Application()
◆ ~Application()
Member Function Documentation
◆ del() [1/2]
FLASHMEM void Application::del | ( | const char * | path, |
Router::Middleware * | middleware ) |
◆ del() [2/2]
FLASHMEM void Application::del | ( | Router::Middleware * | middleware | ) |
◆ finally()
FLASHMEM void Application::finally | ( | Router::Middleware * | middleware | ) |
◆ get() [1/2]
FLASHMEM void Application::get | ( | const char * | path, |
Router::Middleware * | middleware ) |
Definition at line 1456 of file aWOT.cpp.
References awot::Request::GET.
Referenced by web::LucidacWebServer::begin(), and get().
◆ get() [2/2]
FLASHMEM void Application::get | ( | Router::Middleware * | middleware | ) |
◆ head() [1/2]
FLASHMEM void Application::head | ( | const char * | path, |
Router::Middleware * | middleware ) |
◆ head() [2/2]
FLASHMEM void Application::head | ( | Router::Middleware * | middleware | ) |
◆ header()
FLASHMEM void Application::header | ( | const char * | name, |
char * | buffer, | ||
int | bufferLength ) |
Definition at line 1627 of file aWOT.cpp.
Referenced by allocate_interesting_headers().
◆ notFound()
FLASHMEM void Application::notFound | ( | Router::Middleware * | middleware | ) |
◆ options() [1/2]
FLASHMEM void Application::options | ( | const char * | path, |
Router::Middleware * | middleware ) |
Definition at line 1470 of file aWOT.cpp.
References awot::Request::OPTIONS.
Referenced by web::LucidacWebServer::begin(), and options().
◆ options() [2/2]
FLASHMEM void Application::options | ( | Router::Middleware * | middleware | ) |
◆ patch() [1/2]
FLASHMEM void Application::patch | ( | const char * | path, |
Router::Middleware * | middleware ) |
◆ patch() [2/2]
FLASHMEM void Application::patch | ( | Router::Middleware * | middleware | ) |
◆ post() [1/2]
FLASHMEM void Application::post | ( | const char * | path, |
Router::Middleware * | middleware ) |
Definition at line 1482 of file aWOT.cpp.
References awot::Request::POST.
Referenced by web::LucidacWebServer::begin(), and post().
◆ post() [2/2]
FLASHMEM void Application::post | ( | Router::Middleware * | middleware | ) |
◆ process() [1/6]
FLASHMEM void Application::process | ( | EthernetClient * | client, |
char * | urlBuffer, | ||
int | urlBufferLength, | ||
uint8_t * | writeBuffer, | ||
int | writeBufferLength, | ||
void * | context = NULL ) |
◆ process() [2/6]
FLASHMEM void Application::process | ( | EthernetClient * | client, |
char * | urlbuffer, | ||
int | urlBufferLength, | ||
void * | context = NULL ) |
Definition at line 1503 of file aWOT.cpp.
References process(), and SERVER_OUTPUT_BUFFER_SIZE.
◆ process() [3/6]
FLASHMEM void Application::process | ( | EthernetClient * | client, |
void * | context = NULL ) |
Definition at line 1494 of file aWOT.cpp.
References process(), and SERVER_URL_BUFFER_SIZE.
Referenced by web::LucidacWebServer::loop(), process(), process(), process(), process(), and process().
◆ process() [4/6]
FLASHMEM void Application::process | ( | Stream * | stream, |
char * | urlBuffer, | ||
int | urlBufferLength, | ||
uint8_t * | writeBuffer, | ||
int | writeBufferLength, | ||
void * | context = NULL ) |
◆ process() [5/6]
FLASHMEM void Application::process | ( | Stream * | stream, |
char * | urlbuffer, | ||
int | urlBufferLength, | ||
void * | context = NULL ) |
◆ process() [6/6]
FLASHMEM void Application::process | ( | Stream * | stream, |
void * | context = NULL ) |
◆ put() [1/2]
FLASHMEM void Application::put | ( | const char * | path, |
Router::Middleware * | middleware ) |
◆ put() [2/2]
FLASHMEM void Application::put | ( | Router::Middleware * | middleware | ) |
◆ setTimeout()
FLASHMEM void Application::setTimeout | ( | unsigned long | timeoutMillis | ) |
◆ strcmpi()
|
static |
Definition at line 1391 of file aWOT.cpp.
Referenced by awot::Request::get(), and awot::Response::get().
◆ strcmpiP()
|
static |
Definition at line 1413 of file aWOT.cpp.
Referenced by awot::Response::set().
◆ use() [1/4]
FLASHMEM void Application::use | ( | const char * | path, |
Router * | router ) |
Definition at line 1572 of file aWOT.cpp.
References awot::Router::use().
◆ use() [2/4]
FLASHMEM void Application::use | ( | const char * | path, |
Router::Middleware * | middleware ) |
Definition at line 1564 of file aWOT.cpp.
References awot::Request::ALL.
◆ use() [3/4]
FLASHMEM void Application::use | ( | Router * | router | ) |
◆ use() [4/4]
FLASHMEM void Application::use | ( | Router::Middleware * | middleware | ) |
The documentation for this class was generated from the following files: