Contents

query

The query URL component as a string, or nil if not present.

Declaration

var query: String? { get set }

Discussion

For example, in the URL http://www.example.com/index.php?key1=value1&key2=value2, the query string is key1=value1&key2=value2.

See Also

Accessing components in native format