1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

LibWeb: Add the URL::host, URL::hostname & URL:port attributes

This commit is contained in:
Idan Horowitz 2021-09-14 00:21:29 +03:00 committed by Andreas Kling
parent e89320887e
commit 7f9818bcbc
3 changed files with 82 additions and 3 deletions

View file

@ -39,6 +39,15 @@ public:
String password() const;
void set_password(String const&);
String host() const;
void set_host(String const&);
String hostname() const;
void set_hostname(String const&);
String port() const;
void set_port(String const&);
URLSearchParams const* search_params() const;
String to_json() const;