![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <HttpServerModule.h>
Inheritance diagram for FHttpServerModule:Public Member Functions | |
| FHttpServerModule () | |
| ~FHttpServerModule () | |
| HTTPSERVER_API TSharedPtr< IHttpRouter > | GetHttpRouter (uint32 Port, bool bFailOnBindFailure=false) |
| bool | Tick (float DeltaTime) override |
| HTTPSERVER_API void | StartAllListeners () |
| HTTPSERVER_API void | StopAllListeners () |
| HTTPSERVER_API bool | HasPendingListeners () const |
| virtual void | StartupModule () override |
| virtual void | ShutdownModule () override |
Public Member Functions inherited from IModuleInterface | |
| virtual | ~IModuleInterface () |
| virtual void | PreUnloadCallback () |
| virtual void | PostLoadCallback () |
| virtual bool | SupportsDynamicReloading () |
| virtual bool | SupportsAutomaticShutdown () |
| virtual bool | IsGameModule () const |
Public Member Functions inherited from FTSTickerObjectBase | |
| UE_NONCOPYABLE (FTSTickerObjectBase) | |
| CORE_API | FTSTickerObjectBase (float InDelay=0.0f, FTSTicker &Ticker=FTSTicker::GetCoreTicker()) |
| virtual CORE_API | ~FTSTickerObjectBase () |
Static Public Member Functions | |
| static HTTPSERVER_API bool | IsAvailable () |
| static HTTPSERVER_API FHttpServerModule & | Get () |
Module for HtttpServer Implementation
| FHttpServerModule::FHttpServerModule | ( | ) |
| FHttpServerModule::~FHttpServerModule | ( | ) |
|
static |
Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
| TSharedPtr< IHttpRouter > FHttpServerModule::GetHttpRouter | ( | uint32 | Port, |
| bool | bFailOnBindFailure = false |
||
| ) |
Per-port-binding access to an http router
| Port | The listener's bound port |
| bFailOnBindFailure | if true, return nullptr if we fail to bind/listen on the given port |
| bool FHttpServerModule::HasPendingListeners | ( | ) | const |
Determines if any listeners are pending operations
|
static |
Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.
|
overridevirtual |
Called when voice module is unloaded Shutdown platform specific parts of template handling
Reimplemented from IModuleInterface.
| void FHttpServerModule::StartAllListeners | ( | ) |
Starts all listeners
|
overridevirtual |
Called when voice module is loaded Initialize platform specific parts of template handling
Reimplemented from IModuleInterface.
| void FHttpServerModule::StopAllListeners | ( | ) |
Stops all listeners
FTSTicker callback
| DeltaTime | The time in seconds since the last tick |
Implements FTSTickerObjectBase.