Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpWebSocketFrameReader Struct Reference

Incremental WebSocket frame reader operating on caller-owned mutable byte slices. More...

#include <HttpWebSocket.h>

Public Member Functions

void reset (HttpWebSocketEndpointRole endpointRole)
 
Result parse (Span< char > data, size_t &consumedBytes)
 

Public Attributes

Function< Result(const HttpWebSocketFrameHeaderView &)> onFrameHeader
 
Function< Result(Span< char >, bool)> onFramePayload
 

Detailed Description

Incremental WebSocket frame reader operating on caller-owned mutable byte slices.


The documentation for this struct was generated from the following file: