Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/INetworkingWebSocket.h |
| Include | #include "INetworkingWebSocket.h" |
Syntax
class INetworkingWebSocket
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Flush () |
Service libwebsocket until outgoing buffer is empty | |
| TArray< uint8 > | GetRawRemoteAddr
(
int32& OutPort |
Helper functions to describe end points. | |
| sockaddr_in * | |||
| FString | LocalEndPoint
(
bool bAppendPort |
||
| FString | RemoteEndPoint
(
bool bAppendPort |
||
| bool | Send
(
const uint8* Data, |
Send raw data to remote end point. | |
| void | SetConnectedCallBack
(
FWebSocketInfoCallBack CallBack |
Set various callbacks for Socket Events | |
| void | SetErrorCallBack
(
FWebSocketInfoCallBack CallBack |
||
| void | SetReceiveCallBack
(
FWebSocketPacketReceivedCallBack CallBack |
||
| void | SetSocketClosedCallBack
(
FWebSocketInfoCallBack CallBack |
||
| void | Tick () |
Service libwebsocket. |