Module |
|
Header |
/Engine/Source/Runtime/Online/WebSockets/Public/IWebSocketsManager.h |
Include |
#include "IWebSocketsManager.h" |
TSharedRef< IWebSocket > CreateWebSocket
(
const FString & Url,
const TArray< FString > & Protocols,
const TMap< FString, FString > & UpgradeHeaders
)
Instantiates a new web socket for the current platform
new IWebSocket instance
Parameter |
Description |
---|---|
Url |
The URL to which to connect; this should be the URL to which the WebSocket server will respond. |
Protocols |
a list of protocols the client will handle. |