Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
framing.h File Reference
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <limits>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include "absl/status/status.h"
#include "symbian/websocket/websocket.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  symbian
 
namespace  symbian::websocket
 
namespace  symbian::websocket::internal
 

Functions

void symbian::websocket::internal::AppendBigEndian16 (std::string *output, std::uint16_t value)
 
void symbian::websocket::internal::AppendBigEndian64 (std::string *output, std::uint64_t value)
 
void symbian::websocket::internal::MaskInPlace (char *data, size_t length, const char(&mask)[4])
 XORs length bytes at data with a repeating 4-byte WebSocket mask.
 
std::uint16_t symbian::websocket::internal::ReadBigEndian16 (std::string_view input, size_t offset)
 
std::uint64_t symbian::websocket::internal::ReadBigEndian64 (std::string_view input, size_t offset)
 

Variables

constexpr std::uint8_t symbian::websocket::internal::kContinuation = 0x0
 
constexpr std::uint8_t symbian::websocket::internal::kText = 0x1
 
constexpr std::uint8_t symbian::websocket::internal::kBinary = 0x2
 
constexpr std::uint8_t symbian::websocket::internal::kClose = 0x8
 
constexpr std::uint8_t symbian::websocket::internal::kPing = 0x9
 
constexpr std::uint8_t symbian::websocket::internal::kPong = 0xa