Multiplatform Ktor schema declaration • opensavvy.spine.api • Path
Path¶
class Path(val segments: List<Path.Segment>) : Iterable<Path.Segment> , Addressed
The path section in a URL.
Constructors¶
Path¶
constructor(segments: List<Path.Segment>)
constructor(vararg segments: String)
Convenience constructor that builds a Path from a list of string segments.
Types¶
Segment¶
A single segment of a URL Path.
Properties¶
path¶
segments¶
val segments: List<Path.Segment>
Functions¶
equals¶
hashCode¶
iterator¶
open operator override fun iterator(): Iterator<Path.Segment>
plus¶
operator fun plus(other: Path.Segment): Path