URL.query

struct URL
string[string] query;

Detailed Description

Deprecated: this disallows multiple values for the same query string. Please use queryParams instead.

The query string elements.

For instance, in the URL https://cnn.com/news/story/17774?visited=false, the query string elements will be ["visited": "false"].

Similarly, in the URL https://bbc.co.uk/news?item, the query string elements will be ["item": ""].

This field is mutable, so be cautious.

Meta