Module that provides SignalR client functionality for Unreal Engine. More...
#include <SignalRModule.h>
Public Member Functions | |
SIGNALR_API TSharedPtr< IHubConnection > | CreateHubConnection (const FString &InUrl, const TMap< FString, FString > &InHeaders=TMap< FString, FString >()) const |
Creates a new hub connection to the specified URL. | |
Static Public Member Functions | |
static SIGNALR_API FSignalRModule & | Get () |
Singleton-like access to this module's interface. | |
Module that provides SignalR client functionality for Unreal Engine.
Handles hub connections and communication with SignalR servers.
TSharedPtr< IHubConnection > FSignalRModule::CreateHubConnection | ( | const FString & | InUrl, |
const TMap< FString, FString > & | InHeaders = TMap<FString, FString>() ) const |
Creates a new hub connection to the specified URL.
InUrl | The URL of the SignalR hub to connect to. |
InHeaders | Optional HTTP headers to include in the connection request. |
|
static |
Singleton-like access to this module's interface.
Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.