mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibTLS: Pass socket address as const reference
This commit is contained in:
parent
752f5b18fd
commit
f74131d50a
Notes:
github-actions[bot]
2025-02-22 17:41:09 +00:00
Author: https://github.com/devgianlu
Commit: f74131d50a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3669
Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
virtual ErrorOr<void> set_blocking(bool block) override;
|
||||
virtual ErrorOr<void> set_close_on_exec(bool enabled) override;
|
||||
|
||||
static ErrorOr<NonnullOwnPtr<TLSv12>> connect(Core::SocketAddress, ByteString const& host, Options = {});
|
||||
static ErrorOr<NonnullOwnPtr<TLSv12>> connect(Core::SocketAddress const&, ByteString const& host, Options = {});
|
||||
static ErrorOr<NonnullOwnPtr<TLSv12>> connect(ByteString const& host, u16 port, Options = {});
|
||||
|
||||
~TLSv12() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue