Skip to content

added setSearch function#5

Open
stefpe wants to merge 1 commit into
codeinthehole:masterfrom
stefpe:master
Open

added setSearch function#5
stefpe wants to merge 1 commit into
codeinthehole:masterfrom
stefpe:master

Conversation

@stefpe
Copy link
Copy Markdown

@stefpe stefpe commented Mar 20, 2020

If I want to override all query parameters. Currently I have to do it like this:
url = new nurl.Url(
url.getScheme(),
url.getUser(),
url.getPassword(),
url.getHostname(),
url.getPort(),
url.getPathname(),
"a=b&c=d",
url.getHash()
);

So to simplify this, it would be really handy to just pass a new search string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants