Package dev.inmo.micro_utils.ktor.common

Types

CorrectCloseException
Link copied to clipboard
object CorrectCloseException : Exception
object CorrectCloseException : Exception
object CorrectCloseException : Exception
FromToDateTime
Link copied to clipboard
typealias FromToDateTime = Pair<<ERROR CLASS>?, <ERROR CLASS>?>
typealias FromToDateTime = Pair<<ERROR CLASS>?, <ERROR CLASS>?>
typealias FromToDateTime = Pair<<ERROR CLASS>?, <ERROR CLASS>?>
QueryParam
Link copied to clipboard
typealias QueryParam = Pair<String, String?>
typealias QueryParam = Pair<String, String?>
typealias QueryParam = Pair<String, String?>
QueryParams
Link copied to clipboard
typealias QueryParams = Map<String, String?>
typealias QueryParams = Map<String, String?>
typealias QueryParams = Map<String, String?>
StandardKtorSerialFormat
Link copied to clipboard
typealias StandardKtorSerialFormat = BinaryFormat
typealias StandardKtorSerialFormat = BinaryFormat
typealias StandardKtorSerialFormat = BinaryFormat
StandardKtorSerialInputData
Link copied to clipboard
typealias StandardKtorSerialInputData = ByteArray
typealias StandardKtorSerialInputData = ByteArray
typealias StandardKtorSerialInputData = ByteArray

Functions

buildStandardUrl
Link copied to clipboard
fun buildStandardUrl(basePart: String, subpart: String, vararg parameters: QueryParam): String
fun buildStandardUrl(basePart: String, subpart: String, parameters: List<QueryParam>): String
fun buildStandardUrl(basePart: String, subpart: String, parameters: QueryParams = emptyMap()): String
fun buildStandardUrl(basePart: String, subpart: String, vararg parameters: QueryParam): String
fun buildStandardUrl(basePart: String, subpart: String, parameters: List<QueryParam>): String
fun buildStandardUrl(basePart: String, subpart: String, parameters: QueryParams = emptyMap()): String
fun buildStandardUrl(basePart: String, subpart: String, vararg parameters: QueryParam): String
fun buildStandardUrl(basePart: String, subpart: String, parameters: List<QueryParam>): String
fun buildStandardUrl(basePart: String, subpart: String, parameters: QueryParams = emptyMap()): String
decodeDefault
Link copied to clipboard
inline fun <T> StandardKtorSerialFormat.decodeDefault(deserializationStrategy: DeserializationStrategy<T>, input: StandardKtorSerialInputData): T
inline fun <T> StandardKtorSerialFormat.decodeDefault(deserializationStrategy: DeserializationStrategy<T>, input: StandardKtorSerialInputData): T
inline fun <T> StandardKtorSerialFormat.decodeDefault(deserializationStrategy: DeserializationStrategy<T>, input: StandardKtorSerialInputData): T
decodeHex
Link copied to clipboard
inline fun <T> StandardKtorSerialFormat.decodeHex(deserializationStrategy: DeserializationStrategy<T>, input: String): T
inline fun <T> StandardKtorSerialFormat.decodeHex(deserializationStrategy: DeserializationStrategy<T>, input: String): T
inline fun <T> StandardKtorSerialFormat.decodeHex(deserializationStrategy: DeserializationStrategy<T>, input: String): T
encodeDefault
Link copied to clipboard
inline fun <T> StandardKtorSerialFormat.encodeDefault(serializationStrategy: SerializationStrategy<T>, data: T): StandardKtorSerialInputData
inline fun <T> StandardKtorSerialFormat.encodeDefault(serializationStrategy: SerializationStrategy<T>, data: T): StandardKtorSerialInputData
inline fun <T> StandardKtorSerialFormat.encodeDefault(serializationStrategy: SerializationStrategy<T>, data: T): StandardKtorSerialInputData
encodeHex
Link copied to clipboard
inline fun <T> StandardKtorSerialFormat.encodeHex(serializationStrategy: SerializationStrategy<T>, data: T): String
inline fun <T> StandardKtorSerialFormat.encodeHex(serializationStrategy: SerializationStrategy<T>, data: T): String
inline fun <T> StandardKtorSerialFormat.encodeHex(serializationStrategy: SerializationStrategy<T>, data: T): String
includeQueryParams
Link copied to clipboard
fun String.includeQueryParams(queryParams: List<QueryParam>): String
fun String.includeQueryParams(queryParams: QueryParams): String

Create query part which includes key=value pairs separated with & and attach to receiver

fun String.includeQueryParams(queryParams: List<QueryParam>): String
fun String.includeQueryParams(queryParams: QueryParams): String

Create query part which includes key=value pairs separated with & and attach to receiver

fun String.includeQueryParams(queryParams: List<QueryParam>): String
fun String.includeQueryParams(queryParams: QueryParams): String

Create query part which includes key=value pairs separated with & and attach to receiver

Properties

Link copied to clipboard
val String.asCorrectWebSocketUrl: String
Link copied to clipboard
val String.asCorrectWebSocketUrl: String
Link copied to clipboard
val String.asCorrectWebSocketUrl: String
Link copied to clipboard
val FromToDateTime.asFromToUrlPart: QueryParams
Link copied to clipboard
val FromToDateTime.asFromToUrlPart: QueryParams
Link copied to clipboard
val FromToDateTime.asFromToUrlPart: QueryParams
Link copied to clipboard
val QueryParams.asUrlQuery: String

Create query part which includes key=value pairs separated with &

Link copied to clipboard
val QueryParams.asUrlQuery: String

Create query part which includes key=value pairs separated with &

Link copied to clipboard
val QueryParams.asUrlQuery: String

Create query part which includes key=value pairs separated with &

Link copied to clipboard
val List<QueryParam>.asUrlQuery: String

Create query part which includes key=value pairs separated with &

Link copied to clipboard
val List<QueryParam>.asUrlQuery: String

Create query part which includes key=value pairs separated with &

Link copied to clipboard
val List<QueryParam>.asUrlQuery: String

Create query part which includes key=value pairs separated with &

Link copied to clipboard
val cbor: <ERROR CLASS>
Link copied to clipboard
val cbor: <ERROR CLASS>
Link copied to clipboard
val cbor: <ERROR CLASS>
Link copied to clipboard
val QueryParams.extractFromToDateTime: FromToDateTime
Link copied to clipboard
val QueryParams.extractFromToDateTime: FromToDateTime
Link copied to clipboard
val QueryParams.extractFromToDateTime: FromToDateTime
Link copied to clipboard
val String.parseUrlQuery: QueryParams
Link copied to clipboard
val String.parseUrlQuery: QueryParams
Link copied to clipboard
val String.parseUrlQuery: QueryParams
Link copied to clipboard
val standardKtorSerialFormat: StandardKtorSerialFormat
Link copied to clipboard
val standardKtorSerialFormat: StandardKtorSerialFormat
Link copied to clipboard
val standardKtorSerialFormat: StandardKtorSerialFormat