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

#include <aWOT.h>

Public Types

typedef void Middleware(Request &request, Response &response)
 

Public Member Functions

 Router ()
 
 ~Router ()
 
void del (const char *path, Middleware *middleware)
 
void del (Middleware *middleware)
 
void get (const char *path, Middleware *middleware)
 
void get (Middleware *middleware)
 
void head (const char *path, Middleware *middleware)
 
void head (Middleware *middleware)
 
void options (const char *path, Middleware *middleware)
 
void options (Middleware *middleware)
 
void patch (const char *path, Middleware *middleware)
 
void patch (Middleware *middleware)
 
void post (const char *path, Middleware *middleware)
 
void post (Middleware *middleware)
 
void put (const char *path, Middleware *middleware)
 
void put (Middleware *middleware)
 
void use (const char *path, Router *router)
 
void use (Router *router)
 
void use (const char *path, Middleware *middleware)
 
void use (Middleware *middleware)
 

Friends

class Application
 

Detailed Description

Definition at line 267 of file aWOT.h.

Member Typedef Documentation

◆ Middleware

void awot::Router::Middleware(Request &request, Response &response)

Definition at line 271 of file aWOT.h.

Constructor & Destructor Documentation

◆ Router()

FLASHMEM Router::Router ( )

Definition at line 1227 of file aWOT.cpp.

◆ ~Router()

FLASHMEM Router::~Router ( )

Definition at line 1229 of file aWOT.cpp.

Member Function Documentation

◆ del() [1/2]

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

Definition at line 1243 of file aWOT.cpp.

References awot::Request::DELETE.

Referenced by del().

◆ del() [2/2]

FLASHMEM void Router::del ( Middleware * middleware)

Definition at line 1247 of file aWOT.cpp.

References del().

◆ get() [1/2]

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

Definition at line 1249 of file aWOT.cpp.

References awot::Request::GET.

Referenced by get().

◆ get() [2/2]

FLASHMEM void Router::get ( Middleware * middleware)

Definition at line 1253 of file aWOT.cpp.

References get().

◆ head() [1/2]

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

Definition at line 1255 of file aWOT.cpp.

References awot::Request::HEAD.

Referenced by head().

◆ head() [2/2]

FLASHMEM void Router::head ( Middleware * middleware)

Definition at line 1259 of file aWOT.cpp.

References head().

◆ options() [1/2]

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

Definition at line 1261 of file aWOT.cpp.

References awot::Request::OPTIONS.

Referenced by options().

◆ options() [2/2]

FLASHMEM void Router::options ( Middleware * middleware)

Definition at line 1265 of file aWOT.cpp.

References options().

◆ patch() [1/2]

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

Definition at line 1279 of file aWOT.cpp.

References awot::Request::PATCH.

Referenced by patch().

◆ patch() [2/2]

FLASHMEM void Router::patch ( Middleware * middleware)

Definition at line 1283 of file aWOT.cpp.

References patch().

◆ post() [1/2]

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

Definition at line 1267 of file aWOT.cpp.

References awot::Request::POST.

Referenced by post().

◆ post() [2/2]

FLASHMEM void Router::post ( Middleware * middleware)

Definition at line 1271 of file aWOT.cpp.

References post().

◆ put() [1/2]

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

Definition at line 1273 of file aWOT.cpp.

References awot::Request::PUT.

Referenced by put().

◆ put() [2/2]

FLASHMEM void Router::put ( Middleware * middleware)

Definition at line 1277 of file aWOT.cpp.

References put().

◆ use() [1/4]

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

Definition at line 1285 of file aWOT.cpp.

References awot::Request::ALL.

◆ use() [2/4]

FLASHMEM void Router::use ( const char * path,
Router * router )

Definition at line 1291 of file aWOT.cpp.

Referenced by awot::Application::use(), use(), and use().

◆ use() [3/4]

FLASHMEM void Router::use ( Middleware * middleware)

Definition at line 1289 of file aWOT.cpp.

References use().

◆ use() [4/4]

FLASHMEM void Router::use ( Router * router)

Definition at line 1300 of file aWOT.cpp.

References use().

Friends And Related Symbol Documentation

◆ Application

friend class Application
friend

Definition at line 268 of file aWOT.h.


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