Package-level declarations
Types
Link copied to clipboard
class TemporalFilesRoutingConfigurator(subpath: String = DefaultTemporalFilesSubPath, temporalFilesUtilizer: TemporalFilesRoutingConfigurator.TemporalFilesUtilizer = TemporalFilesUtilizer) : ApplicationRoutingConfigurator.Element
Functions
Link copied to clipboard
fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: <Error class: unknown class>.() -> Unit = {}, block: <Error class: unknown class>.() -> Unit): <Error class: unknown class>
fun createKtorServer(host: String = "localhost", port: Int = Random.nextInt(1024, 65535), configurators: List<KtorApplicationConfigurator>, additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: <Error class: unknown class>.() -> Unit = {}): <Error class: unknown class>
Create server with CIO server engine without starting of it
fun <TEngine, TConfiguration> createKtorServer(engine: <Error class: unknown class><TEngine, TConfiguration>, host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: TConfiguration.() -> Unit = {}, block: <Error class: unknown class>.() -> Unit): TEngine
fun <TEngine, TConfiguration> createKtorServer(engine: <Error class: unknown class><TEngine, TConfiguration>, host: String = "localhost", port: Int = Random.nextInt(1024, 65535), additionalEngineEnvironmentConfigurator: <Error class: unknown class>.() -> Unit = {}, additionalConfigurationConfigurator: TConfiguration.() -> Unit = {}, configurators: List<KtorApplicationConfigurator>): TEngine
Link copied to clipboard
Link copied to clipboard
suspend fun <Error class: unknown class>.getParameterOrSendError(field: String): <Error class: unknown class>
Link copied to clipboard
suspend fun <Error class: unknown class>.getParametersOrSendError(field: String): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
suspend fun <Error class: unknown class>.getQueryParameterOrSendError(field: String): <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
suspend fun <Error class: unknown class>.getQueryParametersOrSendError(field: String): <Error class: unknown class>
Link copied to clipboard
inline suspend fun <Error class: unknown class>.handleUniUpload(onFormItem: (<Error class: unknown class>) -> Unit = {}, onBinaryContent: (<Error class: unknown class>) -> Unit = {}, onBinaryChannelItem: (<Error class: unknown class>) -> Unit = {}, onFileItem: (<Error class: unknown class>) -> Unit = {})
Server-side part which receives dev.inmo.micro_utils.ktor.client.uniUpload request
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun <Error class: unknown class>.uniloadMultipart(onFormItem: (<Error class: unknown class>) -> Unit = {}, onCustomFileItem: (<Error class: unknown class>) -> Unit = {}, onBinaryChannelItem: (<Error class: unknown class>) -> Unit = {}, onBinaryContent: (<Error class: unknown class>) -> Unit = {}): <Error class: unknown class>
Link copied to clipboard
suspend fun <Error class: unknown class>.uniloadMultipartFile(onFormItem: (<Error class: unknown class>) -> Unit = {}, onCustomFileItem: (<Error class: unknown class>) -> Unit = {}, onBinaryChannelItem: (<Error class: unknown class>) -> Unit = {}, onBinaryContent: (<Error class: unknown class>) -> Unit = {}): MPPFile