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 = <ERROR CLASS>
typealias StandardKtorSerialFormat = <ERROR CLASS>
typealias StandardKtorSerialFormat = <ERROR CLASS>
StandardKtorSerialInputData
Link copied to clipboard
typealias StandardKtorSerialInputData = ByteArray
typealias StandardKtorSerialInputData = ByteArray
typealias StandardKtorSerialInputData = ByteArray
TemporalFileId
Link copied to clipboard
value class TemporalFileId(val string: String)
value class TemporalFileId(val string: String)
value class TemporalFileId(val string: String)

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> <ERROR CLASS>.decodeDefault(deserializationStrategy: <ERROR CLASS><T>, input: StandardKtorSerialInputData): T
inline fun <T> <ERROR CLASS>.decodeDefault(deserializationStrategy: <ERROR CLASS><T>, input: StandardKtorSerialInputData): T
inline fun <T> <ERROR CLASS>.decodeDefault(deserializationStrategy: <ERROR CLASS><T>, input: StandardKtorSerialInputData): T
decodeHex
Link copied to clipboard
inline fun <T> <ERROR CLASS>.decodeHex(deserializationStrategy: <ERROR CLASS><T>, input: String): T
inline fun <T> <ERROR CLASS>.decodeHex(deserializationStrategy: <ERROR CLASS><T>, input: String): T
inline fun <T> <ERROR CLASS>.decodeHex(deserializationStrategy: <ERROR CLASS><T>, input: String): T
encodeDefault
Link copied to clipboard
inline fun <T> <ERROR CLASS>.encodeDefault(serializationStrategy: <ERROR CLASS><T>, data: T): StandardKtorSerialInputData
inline fun <T> <ERROR CLASS>.encodeDefault(serializationStrategy: <ERROR CLASS><T>, data: T): StandardKtorSerialInputData
inline fun <T> <ERROR CLASS>.encodeDefault(serializationStrategy: <ERROR CLASS><T>, data: T): StandardKtorSerialInputData
encodeHex
Link copied to clipboard
inline fun <T> <ERROR CLASS>.encodeHex(serializationStrategy: <ERROR CLASS><T>, data: T): String
inline fun <T> <ERROR CLASS>.encodeHex(serializationStrategy: <ERROR CLASS><T>, data: T): String
inline fun <T> <ERROR CLASS>.encodeHex(serializationStrategy: <ERROR CLASS><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

input
Link copied to clipboard
expect fun MPPFile.input(): <ERROR CLASS>
expect fun MPPFile.input(): <ERROR CLASS>
expect fun MPPFile.input(): <ERROR CLASS>

Properties

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

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

val List<QueryParam>.asUrlQuery: String

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

val QueryParams.asUrlQuery: String

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

val List<QueryParam>.asUrlQuery: String

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

val QueryParams.asUrlQuery: String

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

val List<QueryParam>.asUrlQuery: String

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

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