Package dev. inmo. micro_utils. ktor. client
Types
Body Pair
Link copied to clipboard
Unified Requester
Link copied to clipboard
class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)
Content copied to clipboard
class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)
Content copied to clipboard
class UnifiedRequester(client: <ERROR CLASS>, serialFormat: StandardKtorSerialFormat)
Content copied to clipboard
Functions
create Standard Websocket Flow
Link copied to clipboard
inline fun <T> <ERROR CLASS>.createStandardWebsocketFlow(url: String, crossinline checkReconnection: (Throwable?) -> Boolean = { true }, crossinline conversation: suspend (StandardKtorSerialInputData) -> T): Flow<T>
Content copied to clipboard
inline fun <T> <ERROR CLASS>.createStandardWebsocketFlow(url: String, crossinline checkReconnection: (Throwable?) -> Boolean = { true }, deserializer: DeserializationStrategy<T>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
inline fun <T> <ERROR CLASS>.createStandardWebsocketFlow(url: String, crossinline checkReconnection: (Throwable?) -> Boolean = { true }, crossinline conversation: suspend (StandardKtorSerialInputData) -> T): Flow<T>
Content copied to clipboard
inline fun <T> <ERROR CLASS>.createStandardWebsocketFlow(url: String, crossinline checkReconnection: (Throwable?) -> Boolean = { true }, deserializer: DeserializationStrategy<T>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
inline fun <T> <ERROR CLASS>.createStandardWebsocketFlow(url: String, crossinline checkReconnection: (Throwable?) -> Boolean = { true }, crossinline conversation: suspend (StandardKtorSerialInputData) -> T): Flow<T>
Content copied to clipboard
inline fun <T> <ERROR CLASS>.createStandardWebsocketFlow(url: String, crossinline checkReconnection: (Throwable?) -> Boolean = { true }, deserializer: DeserializationStrategy<T>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
encode Url Query Value
Link copied to clipboard
fun <T> SerializationStrategy<T>.encodeUrlQueryValue(value: T, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): String
Content copied to clipboard
fun <T> SerializationStrategy<T>.encodeUrlQueryValue(value: T, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): String
Content copied to clipboard
fun <T> SerializationStrategy<T>.encodeUrlQueryValue(value: T, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): String
Content copied to clipboard
uniget
Link copied to clipboard
suspend fun <ResultType> <ERROR CLASS>.uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
suspend fun <ResultType> <ERROR CLASS>.uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
suspend fun <ResultType> <ERROR CLASS>.uniget(url: String, resultDeserializer: DeserializationStrategy<ResultType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
unipost
Link copied to clipboard
suspend fun <BodyType, ResultType> <ERROR CLASS>.unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
suspend fun <BodyType, ResultType> <ERROR CLASS>.unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
suspend fun <BodyType, ResultType> <ERROR CLASS>.unipost(url: String, bodyInfo: BodyPair<BodyType>, resultDeserializer: DeserializationStrategy<ResultType>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat): <ERROR CLASS>
Content copied to clipboard
Properties
defaultRequester
Link copied to clipboard
defaultRequester
Link copied to clipboard
defaultRequester
Link copied to clipboard