|
REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
|
Loading...
Searching...
No Matches
web::LucidacWebsocketsClient Struct Reference
This structure collects all relevant context about a running Websocket connection. More...
#include <server.h>
Collaboration diagram for web::LucidacWebsocketsClient:

Public Member Functions | |
| LucidacWebsocketsClient (const net::EthernetClient &other) | |
Public Attributes | |
| utils::duration | last_contact |
| Tracking lifetime with millis() to time-out a connection. | |
| net::auth::AuthentificationContext | user_context |
| net::EthernetClient | socket |
| websockets::WebsocketsClient | ws |
Detailed Description
This structure collects all relevant context about a running Websocket connection.
Constructor & Destructor Documentation
◆ LucidacWebsocketsClient()
| FLASHMEM web::LucidacWebsocketsClient::LucidacWebsocketsClient | ( | const net::EthernetClient & | other | ) |
Definition at line 311 of file server.cpp.
References net::auth::AuthentificationContext::set_remote_identifier(), socket, and user_context.
Member Data Documentation
◆ last_contact
| utils::duration web::LucidacWebsocketsClient::last_contact |
◆ socket
| net::EthernetClient web::LucidacWebsocketsClient::socket |
Definition at line 27 of file server.h.
Referenced by LucidacWebsocketsClient().
◆ user_context
| net::auth::AuthentificationContext web::LucidacWebsocketsClient::user_context |
Definition at line 26 of file server.h.
Referenced by LucidacWebsocketsClient().
◆ ws
| websockets::WebsocketsClient web::LucidacWebsocketsClient::ws |
The documentation for this struct was generated from the following files:
- lib/communication/src/web/server.h
- lib/communication/src/web/server.cpp