Navigation
Unreal Engine C++ API Reference > Runtime > WebSockets > IWebSocketsManager
References
Module | WebSockets |
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
)
Remarks
Instantiates a new web socket for the current platform new IWebSocket instance
Parameters
Name | 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. |