REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
endpoint.cpp File Reference
#include "websockets/endpoint.h"
#include <string.h>
Include dependency graph for endpoint.cpp:

Go to the source code of this file.

Namespaces

namespace  websockets
 
namespace  websockets::internals
 

Functions

FLASHMEM CloseReason websockets::GetCloseReason (uint16_t reasonCode)
 
uint32_t websockets::internals::swapEndianess (uint32_t num)
 
uint64_t websockets::internals::swapEndianess (uint64_t num)
 
uint32_t websockets::internals::readUntilSuccessfullOrError (network::TcpClient &socket, uint8_t *buffer, const uint32_t len)
 
Header websockets::internals::readHeaderFromSocket (network::TcpClient &socket)
 
FLASHMEM uint64_t websockets::internals::readExtendedPayloadLength (network::TcpClient &socket, const Header &header)
 
void websockets::internals::readMaskingKey (network::TcpClient &socket, uint8_t *outputBuffer)
 
FLASHMEM std::string websockets::internals::readData (network::TcpClient &socket, uint64_t extendedPayload)
 
void websockets::internals::remaskData (std::string &data, const uint8_t *const maskingKey, uint64_t payloadLength)
 
void websockets::internals::remaskData (std::string &data, const char *const maskingKey, size_t first, size_t len)