ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/WebsocketInputStreambuf.hpp Source File
1 #ifndef SRC_WEBSOCKETINPUTSTREAMBUF_HPP_
2 #define SRC_WEBSOCKETINPUTSTREAMBUF_HPP_
16 #include "HTTPSServerConstants.hpp"
17 #include "ConnectionContext.hpp"
WebsocketInputStreambuf(ConnectionContext *con, size_t dataLength, uint8_t *_=nullptr, size_t bufferSize=2048)
Create a Web Socket input record streambuf.
Definition: WebsocketInputStreambuf.cpp:10
size_t getRecordSize()
Get the size of the expected record.
Definition: WebsocketInputStreambuf.cpp:60
Definition: WebsocketInputStreambuf.hpp:21
Internal class to handle the state of a connection.
Definition: ConnectionContext.hpp:18
void discard()
Discard data for the record that has not yet been read.
Definition: WebsocketInputStreambuf.cpp:45
Definition: ConnectionContext.cpp:3
int_type underflow()
Handle the request to read data from the stream but we need more data from the source.
Definition: WebsocketInputStreambuf.cpp:68