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:
parent
e89320887e
commit
7f9818bcbc
3 changed files with 82 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue