#include <MultiplayerWebSocket.h>
|
| MultiplayerWebSocket () |
|
| ~MultiplayerWebSocket () |
|
bool | AttemptConnect (FString Uri, FString Protocol="wss") |
|
| DECLARE_EVENT (MultiplayerWebSocket, FSocketConnected) |
|
| DECLARE_EVENT_OneParam (MultiplayerWebSocket, FSocketConnectFailed, const FString &) |
|
| DECLARE_EVENT_OneParam (MultiplayerWebSocket, FSocketMessageReceived, const FString &) |
|
| DECLARE_EVENT_ThreeParams (MultiplayerWebSocket, FSocketDisconnected, int32 StatusCode, const FString &Reason, bool bWasClean) |
|
void | Disconnect () |
|
bool | IsWebsocketConnected () |
|
FSocketConnected & | OnWebSocketConnected () |
|
FSocketConnectFailed & | OnWebSocketConnectFailed () |
|
FSocketDisconnected & | OnWebSocketDisconnected () |
|
FSocketMessageReceived & | OnWebSocketMessageReceived () |
|
void | RequestMatchMake (int OrgId, int ModuleId) |
|
Definition at line 20 of file MultiplayerWebSocket.h.
◆ MultiplayerWebSocket()
MultiplayerWebSocket::MultiplayerWebSocket |
( |
| ) |
|
◆ ~MultiplayerWebSocket()
MultiplayerWebSocket::~MultiplayerWebSocket |
( |
| ) |
|
◆ AttemptConnect()
bool MultiplayerWebSocket::AttemptConnect |
( |
FString | Uri, |
|
|
FString | Protocol = "wss" ) |
◆ CleanUpRequests()
void MultiplayerWebSocket::CleanUpRequests |
( |
| ) |
|
|
private |
◆ DECLARE_EVENT()
◆ DECLARE_EVENT_OneParam() [1/2]
MultiplayerWebSocket::DECLARE_EVENT_OneParam |
( |
MultiplayerWebSocket | , |
|
|
FSocketConnectFailed | , |
|
|
const FString & | ) |
◆ DECLARE_EVENT_OneParam() [2/2]
MultiplayerWebSocket::DECLARE_EVENT_OneParam |
( |
MultiplayerWebSocket | , |
|
|
FSocketMessageReceived | , |
|
|
const FString & | ) |
◆ DECLARE_EVENT_ThreeParams()
MultiplayerWebSocket::DECLARE_EVENT_ThreeParams |
( |
MultiplayerWebSocket | , |
|
|
FSocketDisconnected | , |
|
|
int32 | StatusCode, |
|
|
const FString & | Reason, |
|
|
bool | bWasClean ) |
◆ Disconnect()
void MultiplayerWebSocket::Disconnect |
( |
| ) |
|
◆ IsWebsocketConnected()
bool MultiplayerWebSocket::IsWebsocketConnected |
( |
| ) |
|
◆ OnWebSocketConnected()
FSocketConnected & MultiplayerWebSocket::OnWebSocketConnected |
( |
| ) |
|
|
inline |
◆ OnWebSocketConnectFailed()
FSocketConnectFailed & MultiplayerWebSocket::OnWebSocketConnectFailed |
( |
| ) |
|
|
inline |
◆ OnWebSocketDisconnected()
FSocketDisconnected & MultiplayerWebSocket::OnWebSocketDisconnected |
( |
| ) |
|
|
inline |
◆ OnWebSocketMessageReceived()
FSocketMessageReceived & MultiplayerWebSocket::OnWebSocketMessageReceived |
( |
| ) |
|
|
inline |
◆ ProcessNextRequest()
void MultiplayerWebSocket::ProcessNextRequest |
( |
| ) |
|
|
private |
◆ RequestMatchMake()
void MultiplayerWebSocket::RequestMatchMake |
( |
int | OrgId, |
|
|
int | ModuleId ) |
◆ SendData()
void MultiplayerWebSocket::SendData |
( |
FString | Data | ) |
|
|
private |
◆ SetupSocket()
void MultiplayerWebSocket::SetupSocket |
( |
TSharedPtr< IWebSocket > & | Socket, |
|
|
FString | Uri, |
|
|
FString | Protocol ) |
|
private |
◆ bShouldReplayLastRequestOnBadClose
bool MultiplayerWebSocket::bShouldReplayLastRequestOnBadClose |
◆ bShouldRestartOnBadClose
bool MultiplayerWebSocket::bShouldRestartOnBadClose |
◆ LastWebSocketRequest
◆ PendingWebsocketRequests
◆ SocketConnectedEvent
FSocketConnected MultiplayerWebSocket::SocketConnectedEvent |
|
private |
◆ SocketConnectFailedEvent
FSocketConnectFailed MultiplayerWebSocket::SocketConnectFailedEvent |
|
private |
◆ SocketDisconnectedEvent
FSocketDisconnected MultiplayerWebSocket::SocketDisconnectedEvent |
|
private |
◆ SocketMessageReceivedEvent
FSocketMessageReceived MultiplayerWebSocket::SocketMessageReceivedEvent |
|
private |
◆ SocketProtocol
FString MultiplayerWebSocket::SocketProtocol |
|
private |
◆ SocketUri
FString MultiplayerWebSocket::SocketUri |
|
private |
◆ WebSocket
TSharedPtr<IWebSocket> MultiplayerWebSocket::WebSocket |
|
private |
The documentation for this class was generated from the following files: