INetworkingWebSocket

Windows
MacOS
Linux

References

Module

WebSocketNetworking

Header

/Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/INetworkingWebSocket.h

Include

#include "INetworkingWebSocket.h"

Syntax

class INetworkingWebSocket

Destructors

Name Description

Public function Virtual

~INetworkingWebSocket()

Functions

Name Description

Public function

void

 

Flush()

Service libwebsocket until outgoing buffer is empty

Public function

TArray< uint...

 

GetRawRemoteAddr

(
    int32& OutPort
)

Helper functions to describe end points.

Public function

sockaddr_in ...

 

GetRemoteAddr()

Public function

FString

 

LocalEndPoint

(
    bool bAppendPort
)

Public function

FString

 

RemoteEndPoint

(
    bool bAppendPort
)

Public function

bool

 

Send

(
    const uint8* Data,
    uint32 Size,
    bool bPrependSize
)

Send raw data to remote end point.

Public function

void

 

SetConnectedCallBack

(
    FWebSocketInfoCallBack CallBack
)

Set various callbacks for Socket Events

Public function

void

 

SetErrorCallBack

(
    FWebSocketInfoCallBack CallBack
)

Public function

void

 

SetReceiveCallBack

Public function

void

 

SetSocketClosedCallBack

(
    FWebSocketInfoCallBack CallBack
)

Public function

void

 

Tick()

Service libwebsocket.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss