FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::net::WsClientHandler Concept Reference

#include <fastmm/net/ws_client.hpp>

Concept definition

template<class H>
concept fastmm::net::WsClientHandler = requires(H& h,
std::string_view s,
std::span<const std::byte> b,
std::int64_t ts,
std::uint16_t code,
NetError e,
h.on_ws_progress(p);
h.on_ws_open();
h.on_ws_text(s, ts);
h.on_ws_binary(b, ts);
h.on_ws_ping(b);
h.on_ws_pong(b);
h.on_ws_close(code, s);
h.on_ws_error(e, s);
}
Definition ws_client.hpp:41
WsProgress
Milestones before the upgrade completes, so owners can report fine-grained states.
Definition ws_client.hpp:35