Navigation
API > API/Runtime > API/Runtime/WebSockets > API/Runtime/WebSockets/IWebSocketsManager
References
| Module | WebSockets |
| Header | /Engine/Source/Runtime/Online/WebSockets/Public/IWebSocketsManager.h |
| Include | #include "IWebSocketsManager.h" |
TSharedRef< IWebSocket > CreateWebSocket
&40;
const FString & Url,
const TArray< FString > & Protocols,
const TMap< FString, FString > & UpgradeHeaders
&41;
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. |