ゴミ箱
Classes | Namespaces | Typedefs | Enumerations | Functions
frame.hpp File Reference
#include <boost/beast/websocket/rfc6455.hpp>
#include <boost/beast/websocket/detail/utf8_checker.hpp>
#include <boost/beast/core/consuming_buffers.hpp>
#include <boost/beast/core/flat_static_buffer.hpp>
#include <boost/beast/core/static_string.hpp>
#include <boost/asio/buffer.hpp>
#include <boost/assert.hpp>
#include <boost/endian/buffers.hpp>
#include <cstdint>

Go to the source code of this file.

Classes

struct  boost::beast::websocket::detail::frame_header
 

Namespaces

 boost
 
 boost::beast
 
 boost::beast::websocket
 
 boost::beast::websocket::detail
 

Typedefs

using boost::beast::websocket::detail::fh_buffer = flat_static_buffer< 14 >
 
using boost::beast::websocket::detail::frame_buffer = flat_static_buffer< 2+8+4+125 >
 

Enumerations

enum  boost::beast::websocket::detail::opcode : std::uint8_t {
  boost::beast::websocket::detail::opcode::cont = 0, boost::beast::websocket::detail::opcode::text = 1, boost::beast::websocket::detail::opcode::binary = 2, boost::beast::websocket::detail::opcode::rsv3 = 3,
  boost::beast::websocket::detail::opcode::rsv4 = 4, boost::beast::websocket::detail::opcode::rsv5 = 5, boost::beast::websocket::detail::opcode::rsv6 = 6, boost::beast::websocket::detail::opcode::rsv7 = 7,
  boost::beast::websocket::detail::opcode::close = 8, boost::beast::websocket::detail::opcode::ping = 9, boost::beast::websocket::detail::opcode::pong = 10, boost::beast::websocket::detail::opcode::crsvb = 11,
  boost::beast::websocket::detail::opcode::crsvc = 12, boost::beast::websocket::detail::opcode::crsvd = 13, boost::beast::websocket::detail::opcode::crsve = 14, boost::beast::websocket::detail::opcode::crsvf = 15
}
 

Functions

std::uint16_t boost::beast::websocket::detail::big_uint16_to_native (void const *buf)
 
std::uint64_t boost::beast::websocket::detail::big_uint64_to_native (void const *buf)
 
std::uint32_t boost::beast::websocket::detail::little_uint32_to_native (void const *buf)
 
void boost::beast::websocket::detail::native_to_little_uint32 (std::uint32_t v, void *buf)
 
bool constexpr boost::beast::websocket::detail::is_reserved (opcode op)
 
bool constexpr boost::beast::websocket::detail::is_valid (opcode op)
 
bool constexpr boost::beast::websocket::detail::is_control (opcode op)
 
bool boost::beast::websocket::detail::is_valid_close_code (std::uint16_t v)
 
template<class DynamicBuffer >
void boost::beast::websocket::detail::write (DynamicBuffer &db, frame_header const &fh)
 
template<class Buffers >
void boost::beast::websocket::detail::read_ping (ping_data &data, Buffers const &bs)
 
template<class Buffers >
void boost::beast::websocket::detail::read_close (close_reason &cr, Buffers const &bs, close_code &code)