REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches

#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

Definition at line 314 of file aWOT.h.

Constructor & Destructor Documentation

◆ Application()

FLASHMEM Application::Application ( )

Definition at line 1389 of file aWOT.cpp.

◆ ~Application()

FLASHMEM Application::~Application ( )

Definition at line 1435 of file aWOT.cpp.

Member Function Documentation

◆ del() [1/2]

FLASHMEM void Application::del ( const char * path,
Router::Middleware * middleware )

Definition at line 1448 of file aWOT.cpp.

References awot::Request::DELETE.

Referenced by del().

◆ del() [2/2]

FLASHMEM void Application::del ( Router::Middleware * middleware)

Definition at line 1452 of file aWOT.cpp.

References del().

◆ finally()

FLASHMEM void Application::finally ( Router::Middleware * middleware)

Definition at line 1454 of file aWOT.cpp.

◆ 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)

Definition at line 1460 of file aWOT.cpp.

References get().

◆ head() [1/2]

FLASHMEM void Application::head ( const char * path,
Router::Middleware * middleware )

Definition at line 1462 of file aWOT.cpp.

References awot::Request::HEAD.

Referenced by head().

◆ head() [2/2]

FLASHMEM void Application::head ( Router::Middleware * middleware)

Definition at line 1466 of file aWOT.cpp.

References head().

◆ 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)

Definition at line 1468 of file aWOT.cpp.

References notFound().

Referenced by notFound().

◆ 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)

Definition at line 1474 of file aWOT.cpp.

References options().

◆ patch() [1/2]

FLASHMEM void Application::patch ( const char * path,
Router::Middleware * middleware )

Definition at line 1476 of file aWOT.cpp.

References awot::Request::PATCH.

Referenced by patch().

◆ patch() [2/2]

FLASHMEM void Application::patch ( Router::Middleware * middleware)

Definition at line 1480 of file aWOT.cpp.

References patch().

◆ 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)

Definition at line 1486 of file aWOT.cpp.

References post().

◆ process() [1/6]

FLASHMEM void Application::process ( EthernetClient * client,
char * urlBuffer,
int urlBufferLength,
uint8_t * writeBuffer,
int writeBufferLength,
void * context = NULL )

Definition at line 1512 of file aWOT.cpp.

◆ 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 )

Definition at line 1554 of file aWOT.cpp.

References process().

◆ process() [5/6]

FLASHMEM void Application::process ( Stream * stream,
char * urlbuffer,
int urlBufferLength,
void * context = NULL )

Definition at line 1545 of file aWOT.cpp.

References process().

◆ process() [6/6]

FLASHMEM void Application::process ( Stream * stream,
void * context = NULL )

Definition at line 1536 of file aWOT.cpp.

References process().

◆ put() [1/2]

FLASHMEM void Application::put ( const char * path,
Router::Middleware * middleware )

Definition at line 1488 of file aWOT.cpp.

References awot::Request::PUT.

Referenced by put().

◆ put() [2/2]

FLASHMEM void Application::put ( Router::Middleware * middleware)

Definition at line 1492 of file aWOT.cpp.

References put().

◆ setTimeout()

FLASHMEM void Application::setTimeout ( unsigned long timeoutMillis)

Definition at line 1570 of file aWOT.cpp.

◆ strcmpi()

FLASHMEM int Application::strcmpi ( const char * s1,
const char * s2 )
static

Definition at line 1391 of file aWOT.cpp.

Referenced by awot::Request::get(), and awot::Response::get().

◆ strcmpiP()

FLASHMEM int Application::strcmpiP ( const char * s1,
const unsigned char * s2 )
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().

Referenced by use(), and 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)

Definition at line 1574 of file aWOT.cpp.

References use().

◆ use() [4/4]

FLASHMEM void Application::use ( Router::Middleware * middleware)

Definition at line 1568 of file aWOT.cpp.

References use().


The documentation for this class was generated from the following files: