class
#include <IO/WebRequest.h>
WebSessionAsync Represents web session that allows WebRequestAsync to be created.
Base classes
- class WebSessionBase
- Base class of web sessions.
Public static functions
- static auto GetDefault() -> WebSessionAsync&
- Returns the default session for asynchronous requests.
- static auto New() -> WebSessionAsync
- Creates a new session for asynchronous requests.
Constructors, destructors, conversion operators
- WebSessionAsync() defaulted
- WebSessionAsync(const WebSessionAsync& other) defaulted
Public functions
- auto operator=(const WebSessionAsync& other) -> WebSessionAsync& defaulted
-
auto CreateRequest(Containers::
StringView url, Containers:: Function<void(WebRequestEvent& e)>&& callback, std:: int32_t id = -1) -> WebRequestAsync - Creates a new asynchronous request.