mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibWebSocket: Support specifying root certificate path
This commit is contained in:
parent
b8f609099a
commit
24d3da64e5
Notes:
github-actions[bot]
2025-02-17 18:53:40 +00:00
Author: https://github.com/devgianlu
Commit: 24d3da64e5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3571
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard ✅
4 changed files with 22 additions and 4 deletions
|
@ -30,6 +30,9 @@ public:
|
|||
HTTP::HeaderMap const& headers() const { return m_headers; }
|
||||
void set_headers(HTTP::HeaderMap headers) { m_headers = move(headers); }
|
||||
|
||||
Optional<ByteString> const& root_certificates_path() const { return m_root_certificates_path; }
|
||||
void set_root_certificates_path(Optional<ByteString> root_certificates_path) { m_root_certificates_path = move(root_certificates_path); }
|
||||
|
||||
// secure flag - defined in RFC 6455 Section 3
|
||||
bool is_secure() const;
|
||||
|
||||
|
@ -42,6 +45,7 @@ private:
|
|||
Vector<ByteString> m_protocols {};
|
||||
Vector<ByteString> m_extensions {};
|
||||
HTTP::HeaderMap m_headers;
|
||||
Optional<ByteString> m_root_certificates_path;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue