ゴミ箱
|
Classes | |
struct | frame_header |
class | maskgen_t |
class | pausation |
struct | pmd_offer |
class | teardown_tcp_op |
class | utf8_checker_t |
class | websocket_error_category |
Typedefs | |
using | fh_buffer = flat_static_buffer< 14 > |
using | frame_buffer = flat_static_buffer< 2+8+4+125 > |
using | sec_ws_key_type = static_string< beast::detail::base64::encoded_size(16)> |
using | sec_ws_accept_type = static_string< beast::detail::base64::encoded_size(20)> |
using | maskgen = maskgen_t< std::minstd_rand > |
using | prepared_key = std::conditional< sizeof(void *)==8, std::uint64_t, std::uint32_t >::type |
template<class F > | |
using | is_RequestDecorator = typename beast::detail::is_invocable< F, void(request_type &)>::type |
template<class F > | |
using | is_ResponseDecorator = typename beast::detail::is_invocable< F, void(response_type &)>::type |
using | utf8_checker = utf8_checker_t<> |
Enumerations | |
enum | opcode : std::uint8_t { opcode::cont = 0, opcode::text = 1, opcode::binary = 2, opcode::rsv3 = 3, opcode::rsv4 = 4, opcode::rsv5 = 5, opcode::rsv6 = 6, opcode::rsv7 = 7, opcode::close = 8, opcode::ping = 9, opcode::pong = 10, opcode::crsvb = 11, opcode::crsvc = 12, opcode::crsvd = 13, opcode::crsve = 14, opcode::crsvf = 15 } |
Functions | |
std::uint16_t | big_uint16_to_native (void const *buf) |
std::uint64_t | big_uint64_to_native (void const *buf) |
std::uint32_t | little_uint32_to_native (void const *buf) |
void | native_to_little_uint32 (std::uint32_t v, void *buf) |
bool constexpr | is_reserved (opcode op) |
bool constexpr | is_valid (opcode op) |
bool constexpr | is_control (opcode op) |
bool | is_valid_close_code (std::uint16_t v) |
template<class DynamicBuffer > | |
void | write (DynamicBuffer &db, frame_header const &fh) |
template<class Buffers > | |
void | read_ping (ping_data &data, Buffers const &bs) |
template<class Buffers > | |
void | read_close (close_reason &cr, Buffers const &bs, close_code &code) |
template<class Gen > | |
void | make_sec_ws_key (sec_ws_key_type &key, Gen &g) |
template<class = void> | |
void | make_sec_ws_accept (sec_ws_accept_type &accept, string_view key) |
void | prepare_key (std::uint32_t &prepared, std::uint32_t key) |
void | prepare_key (std::uint64_t &prepared, std::uint32_t key) |
template<class T > | |
std::enable_if< std::is_integral< T >::value, T >::type | ror (T t, unsigned n=1) |
template<class = void> | |
void | mask_inplace_fast (boost::asio::mutable_buffer const &b, std::uint32_t &key) |
template<class = void> | |
void | mask_inplace_fast (boost::asio::mutable_buffer const &b, std::uint64_t &key) |
void | mask_inplace (boost::asio::mutable_buffer const &b, std::uint32_t &key) |
void | mask_inplace (boost::asio::mutable_buffer const &b, std::uint64_t &key) |
template<class MutableBuffers , class KeyType > | |
void | mask_inplace (MutableBuffers const &bs, KeyType &key) |
template<class = void> | |
int | parse_bits (string_view s) |
template<class Allocator > | |
void | pmd_read (pmd_offer &offer, http::basic_fields< Allocator > const &fields) |
template<class Allocator > | |
void | pmd_write (http::basic_fields< Allocator > &fields, pmd_offer const &offer) |
template<class Allocator > | |
void | pmd_negotiate (http::basic_fields< Allocator > &fields, pmd_offer &config, pmd_offer const &offer, permessage_deflate const &o) |
void | pmd_normalize (pmd_offer &offer) |
template<class DeflateStream , class ConstBufferSequence > | |
bool | deflate (DeflateStream &zo, boost::asio::mutable_buffer &out, consuming_buffers< ConstBufferSequence > &cb, bool fin, std::size_t &total_in, error_code &ec) |
template<class = void> | |
bool | check_utf8 (char const *p, std::size_t n) |
error_category const & | get_error_category () |
using boost::beast::websocket::detail::fh_buffer = typedef flat_static_buffer<14> |
using boost::beast::websocket::detail::frame_buffer = typedef flat_static_buffer< 2 + 8 + 4 + 125 > |
using boost::beast::websocket::detail::is_RequestDecorator = typedef typename beast::detail::is_invocable<F, void(request_type&)>::type |
using boost::beast::websocket::detail::is_ResponseDecorator = typedef typename beast::detail::is_invocable<F, void(response_type&)>::type |
using boost::beast::websocket::detail::maskgen = typedef maskgen_t<std::minstd_rand> |
using boost::beast::websocket::detail::prepared_key = typedef std::conditional<sizeof(void*) == 8, std::uint64_t, std::uint32_t>::type |
using boost::beast::websocket::detail::sec_ws_accept_type = typedef static_string< beast::detail::base64::encoded_size(20)> |
using boost::beast::websocket::detail::sec_ws_key_type = typedef static_string< beast::detail::base64::encoded_size(16)> |
using boost::beast::websocket::detail::utf8_checker = typedef utf8_checker_t<> |
|
strong |
|
inline |
|
inline |
bool boost::beast::websocket::detail::check_utf8 | ( | char const * | p, |
std::size_t | n | ||
) |
bool boost::beast::websocket::detail::deflate | ( | DeflateStream & | zo, |
boost::asio::mutable_buffer & | out, | ||
consuming_buffers< ConstBufferSequence > & | cb, | ||
bool | fin, | ||
std::size_t & | total_in, | ||
error_code & | ec | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void boost::beast::websocket::detail::make_sec_ws_accept | ( | sec_ws_accept_type & | accept, |
string_view | key | ||
) |
void boost::beast::websocket::detail::make_sec_ws_key | ( | sec_ws_key_type & | key, |
Gen & | g | ||
) |
|
inline |
|
inline |
void boost::beast::websocket::detail::mask_inplace | ( | MutableBuffers const & | bs, |
KeyType & | key | ||
) |
void boost::beast::websocket::detail::mask_inplace_fast | ( | boost::asio::mutable_buffer const & | b, |
std::uint32_t & | key | ||
) |
void boost::beast::websocket::detail::mask_inplace_fast | ( | boost::asio::mutable_buffer const & | b, |
std::uint64_t & | key | ||
) |
|
inline |
int boost::beast::websocket::detail::parse_bits | ( | string_view | s | ) |
void boost::beast::websocket::detail::pmd_negotiate | ( | http::basic_fields< Allocator > & | fields, |
pmd_offer & | config, | ||
pmd_offer const & | offer, | ||
permessage_deflate const & | o | ||
) |
|
inline |
void boost::beast::websocket::detail::pmd_read | ( | pmd_offer & | offer, |
http::basic_fields< Allocator > const & | fields | ||
) |
void boost::beast::websocket::detail::pmd_write | ( | http::basic_fields< Allocator > & | fields, |
pmd_offer const & | offer | ||
) |
|
inline |
|
inline |
void boost::beast::websocket::detail::read_close | ( | close_reason & | cr, |
Buffers const & | bs, | ||
close_code & | code | ||
) |
void boost::beast::websocket::detail::read_ping | ( | ping_data & | data, |
Buffers const & | bs | ||
) |
|
inline |
void boost::beast::websocket::detail::write | ( | DynamicBuffer & | db, |
frame_header const & | fh | ||
) |