LibWebView: Add a command line flag to enable the HTTP disk cache

This adds a RequestServerOptions structure to hold this option and the
only other RS option we currently have (certificates).
This commit is contained in:
Timothy Flynn 2025-10-08 21:17:05 -04:00 committed by Andreas Kling
parent 3516a2344f
commit 42eaea1043
Notes: github-actions[bot] 2025-10-14 11:41:44 +00:00
4 changed files with 26 additions and 3 deletions

View file

@ -48,6 +48,7 @@ public:
static Settings& settings() { return the().m_settings; }
static BrowserOptions const& browser_options() { return the().m_browser_options; }
static RequestServerOptions const& request_server_options() { return the().m_request_server_options; }
static WebContentOptions& web_content_options() { return the().m_web_content_options; }
static Requests::RequestClient& request_server_client() { return *the().m_request_server_client; }
@ -174,6 +175,7 @@ private:
Main::Arguments m_arguments;
BrowserOptions m_browser_options;
RequestServerOptions m_request_server_options;
WebContentOptions m_web_content_options;
RefPtr<Requests::RequestClient> m_request_server_client;