#include <fastmm/net/ws_client.hpp>
template<class 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