Package com.motorro.keeplink.uri
Base cross-platform tools for URI parsing and building
Base cross-platform tools for URI parsing and building
Base cross-platform tools for URI parsing and building
Base cross-platform tools for URI parsing and building
Types
Link copied to clipboard
Serializes PshComponents
Link copied to clipboard
class UriComponents( val scheme: String, val host: String, path: Array<String>, search: Array<Param>, hash: String) : PshComponents
Content copied to clipboard
Cross-platform URI representation
Functions
Link copied to clipboard
Builds string URI from UriComponents
Builds string URI from UriComponents (iOS implementation)
Builds string URI from UriComponents (JS implementation)
Builds string URI from UriComponents (JVM implementation)
Link copied to clipboard
fun pshComponentsOf( path: List<String>, search: List<Param>, hash: String): PshComponents
Content copied to clipboard
fun pshComponentsOf( path: List<String>, search: Map<String, String> = emptyMap(), hash: String = ""): PshComponents
Content copied to clipboard
Creates PSH components
Link copied to clipboard
fun searchComponentOf(vararg search: Pair<String, String>): SearchComponent
Content copied to clipboard
Creates search components
Link copied to clipboard
Parses string URI to UriComponents
Parses string URI to UriComponents (iOS implementation)
Parses string URI to UriComponents (JS implementation)
Parses string URI to UriComponents (JVM implementation)
Link copied to clipboard
fun uriComponentsOf( scheme: String, host: String, path: List<String>, search: Map<String, String> = emptyMap(), hash: String = ""): UriComponents
Content copied to clipboard
Creates URI components