CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
NetworkProtocols.cpp File Reference

Implementation of the wire-protocol layer: HTTPRequest/HTTPReply parsing and generation, WebSocket (RFC 6455) framing with masking and extended payload lengths in network byte order, Telnet lines, JSONM multipart containers and the protocol auto-detection checks. More...

#include "NetworkProtocols.h"
#include "PsyTime.h"
#include "UnitTestFramework.h"
Include dependency graph for NetworkProtocols.cpp:

Go to the source code of this file.

Namespaces

namespace  cmlabs

Functions

static bool cmlabs::TestWebsocketRoundTrip (WebsocketData::DataType type, bool maskData, const char *payload, uint64 payloadSize)
bool cmlabs::NetworkProtocols_UnitTest ()
void cmlabs::Register_NetworkProtocols_Tests ()

Detailed Description

Implementation of the wire-protocol layer: HTTPRequest/HTTPReply parsing and generation, WebSocket (RFC 6455) framing with masking and extended payload lengths in network byte order, Telnet lines, JSONM multipart containers and the protocol auto-detection checks.

Definition in file NetworkProtocols.cpp.