Prepared wxWebRequest implementation

This commit is contained in:
Tobias Taschner
2018-10-18 23:19:17 +02:00
parent cacd79d40e
commit e07c1bf40c
19 changed files with 593 additions and 67 deletions

View File

@@ -327,6 +327,14 @@ public:
@param factory A shared pointer to the factory which creates the appropriate backend.
*/
static void RegisterFactory(const wxString& backend, wxSharedPtr<wxWebSessionFactory> factory);
/**
Allows to check if the specified backend is available at runtime.
Usually the default backend should always be available, but e.g. macOS
before 10.9 does not have the @c NSURLSession implementation available.
*/
static bool IsBackendAvailable(const wxString& backend);
};
/**