PathSegments¶
Split a URI path on / delimiters, then percent-decode each segment.
A leading / produces an empty first segment (distinguishes absolute
from relative paths). Splitting happens before decoding, so a
percent-encoded / (%2F) within a segment is preserved as a literal
slash in the decoded segment, not treated as a delimiter.
Constructors¶
create¶
Returns¶
- PathSegments val^
Public Functions¶
apply¶
Parameters¶
- path: String val
Returns¶
- (Array[String val] val | InvalidPercentEncoding val)
eq¶
Parameters¶
- that: PathSegments val
Returns¶
- Bool val
ne¶
Parameters¶
- that: PathSegments val
Returns¶
- Bool val