Navigation
API > API/Runtime > API/Runtime/WebSockets > API/Runtime/WebSockets/IWebSocket
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Send
(
const FString& Data |
Transmit data over the connection. | IWebSocket.h | |
void Send
(
const void* Data, |
Transmit data over the connection. | IWebSocket.h |
Send(const FString &)
Description
Transmit data over the connection.
| Name | Send |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/WebSockets/Public/IWebSocket.h |
| Include Path | #include "IWebSocket.h" |
void Send
(
const FString & Data
)
Parameters
| Name | Remarks |
|---|---|
| Data | data to be sent as a UTF-8 encoded string. |
Send(const void *, SIZE_T, bool)
Description
Transmit data over the connection.
| Name | Send |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/WebSockets/Public/IWebSocket.h |
| Include Path | #include "IWebSocket.h" |
void Send
(
const void * Data,
SIZE_T Size,
bool bIsBinary
)
Parameters
| Name | Remarks |
|---|---|
| Data | raw binary data to be sent. |
| Size | number of bytes to send. |
| bIsBinary | set to true to send binary frame to the peer instead of text. |