CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::FileURLProtocol::Request Class Reference

The URLRequest object for FileURLProtocol. More...

#include <CeresEngine/Foundation/IO/URLSession.File.hpp>

Inheritance diagram for CeresEngine::FileURLProtocol::Request:
CeresEngine::IURLRequest

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.
 

Detailed Description

The URLRequest object for FileURLProtocol.

Constructor & Destructor Documentation

◆ Request() [1/2]

CeresEngine::FileURLProtocol::Request::Request ( const IURLRequest other)
inlineexplicit

Creates a new Request object by copying from another.

◆ Request() [2/2]

CeresEngine::FileURLProtocol::Request::Request ( const URL url,
const CachePolicy cachePolicy = CachePolicy::Default 
)
inlineexplicit

Creates a new Request object.

Member Data Documentation

◆ allowMissing

bool CeresEngine::FileURLProtocol::Request::allowMissing = false

Allows returning a response even if the file is missing.


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