UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
FSignalRModule Class Reference

Module that provides SignalR client functionality for Unreal Engine. More...

#include <SignalRModule.h>

Inheritance diagram for FSignalRModule:

Public Member Functions

SIGNALR_API TSharedPtr< IHubConnectionCreateHubConnection (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 FSignalRModuleGet ()
 Singleton-like access to this module's interface.
 

Detailed Description

Module that provides SignalR client functionality for Unreal Engine.

Handles hub connections and communication with SignalR servers.

Member Function Documentation

◆ CreateHubConnection()

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.

Parameters
InUrlThe URL of the SignalR hub to connect to.
InHeadersOptional HTTP headers to include in the connection request.
Returns
An IHubConnection instance

◆ Get()

FSignalRModule & FSignalRModule::Get ( )
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.

Returns
Returns the singleton instance of the SignalR module, loading the module on demand if needed

The documentation for this class was generated from the following files: