ScummVM API documentation
Networking::LocalWebserver Class Reference
Inheritance diagram for Networking::LocalWebserver:
Common::Singleton< LocalWebserver > Common::NonCopyable

Public Member Functions

void start (bool useMinimalMode=false)
 
void stop ()
 
void stopOnIdle ()
 
Common::String getAddress ()
 
IndexPageHandlerindexPageHandler ()
 
bool isRunning ()
 

Static Public Member Functions

static uint32 getPort ()
 
static void setClientGetHandler (Client &client, const Common::String &response, long code=200, const char *mimeType=nullptr)
 
static void setClientGetHandler (Client &client, Common::SeekableReadStream *responseStream, long code=200, const char *mimeType=nullptr)
 
static void setClientRedirectHandler (Client &client, const Common::String &response, const Common::String &location, const char *mimeType=nullptr)
 
static void setClientRedirectHandler (Client &client, Common::SeekableReadStream *responseStream, const Common::String &location, const char *mimeType=nullptr)
 
static Common::String urlDecode (const Common::String &value)
 
static Common::String urlEncodeQueryParameterValue (const Common::String &value)
 
- Static Public Member Functions inherited from Common::Singleton< LocalWebserver >
static bool hasInstance ()
 
static LocalWebserver & instance ()
 
static void destroy ()
 

Static Public Attributes

static const uint32 DEFAULT_SERVER_PORT = 12345
 

Friends

void localWebserverTimer (void *)
 

Additional Inherited Members

- Protected Types inherited from Common::Singleton< LocalWebserver >
typedef LocalWebserver SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< LocalWebserver >
static LocalWebserver * _singleton
 

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