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

Optional caller-buffered message assembly helper for applications that want complete messages. More...

#include <HttpWebSocket.h>

Public Member Functions

void reset (Span< char > messageStorage)
 
Result onFrameHeader (const HttpWebSocketFrameHeaderView &header)
 
Result onFramePayload (Span< char > payload, bool frameFinished)
 
size_t getCurrentMessageSize () const
 

Public Attributes

Function< Result(HttpWebSocketOpcode, Span< const char >)> onMessage
 

Detailed Description

Optional caller-buffered message assembly helper for applications that want complete messages.


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