|
CeresEngine 0.2.0
A game development framework
|
The URLRequest object for FileURLProtocol.
More...
#include <CeresEngine/Foundation/IO/URLSession.File.hpp>
Public Member Functions | |
| Request (const IURLRequest &other) | |
Creates a new Request object by copying from another. | |
| Request (const URL &url, const CachePolicy &cachePolicy=CachePolicy::Default) | |
Creates a new Request object. | |
Public Member Functions inherited from CeresEngine::IURLRequest | |
| IURLRequest (const URL &url, const CachePolicy cachePolicy=CachePolicy::Default) | |
Creates a new URLRequest instance. | |
| IURLRequest (const IURLRequest &request, const URL &url) | |
Creates a new IURLRequest object by copying from another but with a rewritten URL. | |
| virtual | ~IURLRequest () noexcept=default |
Destroys the URLRequest. | |
Public Attributes | |
| bool | allowMissing = false |
| Allows returning a response even if the file is missing. | |
Public Attributes inherited from CeresEngine::IURLRequest | |
| const URL | url |
| The URL of the request. | |
| URLRequestModeFlags | mode = URLRequestMode::Read |
| Determines the mode the request should be performed. | |
| CachePolicy | cachePolicy = CachePolicy::Default |
| The request's cache policy. | |
Additional Inherited Members | |
Public Types inherited from CeresEngine::IURLRequest | |
| using | Mode = URLRequestMode |
| Determines the mode the request should be performed. | |
The URLRequest object for FileURLProtocol.
|
inlineexplicit |
Creates a new Request object by copying from another.
|
inlineexplicit |
Creates a new Request object.
Allows returning a response even if the file is missing.