PercentEncode¶
Percent-encode characters that are not allowed unencoded in the specified URI component per RFC 3986.
For URIPartHost, this applies to reg-name hosts only. IP-literals
(IPv6 addresses and IPvFuture in brackets) have their own syntax and
should not be percent-encoded — pass them through unchanged.
Constructors¶
create¶
Returns¶
- PercentEncode val^
Public Functions¶
apply¶
fun box apply(
input: String val,
part: (URIPartUserinfo val | URIPartHost val | URIPartPath val |
URIPartQuery val | URIPartFragment val))
: String val
Parameters¶
- input: String val
- part: (URIPartUserinfo val | URIPartHost val | URIPartPath val | URIPartQuery val | URIPartFragment val)
Returns¶
- String val
eq¶
Parameters¶
- that: PercentEncode val
Returns¶
- Bool val
ne¶
Parameters¶
- that: PercentEncode val
Returns¶
- Bool val