AK: Port URL scheme from DeprecatedString to String

This commit is contained in:
Shannon Booth
2023-08-12 16:52:41 +12:00
committed by Andrew Kaster
parent 21fe86d235
commit c25485700a
16 changed files with 30 additions and 30 deletions

View File

@@ -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