Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPlayer
- UNetConnection
- UWebSocketConnection
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/WebSocketConnection.h |
| Include | #include "WebSocketConnection.h" |
Syntax
UCLASS&40;Transient, Config&61;Engine&41;
class UWebSocketConnection : public UNetConnection
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bChallengeHandshake | ||
| INetworkingWebSocket * | WebSocket |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWebSocketConnection
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| INetworkingWebSocket * | GetWebSocket () |
||
| void | SetWebSocket
(
INetworkingWebSocket* InWebSocket |
Overridden from UNetConnection
| Type | Name | Description | |
|---|---|---|---|
| void | InitBase
(
UNetDriver* InDriver, |
Initialize common settings for this connection instance | |
| void | InitLocalConnection
(
UNetDriver* InDriver, |
Initialize this connection instance to a remote source | |
| void | InitRemoteConnection
(
UNetDriver* InDriver, |
Initialize this connection instance from a remote source | |
| FString | |||
| FString | LowLevelGetRemoteAddress
(
bool bAppendPort |
||
| void | LowLevelSend
(
void* Data, |
Sends a byte stream to the remote endpoint using the underlying socket | |
| void | ReceivedRawPacket
(
void* Data, |
Allows the connection to process the raw data that was received | |
| void | Tick
(
float DeltaSeconds |
Poll the connection. If it is timed out, close it. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called to finish destroying the object. |