REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
awot::Request Class Reference
#include <aWOT.h>
Inheritance diagram for awot::Request:

Collaboration diagram for awot::Request:

Public Types | |
enum | MethodType { UNKNOWN , GET , HEAD , POST , PUT , DELETE , PATCH , OPTIONS , ALL } |
Public Member Functions | |
int | available () |
int | availableForWrite () |
int | bytesRead () |
Stream * | stream () |
void | flush () |
bool | form (char *name, int nameLength, char *value, int valueLength) |
char * | get (const char *name) |
int | left () |
MethodType | method () |
char * | path () |
int | peek () |
void | push (uint8_t ch) |
char * | query () |
bool | query (const char *name, char *buffer, int bufferLength) |
int | read () |
int | read (uint8_t *buf, size_t size) |
bool | route (const char *name, char *buffer, int bufferLength) |
bool | route (int number, char *buffer, int bufferLength) |
int | minorVersion () |
size_t | write (uint8_t data) |
size_t | write (uint8_t *buffer, size_t bufferLength) |
Public Attributes | |
void * | context |
Friends | |
class | Application |
class | Router |
Detailed Description
Member Enumeration Documentation
◆ MethodType
Member Function Documentation
◆ available()
◆ availableForWrite()
FLASHMEM int Request::availableForWrite | ( | ) |
Definition at line 695 of file aWOT.cpp.
References awot::Response::availableForWrite().
◆ bytesRead()
◆ flush()
FLASHMEM void Request::flush | ( | ) |
Definition at line 717 of file aWOT.cpp.
References awot::Response::flush().
◆ form()
FLASHMEM bool Request::form | ( | char * | name, |
int | nameLength, | ||
char * | value, | ||
int | valueLength ) |
◆ get()
FLASHMEM char * Request::get | ( | const char * | name | ) |
Definition at line 703 of file aWOT.cpp.
References awot::Application::strcmpi().
Referenced by websocket_upgrade().
◆ left()
◆ method()
FLASHMEM Request::MethodType Request::method | ( | ) |
◆ minorVersion()
◆ path()
FLASHMEM char * Request::path | ( | ) |
Definition at line 776 of file aWOT.cpp.
Referenced by notfound(), and serve_static().
◆ peek()
FLASHMEM int Request::peek | ( | ) |
◆ push()
FLASHMEM void Request::push | ( | uint8_t | ch | ) |
Definition at line 788 of file aWOT.cpp.
References SERVER_PUSHBACK_BUFFER_SIZE.
Referenced by peek().
◆ query() [1/2]
◆ query() [2/2]
FLASHMEM bool Request::query | ( | const char * | name, |
char * | buffer, | ||
int | bufferLength ) |
◆ read() [1/2]
◆ read() [2/2]
int Request::read | ( | uint8_t * | buf, |
size_t | size ) |
◆ route() [1/2]
FLASHMEM bool Request::route | ( | const char * | name, |
char * | buffer, | ||
int | bufferLength ) |
◆ route() [2/2]
FLASHMEM bool Request::route | ( | int | number, |
char * | buffer, | ||
int | bufferLength ) |
◆ stream()
◆ write() [1/2]
FLASHMEM size_t Request::write | ( | uint8_t * | buffer, |
size_t | bufferLength ) |
Definition at line 923 of file aWOT.cpp.
References awot::Response::write().
◆ write() [2/2]
FLASHMEM size_t Request::write | ( | uint8_t | data | ) |
Definition at line 921 of file aWOT.cpp.
References awot::Response::write().
Friends And Related Symbol Documentation
◆ Application
|
friend |
◆ Router
Member Data Documentation
◆ context
void* awot::Request::context |
Definition at line 198 of file aWOT.h.
Referenced by websocket_upgrade().
The documentation for this class was generated from the following files: