18class WebSocket :
public ::std::enable_shared_from_this<::Bedrock::Http::WebSocket> {
29 WebSocket& operator=(WebSocket
const&);
30 WebSocket(WebSocket
const&);
38 virtual ::Bedrock::Threading::Async<::std::error_code> send(::std::string
const& message)
const;
40 virtual void onMessage(::std::string_view message);
42 virtual void onBinaryMessage(::gsl::span<uchar const>);
44 virtual void onClose(uint status);
50 MCNAPI ::Bedrock::Threading::Async<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code>>
69 MCNAPI ::Bedrock::Threading::Async<::std::error_code>
$send(::std::string
const& message)
const;