WPILibC++ 2024.3.2
|
This is the complete list of members for wpi::WebSocket, including all inherited members.
binary | wpi::WebSocket | |
Close(uint16_t code=1005, std::string_view reason={}) | wpi::WebSocket | |
CLOSED enum value | wpi::WebSocket | |
closed | wpi::WebSocket | |
CLOSING enum value | wpi::WebSocket | |
CONNECTING enum value | wpi::WebSocket | |
CreateClient(uv::Stream &stream, std::string_view uri, std::string_view host, std::span< const std::string_view > protocols={}, const ClientOptions &options={}) | wpi::WebSocket | static |
CreateClient(uv::Stream &stream, std::string_view uri, std::string_view host, std::initializer_list< std::string_view > protocols, const ClientOptions &options={}) | wpi::WebSocket | inlinestatic |
CreateServer(uv::Stream &stream, std::string_view key, std::string_view version, std::string_view protocol={}) | wpi::WebSocket | static |
Fail(uint16_t code=1002, std::string_view reason="protocol error") | wpi::WebSocket | |
FAILED enum value | wpi::WebSocket | |
GetData() const | wpi::WebSocket | inline |
GetLastReceivedTime() const | wpi::WebSocket | inline |
GetProtocol() const | wpi::WebSocket | inline |
GetState() const | wpi::WebSocket | inline |
GetStream() const | wpi::WebSocket | inline |
IsOpen() const | wpi::WebSocket | inline |
IsWriteInProgress() const | wpi::WebSocket | inline |
kFlagControl | wpi::WebSocket | static |
kFlagFin | wpi::WebSocket | static |
kOpBinary | wpi::WebSocket | static |
kOpClose | wpi::WebSocket | static |
kOpCont | wpi::WebSocket | static |
kOpMask | wpi::WebSocket | static |
kOpPing | wpi::WebSocket | static |
kOpPong | wpi::WebSocket | static |
kOpText | wpi::WebSocket | static |
open | wpi::WebSocket | |
OPEN enum value | wpi::WebSocket | |
operator=(const WebSocket &)=delete | wpi::WebSocket | |
operator=(WebSocket &&)=delete | wpi::WebSocket | |
ping | wpi::WebSocket | |
pong | wpi::WebSocket | |
SendBinary(std::span< const uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendBinary(std::initializer_list< uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendBinaryFragment(std::span< const uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendBinaryFragment(std::initializer_list< uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendFragment(std::span< const uv::Buffer > data, bool fin, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendFragment(std::initializer_list< uv::Buffer > data, bool fin, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendFrames(std::span< const Frame > frames, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | |
SendPing(std::function< void(uv::Error)> callback=nullptr) | wpi::WebSocket | inline |
SendPing(std::span< const uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendPing(std::initializer_list< uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendPong(std::function< void(uv::Error)> callback=nullptr) | wpi::WebSocket | inline |
SendPong(std::span< const uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendPong(std::initializer_list< uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendText(std::span< const uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendText(std::initializer_list< uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendTextFragment(std::span< const uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SendTextFragment(std::initializer_list< uv::Buffer > data, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | inline |
SetCombineFragments(bool combine) | wpi::WebSocket | inline |
SetData(std::shared_ptr< void > data) | wpi::WebSocket | inline |
SetMaxMessageSize(size_t size) | wpi::WebSocket | inline |
Shutdown() | wpi::WebSocket | |
State enum name | wpi::WebSocket | |
Terminate(uint16_t code=1006, std::string_view reason="terminated") | wpi::WebSocket | |
text | wpi::WebSocket | |
TrySendFrames(std::span< const Frame > frames, std::function< void(std::span< uv::Buffer >, uv::Error)> callback) | wpi::WebSocket | |
WebSocket(uv::Stream &stream, bool server, const private_init &) | wpi::WebSocket | |
WebSocket(const WebSocket &)=delete | wpi::WebSocket | |
WebSocket(WebSocket &&)=delete | wpi::WebSocket | |
~WebSocket() | wpi::WebSocket |