ScummVM API documentation
Networking::Session Class Reference

Public Member Functions

 Session (const Common::String &prefix=Common::String())
 
SessionRequestget (const Common::String &url, const Common::Path &localFile, DataCallback cb=nullptr, ErrorCallback ecb=nullptr, bool binary=false)
 
void close ()
 Gracefully close the session.
 
void abortRequest ()
 Abort session and remove unfinished downloads if they go to local file.
 

Protected Attributes

Common::String _prefix
 
SessionRequest_request
 

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