mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
AK: Port URL scheme from DeprecatedString to String
This commit is contained in:
parent
21fe86d235
commit
c25485700a
16 changed files with 30 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue