|
Polyphase Game Engine
|
#include <functional>#include <memory>#include <stdint.h>#include <string>#include <vector>#include "PolyphaseAPI.h"#include "Network/WebSocketTypes.h"Go to the source code of this file.
Classes | |
| class | WsConnection |
Namespaces | |
| namespace | WebSocket |
Typedefs | |
| using | WsOpenCallback = std::function< void()> |
| using | WsMessageCallback = std::function< void(const uint8_t *data, uint32_t size, bool binary)> |
| using | WsErrorCallback = std::function< void(const char *message)> |
| using | WsClosedCallback = std::function< void(uint16_t code, const char *reason, bool wasClean)> |
Functions | |
| void | WebSocket::Initialize () |
| void | WebSocket::Shutdown () |
| void | WebSocket::Tick () |
| bool | WebSocket::IsAvailable () |
| const char * | WebSocket::GetMissingDependencyMessage () |
| std::shared_ptr< WsConnection > | WebSocket::Connect (const WsConnectOptions &options, std::string &outError) |
| using WsClosedCallback = std::function<void(uint16_t code, const char* reason, bool wasClean)> |
| using WsErrorCallback = std::function<void(const char* message)> |
| using WsMessageCallback = std::function<void(const uint8_t* data, uint32_t size, bool binary)> |
| using WsOpenCallback = std::function<void()> |