# dev.inmo.micro_utils.ktor.common

# Package-level declarations

## Types

CorrectCloseException
Link copied to clipboard
object CorrectCloseException : Exception
FromToDateTime
Link copied to clipboard
typealias FromToDateTime = Pair <DateTime?, DateTime?>
LambdaInputProvider
Link copied to clipboard
typealias LambdaInputProvider = () -> <Error class: unknown class>
QueryParam
Link copied to clipboard
typealias QueryParam = Pair < String , String ?>
QueryParams
Link copied to clipboard
typealias QueryParams = Map < String , String ?>
StandardKtorSerialFormat
Link copied to clipboard
typealias StandardKtorSerialFormat = BinaryFormat
StandardKtorSerialInputData
Link copied to clipboard
typealias StandardKtorSerialInputData = ByteArray
TemporalFileId
Link copied to clipboard
@Serializable
@ JvmInline
value class TemporalFileId (val string: String )

## Properties

asCorrectWebSocketUrl
Link copied to clipboard
val String . asCorrectWebSocketUrl : String
asFromToUrlPart
Link copied to clipboard
val FromToDateTime . asFromToUrlPart : QueryParams
asUrlQuery
Link copied to clipboard
val List < QueryParam >. asUrlQuery : String
val QueryParams . asUrlQuery : String

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

cbor
Link copied to clipboard
val cbor : <Error class: unknown class>
DefaultTemporalFilesSubPath
Link copied to clipboard
const val DefaultTemporalFilesSubPath : String
extractFromToDateTime
Link copied to clipboard
val QueryParams . extractFromToDateTime : FromToDateTime
parseUrlQuery
Link copied to clipboard
val String . parseUrlQuery : QueryParams
standardKtorSerialFormat
Link copied to clipboard
val standardKtorSerialFormat : StandardKtorSerialFormat

## 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
decodeDefault
Link copied to clipboard
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
downloadToTempFile
Link copied to clipboard
fun <Error class: unknown class>. downloadToTempFile (fileName: String = UUID.randomUUID().toString(), fileExtension: String ? = ".temp", folder: File ? = null): <Error class: unknown class>
encodeDefault
Link copied to clipboard
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
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

input
Link copied to clipboard
expect fun MPPFile . input (): <Error class: unknown class>
actual fun MPPFile . input (): <Error class: unknown class>
actual fun MPPFile . input (): <Error class: unknown class>