QueryParams¶
Encode key-value pairs as a URL query string using RFC 3986 percent-encoding.
Returns a string like key1=value1&key2=value2 with all keys and values
percent-encoded. No leading ? — the caller or request builder prepends
that when appending to a path.
Returns an empty string for empty params.
Constructors¶
create¶
Returns¶
- QueryParams val^
Public Functions¶
apply¶
Encode params as a query string.
Keys and values are percent-encoded per RFC 3986. Pairs are joined with
&. Returns an empty string if params is empty.
Parameters¶
Returns¶
- String val
eq¶
Parameters¶
- that: QueryParams val
Returns¶
- Bool val
ne¶
Parameters¶
- that: QueryParams val
Returns¶
- Bool val