Skip to content

IRIPercentEncode

[Source]

IRI-aware percent-encoding for constructing IRIs from unencoded text.

Like PercentEncode, but preserves non-ASCII characters that are allowed literally in IRIs per RFC 3987: ucschar codepoints in all components, plus iprivate codepoints in the query component. Non-ASCII characters outside these ranges are percent-encoded byte-by-byte.

ASCII encoding rules are identical to PercentEncode — the URIPart parameter selects the same component-specific allowed characters.

primitive val IRIPercentEncode

Constructors

create

[Source]

new val create()
: IRIPercentEncode val^

Returns


Public Functions

apply

[Source]

fun box apply(
  input: String val,
  part: (URIPartUserinfo val | URIPartHost val | URIPartPath val | 
    URIPartQuery val | URIPartFragment val))
: String val

Parameters

Returns


eq

[Source]

fun box eq(
  that: IRIPercentEncode val)
: Bool val

Parameters

Returns


ne

[Source]

fun box ne(
  that: IRIPercentEncode val)
: Bool val

Parameters

Returns