mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 09:04:53 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
committed by
Andrew Kaster
parent
21fe86d235
commit
c25485700a
@@ -17,7 +17,7 @@ bool ConnectionInfo::is_secure() const
|
||||
{
|
||||
// RFC 6455 Section 3 :
|
||||
// The URI is called "secure" if the scheme component matches "wss" case-insensitively.
|
||||
return m_url.scheme().equals_ignoring_ascii_case("wss"sv);
|
||||
return m_url.scheme().bytes_as_string_view().equals_ignoring_ascii_case("wss"sv);
|
||||
}
|
||||
|
||||
DeprecatedString ConnectionInfo::resource_name() const
|
||||
|
||||
Reference in New Issue
Block a user