2022-06-30 07:51:04 +00:00
|
|
|
<!DOCTYPE html>
|
2023-09-01 22:34:58 +00:00
|
|
|
<html class="no-js">
|
2022-06-30 07:51:04 +00:00
|
|
|
<head>
|
2021-10-18 17:01:18 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
|
|
<title>dev.inmo.micro_utils.ktor.client</title>
|
2022-06-30 07:51:04 +00:00
|
|
|
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg">
|
|
|
|
<script>var pathToRoot = "../../";</script>
|
2023-09-01 22:34:58 +00:00
|
|
|
<script>document.documentElement.classList.replace("no-js","js");</script>
|
2022-06-30 07:51:04 +00:00
|
|
|
<script>const storage = localStorage.getItem("dokka-dark-mode")
|
2022-11-08 08:32:38 +00:00
|
|
|
if (storage == null) {
|
|
|
|
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
|
|
if (osDarkSchemePreferred === true) {
|
|
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
const savedDarkMode = JSON.parse(storage)
|
|
|
|
if(savedDarkMode === true) {
|
|
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2023-09-01 22:34:58 +00:00
|
|
|
<script type="text/javascript" src="https://unpkg.com/kotlin-playground@1/dist/playground.min.js" async="async"></script>
|
2022-06-30 07:51:04 +00:00
|
|
|
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async="async"></script>
|
|
|
|
<link href="../../styles/style.css" rel="Stylesheet">
|
|
|
|
<link href="../../styles/main.css" rel="Stylesheet">
|
|
|
|
<link href="../../styles/prism.css" rel="Stylesheet">
|
|
|
|
<link href="../../styles/logo-styles.css" rel="Stylesheet">
|
2023-09-01 22:34:58 +00:00
|
|
|
<link href="../../styles/font-jb-sans-auto.css" rel="Stylesheet">
|
2022-06-30 07:51:04 +00:00
|
|
|
<script type="text/javascript" src="../../scripts/clipboard.js" async="async"></script>
|
|
|
|
<script type="text/javascript" src="../../scripts/navigation-loader.js" async="async"></script>
|
|
|
|
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async="async"></script>
|
|
|
|
<script type="text/javascript" src="../../scripts/main.js" defer="defer"></script>
|
|
|
|
<script type="text/javascript" src="../../scripts/prism.js" async="async"></script>
|
2022-11-08 08:32:38 +00:00
|
|
|
<script type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" defer="defer"></script>
|
2022-06-30 07:51:04 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="root">
|
|
|
|
<nav class="navigation" id="navigation-wrapper">
|
|
|
|
<div class="navigation--inner">
|
|
|
|
<div class="navigation-title">
|
|
|
|
<button class="menu-toggle" id="menu-toggle" type="button">toggle menu</button>
|
|
|
|
<div class="library-name">
|
|
|
|
<a class="library-name--link" href="../../index.html">
|
|
|
|
micro_utils.dokka
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="library-version">
|
2023-10-24 10:47:14 +00:00
|
|
|
0.20.9 </div>
|
2023-09-01 22:34:58 +00:00
|
|
|
</div>
|
2022-08-04 08:06:22 +00:00
|
|
|
<div class="filter-section" id="filter-section">
|
|
|
|
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":micro_utils.dokka:dokkaHtml/commonMain">common</button>
|
2023-06-09 06:16:05 +00:00
|
|
|
<button class="platform-tag platform-selector js-like" data-active="" data-filter=":micro_utils.dokka:dokkaHtml/jsMain">js</button>
|
2022-08-04 08:06:22 +00:00
|
|
|
<button class="platform-tag platform-selector jvm-like" data-active="" data-filter=":micro_utils.dokka:dokkaHtml/jvmMain">jvm</button>
|
|
|
|
</div>
|
2021-12-29 20:59:26 +00:00
|
|
|
</div>
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="navigation-controls">
|
|
|
|
<button class="navigation-controls--btn navigation-controls--theme" id="theme-toggle-button" type="button">switch theme</button>
|
|
|
|
<div class="navigation-controls--btn navigation-controls--search" id="searchBar" role="button">search in API</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
2023-09-01 22:34:58 +00:00
|
|
|
</nav>
|
|
|
|
<div id="container">
|
|
|
|
<div class="sidebar" id="leftColumn">
|
|
|
|
<div class="sidebar--inner" id="sideMenu"></div>
|
|
|
|
</div>
|
|
|
|
<div id="main">
|
2023-06-09 06:16:05 +00:00
|
|
|
<div class="main-content" data-page-type="package" id="content" pageIds="micro_utils.dokka::dev.inmo.micro_utils.ktor.client////PointingToDeclaration//-612354790">
|
2022-11-08 08:32:38 +00:00
|
|
|
<div class="breadcrumbs"><a href="../../index.html">micro_utils.dokka</a><span class="delimiter">/</span><span class="current">dev.inmo.micro_utils.ktor.client</span></div>
|
2022-06-30 07:51:04 +00:00
|
|
|
<div class="cover ">
|
2022-11-08 08:32:38 +00:00
|
|
|
<h1 class="cover"><span><span>Package-level</span></span> <span><span>declarations</span></span></h1>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
<div class="tabbedcontent">
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="TYPE">Types</button><button class="section-tab" data-togglable="FUNCTION,EXTENSION_FUNCTION">Functions</button></div>
|
2022-06-30 07:51:04 +00:00
|
|
|
<div class="tabs-section-body">
|
2023-03-10 16:40:23 +00:00
|
|
|
<div data-togglable="TYPE">
|
|
|
|
<h2 class="">Types</h2>
|
|
|
|
<div class="table"><a data-name="-1055512380%2FClasslikes%2F-1478683138" anchor-label="OnUploadCallback" id="-1055512380%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
2023-09-01 22:34:58 +00:00
|
|
|
<div><a href="-on-upload-callback/index.html"><span>On</span><wbr></wbr><span>Upload</span><wbr></wbr><span><span>Callback</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1055512380%2FClasslikes%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="-on-upload-callback/index.html">OnUploadCallback</a><span class="token operator"> = </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span>uploaded<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="token punctuation">, </span><span class="token keyword"></span>count<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></div></div></div>
|
2023-03-10 16:40:23 +00:00
|
|
|
</div>
|
2022-12-04 13:35:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="-301796610%2FClasslikes%2F-1478683138" anchor-label="UniUploadFileInfo" id="-301796610%2FClasslikes%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="-uni-upload-file-info/index.html"><span>Uni</span><wbr></wbr><span>Upload</span><wbr></wbr><span>File</span><wbr></wbr><span><span>Info</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-301796610%2FClasslikes%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">data </span><span class="token keyword">class </span><a href="-uni-upload-file-info/index.html">UniUploadFileInfo</a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>fileName<span class="token operator">: </span><a href="../dev.inmo.micro_utils.common/-file-name/index.html">FileName</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>mimeType<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>inputAllocator<span class="token operator">: </span><a href="../dev.inmo.micro_utils.ktor.common/-lambda-input-provider/index.html">LambdaInputProvider</a></span></span><span class="token punctuation">)</span></div></div></div>
|
2023-03-10 16:40:23 +00:00
|
|
|
</div>
|
2022-12-04 13:35:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div data-togglable="FUNCTION">
|
|
|
|
<h2 class="">Functions</h2>
|
|
|
|
<div class="table"><a data-name="-1439657971%2FFunctions%2F-1478683138" anchor-label="bodyOrNull" id="-1439657971%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="body-or-null.html"><span>body</span><wbr></wbr><span>Or</span><wbr></wbr><span><span>Null</span></span></a></div>
|
2023-02-13 10:19:06 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1439657971%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline suspend </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="body-or-null.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="body-or-null.html"><span class="token function">bodyOrNull</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">statusFilter<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span>{ it.status == HttpStatusCode.OK }</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token operator">?</span></div></div></div>
|
|
|
|
</div>
|
2023-02-13 10:19:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a data-name="1999864842%2FFunctions%2F-1478683138" anchor-label="bodyOrNullOnNoContent" id="1999864842%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="body-or-null-on-no-content.html"><span>body</span><wbr></wbr><span>Or</span><wbr></wbr><span>Null</span><wbr></wbr><span>On</span><wbr></wbr><span>No</span><wbr></wbr><span><span>Content</span></span></a></div>
|
2023-02-13 10:19:06 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1999864842%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline suspend </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="body-or-null-on-no-content.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="body-or-null-on-no-content.html"><span class="token function">bodyOrNullOnNoContent</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></div></div></div>
|
|
|
|
</div>
|
2022-09-06 19:06:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="-797092644%2FFunctions%2F-1478683138" anchor-label="createStandardWebsocketFlow" id="-797092644%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="create-standard-websocket-flow.html"><span>create</span><wbr></wbr><span>Standard</span><wbr></wbr><span>Websocket</span><wbr></wbr><span><span>Flow</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-797092644%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="create-standard-websocket-flow.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="create-standard-websocket-flow.html"><span class="token function">createStandardWebsocketFlow</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">url<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>checkReconnection<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span>{ true }<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>requestBuilder<span class="token operator">: </span><span class="token keyword"></span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token operator"> = </span>{}</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator"><</span><span class="token keyword"></span><a href="create-standard-websocket-flow.html">T</a><span class="token operator">></span></div></div></div>
|
|
|
|
</div>
|
2021-10-18 17:01:18 +00:00
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="-966712993%2FFunctions%2F-1478683138" anchor-label="inputProvider" id="-966712993%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="input-provider.html"><span>input</span><wbr></wbr><span><span>Provider</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-966712993%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2023-04-13 05:41:45 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.micro_utils.common/-m-p-p-file/index.html">MPPFile</a><span class="token punctuation">.</span><a href="input-provider.html"><span class="token function">inputProvider</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></div></div></div>
|
2023-03-10 16:40:23 +00:00
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-02-28 06:25:53 +00:00
|
|
|
<a data-name="-1981836122%2FFunctions%2F-1052446920" anchor-label="inputProviderSync" id="-1981836122%2FFunctions%2F-1052446920" data-filterable-set=":micro_utils.dokka:dokkaHtml/jvmMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/jvmMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="input-provider-sync.html"><span>input</span><wbr></wbr><span>Provider</span><wbr></wbr><span><span>Sync</span></span></a></div>
|
2023-02-28 06:25:53 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1981836122%2FFunctions%2F-1052446920"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":micro_utils.dokka:dokkaHtml/jvmMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/jvmMain" data-active="" data-toggle=":micro_utils.dokka:dokkaHtml/jvmMain">jvm</button></div>
|
2023-06-09 06:16:05 +00:00
|
|
|
<div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/jvmMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../dev.inmo.micro_utils.common/-m-p-p-file/index.html">MPPFile</a><span class="token punctuation">.</span><a href="input-provider-sync.html"><span class="token function">inputProviderSync</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span></div></div> </div>
|
2023-03-10 16:40:23 +00:00
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="-121348741%2FFunctions%2F-1478683138" anchor-label="openBaseWebSocketFlow" id="-121348741%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="open-base-web-socket-flow.html"><span>open</span><wbr></wbr><span>Base</span><wbr></wbr><span>Web</span><wbr></wbr><span>Socket</span><wbr></wbr><span><span>Flow</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-121348741%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="open-base-web-socket-flow.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><a href="open-base-web-socket-flow.html"><span class="token function">openBaseWebSocketFlow</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">noinline </span>checkReconnection<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span>{ true }<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>webSocketSessionRequest<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token keyword"></span><span data-unresolved-link="kotlinx.coroutines.channels/SendChannel///PointingToDeclaration/">SendChannel</span><span class="token operator"><</span><span class="token keyword"></span><a href="open-base-web-socket-flow.html">T</a><span class="token operator">></span><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator"><</span><span class="token keyword"></span><a href="open-base-web-socket-flow.html">T</a><span class="token operator">></span></div></div></div>
|
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="516115956%2FFunctions%2F-1478683138" anchor-label="openSecureWebSocketFlow" id="516115956%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="open-secure-web-socket-flow.html"><span>open</span><wbr></wbr><span>Secure</span><wbr></wbr><span>Web</span><wbr></wbr><span>Socket</span><wbr></wbr><span><span>Flow</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="516115956%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="open-secure-web-socket-flow.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="open-secure-web-socket-flow.html"><span class="token function">openSecureWebSocketFlow</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">url<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>checkReconnection<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span>{ true }<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>requestBuilder<span class="token operator">: </span><span class="token keyword"></span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token operator"> = </span>{}</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator"><</span><span class="token keyword"></span><a href="open-secure-web-socket-flow.html">T</a><span class="token operator">></span></div></div></div>
|
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="-250462932%2FFunctions%2F-1478683138" anchor-label="openWebSocketFlow" id="-250462932%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="open-web-socket-flow.html"><span>open</span><wbr></wbr><span>Web</span><wbr></wbr><span>Socket</span><wbr></wbr><span><span>Flow</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-250462932%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="open-web-socket-flow.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="open-web-socket-flow.html"><span class="token function">openWebSocketFlow</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">url<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>checkReconnection<span class="token operator">: </span><span class="token keyword">suspend </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html">Throwable</a><span class="token operator">?</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token operator"> = </span>{ true }<span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>requestBuilder<span class="token operator">: </span><span class="token keyword"></span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a><span class="token operator"> = </span>{}</span></span><span class="token punctuation">)</span><span class="token operator">: </span><span data-unresolved-link="kotlinx.coroutines.flow/Flow///PointingToDeclaration/">Flow</span><span class="token operator"><</span><span class="token keyword"></span><a href="open-web-socket-flow.html">T</a><span class="token operator">></span></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="open-web-socket-flow.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="open-web-socket-flow.html"><span class="token function">openWebSocketFlow</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">url<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">useSecureConnection<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>checkReconnection<span class="token operator">: </span><span class="t
|
|
|
|
</div>
|
2022-12-04 13:35:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-06-09 06:16:05 +00:00
|
|
|
</div>
|
|
|
|
<a data-name="-388003374%2FFunctions%2F-119510368" anchor-label="tempUpload" id="-388003374%2FFunctions%2F-119510368" data-filterable-set=":micro_utils.dokka:dokkaHtml/jsMain"></a>
|
|
|
|
<div class="table-row" data-filterable-current=":micro_utils.dokka:dokkaHtml/jsMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/jsMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="temp-upload.html"><span>temp</span><wbr></wbr><span><span>Upload</span></span></a></div>
|
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-388003374%2FFunctions%2F-119510368"></span>
|
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted with-platform-tabs" data-platform-hinted="data-platform-hinted">
|
|
|
|
<div class="platform-bookmarks-row" data-toggle-list="data-toggle-list"><button class="platform-bookmark" data-filterable-current=":micro_utils.dokka:dokkaHtml/jsMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/jsMain" data-active="" data-toggle=":micro_utils.dokka:dokkaHtml/jsMain">js</button></div>
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/jsMain"><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><a href="temp-upload.html"><span class="token function">tempUpload</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fullTempUploadDraftPath<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">file<span class="token operator">: </span><a href="../dev.inmo.micro_utils.common/-m-p-p-file/index.html">MPPFile</a><span class="token punctuation">, </span></span><span class="parameter ">onUpload<span class="token operator">: </span><a href="-on-upload-callback/index.html">OnUploadCallback</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.micro_utils.ktor.common/-temporal-file-id/index.html">TemporalFileId</a></div></div> </div>
|
2023-06-09 06:16:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-04 13:35:33 +00:00
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="-1474182133%2FFunctions%2F-1478683138" anchor-label="tempUpload" id="-1474182133%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="temp-upload.html"><span>temp</span><wbr></wbr><span><span>Upload</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1474182133%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">suspend </span><span class="token keyword">fun </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="temp-upload.html"><span class="token function">tempUpload</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">fullTempUploadDraftPath<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">file<span class="token operator">: </span><a href="../dev.inmo.micro_utils.common/-m-p-p-file/index.html">MPPFile</a><span class="token punctuation">, </span></span><span class="parameter ">onUpload<span class="token operator">: </span><a href="-on-upload-callback/index.html">OnUploadCallback</a><span class="token operator"> = </span>{ _, _ -> }</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../dev.inmo.micro_utils.ktor.common/-temporal-file-id/index.html">TemporalFileId</a></div></div></div>
|
2023-03-10 16:40:23 +00:00
|
|
|
</div>
|
2022-12-04 13:35:33 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<a data-name="1078831471%2FFunctions%2F-1478683138" anchor-label="throwOnUnsuccess" id="1078831471%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="throw-on-unsuccess.html"><span>throw</span><wbr></wbr><span>On</span><wbr></wbr><span><span>Unsuccess</span></span></a></div>
|
2022-12-05 01:56:48 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1078831471%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="throw-on-unsuccess.html"><span class="token function">throwOnUnsuccess</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">unsuccessMessage<span class="token operator">: </span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span></div></div></div>
|
|
|
|
</div>
|
2021-10-18 17:01:18 +00:00
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-07 05:48:16 +00:00
|
|
|
<a data-name="-473188326%2FFunctions%2F-1478683138" anchor-label="uniUpload" id="-473188326%2FFunctions%2F-1478683138" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain"></a>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":micro_utils.dokka:dokkaHtml/commonMain" data-filterable-set=":micro_utils.dokka:dokkaHtml/commonMain">
|
|
|
|
<div class="main-subrow keyValue ">
|
|
|
|
<div class=""><span class="inline-flex">
|
|
|
|
<div><a href="uni-upload.html"><span>uni</span><wbr></wbr><span><span>Upload</span></span></a></div>
|
2022-12-07 05:48:16 +00:00
|
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-473188326%2FFunctions%2F-1478683138"></span>
|
2023-03-10 16:40:23 +00:00
|
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
|
|
</span></span></div>
|
|
|
|
<div>
|
|
|
|
<div class="title">
|
2023-09-01 22:34:58 +00:00
|
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":micro_utils.dokka:dokkaHtml/commonMain"><div class="symbol monospace"><span class="token keyword">expect </span><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="uni-upload.html">T</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="uni-upload.html"><span class="token function">uniUpload</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">url<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">data<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html">Map</a><span class="token operator"><</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">resultDeserializer<span class="token operator">: </span><span data-unresolved-link="kotlinx.serialization/DeserializationStrategy///PointingToDeclaration/">DeserializationStrategy</span><span class="token operator"><</span><span class="token keyword"></span><a href="uni-upload.html">T</a><span class="token operator">></span><span class="token punctuation">, </span></span><span class="parameter ">headers<span class="token operator">: </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token operator"> = </span>Headers.Empty<span class="token punctuation">, </span></span><span class="parameter ">stringFormat<span class="token operator">: </span><span data-unresolved-link="kotlinx.serialization/StringFormat///PointingToDeclaration/">StringFormat</span><span class="token operator"> = </span>Json<span class="token punctuation">, </span></span><span class="parameter ">onUpload<span class="token operator">: </span><a href="-on-upload-callback/index.html">OnUploadCallback</a><span class="token operator"> = </span>{ _, _ -> }</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="uni-upload.html">T</a><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Will execute submitting of multipart data request</p></div><div class="symbol monospace"><span class="token keyword">suspend </span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="uni-upload.html">T</a><span class="token operator">> </span><span data-unresolved-link="/&lt;Error class: unknown class&gt;///PointingToDeclaration/"><Error class: unknown class></span><span class="token punctuation">.</span><a href="uni-upload.html"><span class="token function">uniUpload</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">url<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">file<span class="token operator">: </span><a href="../dev.inmo.micro_utils.common/-m-p-p-file/index.html">MPPFile</a><span class="token punctuation">, </span></span><span class="parameter ">resultDeserializer<span class="token op
|
2023-03-10 16:40:23 +00:00
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-08-04 08:06:22 +00:00
|
|
|
<div class="footer">
|
2023-01-04 14:31:55 +00:00
|
|
|
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 Copyright</span><span
|
2022-06-30 07:51:04 +00:00
|
|
|
class="pull-right"><span>Generated by </span><a
|
|
|
|
href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
|
2022-08-04 08:06:22 +00:00
|
|
|
</div>
|
2023-09-01 22:34:58 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-10-18 17:01:18 +00:00
|
|
|
</div>
|
2022-06-30 07:51:04 +00:00
|
|
|
</body>
|
2021-10-18 17:01:18 +00:00
|
|
|
</html>
|