@attocash/commons-js 5.0.0 → 5.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +4 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +16 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +41 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -0
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
- package/commons-commons-node.mjs +1 -0
- package/commons-commons-node.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/UtilsJs.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
- package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/selector/SelectorManager.jsAndWasmShared.mjs +2 -2
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +106 -106
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
- package/package.json +1 -1
|
@@ -127,7 +127,7 @@ function writeHeaders(request, output, overProxy, closeChannel, $completion) {
|
|
|
127
127
|
}
|
|
128
128
|
function writeBody(request, output, callContext, closeChannel, $completion) {
|
|
129
129
|
closeChannel = closeChannel === VOID ? true : closeChannel;
|
|
130
|
-
var body = getUnwrapped(request.
|
|
130
|
+
var body = getUnwrapped(request.t56_1);
|
|
131
131
|
if (body instanceof NoContent()) {
|
|
132
132
|
if (closeChannel) {
|
|
133
133
|
close(output);
|
|
@@ -135,22 +135,22 @@ function writeBody(request, output, callContext, closeChannel, $completion) {
|
|
|
135
135
|
return Unit_instance;
|
|
136
136
|
}
|
|
137
137
|
if (body instanceof ProtocolUpgrade()) {
|
|
138
|
-
throw UnsupportedContentTypeException().
|
|
138
|
+
throw UnsupportedContentTypeException().n55(body);
|
|
139
139
|
}
|
|
140
|
-
var tmp0_elvis_lhs = request.
|
|
140
|
+
var tmp0_elvis_lhs = request.s56_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
141
141
|
var tmp;
|
|
142
142
|
if (tmp0_elvis_lhs == null) {
|
|
143
|
-
var tmp1_safe_receiver = body.
|
|
143
|
+
var tmp1_safe_receiver = body.t4b();
|
|
144
144
|
tmp = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
145
145
|
} else {
|
|
146
146
|
tmp = tmp0_elvis_lhs;
|
|
147
147
|
}
|
|
148
148
|
var contentLength = tmp;
|
|
149
|
-
var contentEncoding = request.
|
|
150
|
-
var responseEncoding = body.
|
|
149
|
+
var contentEncoding = request.s56_1.c3s(HttpHeaders_getInstance().c44_1);
|
|
150
|
+
var responseEncoding = body.z45().c3s(HttpHeaders_getInstance().c44_1);
|
|
151
151
|
var chunked = isChunked(contentLength, responseEncoding, contentEncoding);
|
|
152
152
|
var chunkedJob = chunked ? encodeChunked(output, callContext) : null;
|
|
153
|
-
var tmp3_elvis_lhs = chunkedJob == null ? null : chunkedJob.
|
|
153
|
+
var tmp3_elvis_lhs = chunkedJob == null ? null : chunkedJob.d3h_1;
|
|
154
154
|
var channel = tmp3_elvis_lhs == null ? output : tmp3_elvis_lhs;
|
|
155
155
|
var scope = CoroutineScope(callContext.lm(new (CoroutineName())('cio-client-body-writer')));
|
|
156
156
|
launch(scope, VOID, VOID, writeBody$slambda_0(request, body, channel, chunkedJob, output, closeChannel, null));
|
|
@@ -169,16 +169,16 @@ function withoutClosePropagation(_this__u8e3s4, coroutineContext, closeOnCorouti
|
|
|
169
169
|
tmp.v1y(withoutClosePropagation$lambda(_this__u8e3s4));
|
|
170
170
|
}
|
|
171
171
|
var tmp_0 = GlobalScope_instance;
|
|
172
|
-
return reader(tmp_0, coroutineContext, true, withoutClosePropagation$slambda_0(_this__u8e3s4, null)).
|
|
172
|
+
return reader(tmp_0, coroutineContext, true, withoutClosePropagation$slambda_0(_this__u8e3s4, null)).d3h_1;
|
|
173
173
|
}
|
|
174
174
|
function toMap(_this__u8e3s4) {
|
|
175
175
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
176
176
|
var result = LinkedHashMap().ub();
|
|
177
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
177
|
+
var _iterator__ex2g4s = _this__u8e3s4.t4h().d1();
|
|
178
178
|
while (_iterator__ex2g4s.e1()) {
|
|
179
179
|
var offset = _iterator__ex2g4s.f1();
|
|
180
|
-
var key = toString(_this__u8e3s4.
|
|
181
|
-
var value = toString(_this__u8e3s4.
|
|
180
|
+
var key = toString(_this__u8e3s4.b4i(offset));
|
|
181
|
+
var value = toString(_this__u8e3s4.s4h(offset));
|
|
182
182
|
var tmp0_safe_receiver = result.w2(key);
|
|
183
183
|
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m(value)) == null) {
|
|
184
184
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -189,7 +189,7 @@ function toMap(_this__u8e3s4) {
|
|
|
189
189
|
return result;
|
|
190
190
|
}
|
|
191
191
|
function isInformational(_this__u8e3s4) {
|
|
192
|
-
return (_this__u8e3s4.
|
|
192
|
+
return (_this__u8e3s4.v48_1 / 100 | 0) === 1;
|
|
193
193
|
}
|
|
194
194
|
function isChunked(contentLength, responseEncoding, contentEncoding) {
|
|
195
195
|
return contentLength == null || responseEncoding === 'chunked' || contentEncoding === 'chunked';
|
|
@@ -197,7 +197,7 @@ function isChunked(contentLength, responseEncoding, contentEncoding) {
|
|
|
197
197
|
function getUnwrapped(_this__u8e3s4) {
|
|
198
198
|
var tmp;
|
|
199
199
|
if (_this__u8e3s4 instanceof ContentWrapper()) {
|
|
200
|
-
tmp = getUnwrapped(_this__u8e3s4.
|
|
200
|
+
tmp = getUnwrapped(_this__u8e3s4.d4c());
|
|
201
201
|
} else {
|
|
202
202
|
tmp = _this__u8e3s4;
|
|
203
203
|
}
|
|
@@ -216,21 +216,21 @@ function writeRequest$slambda() {
|
|
|
216
216
|
constructor($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation, $box) {
|
|
217
217
|
if ($box === VOID)
|
|
218
218
|
$box = {};
|
|
219
|
-
$box.
|
|
220
|
-
$box.
|
|
221
|
-
$box.
|
|
222
|
-
$box.
|
|
223
|
-
$box.
|
|
219
|
+
$box.q7c_1 = $request;
|
|
220
|
+
$box.r7c_1 = $output;
|
|
221
|
+
$box.s7c_1 = $overProxy;
|
|
222
|
+
$box.t7c_1 = $closeChannel;
|
|
223
|
+
$box.u7c_1 = $callContext;
|
|
224
224
|
super(resultContinuation, $box);
|
|
225
225
|
}
|
|
226
|
-
|
|
227
|
-
var tmp = this.
|
|
226
|
+
z37($this$withContext, $completion) {
|
|
227
|
+
var tmp = this.d36($this$withContext, $completion);
|
|
228
228
|
tmp.cc_1 = Unit_instance;
|
|
229
229
|
tmp.dc_1 = null;
|
|
230
230
|
return tmp.ic();
|
|
231
231
|
}
|
|
232
232
|
kd(p1, $completion) {
|
|
233
|
-
return this.
|
|
233
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
|
|
234
234
|
}
|
|
235
235
|
ic() {
|
|
236
236
|
var suspendResult = this.cc_1;
|
|
@@ -241,7 +241,7 @@ function writeRequest$slambda() {
|
|
|
241
241
|
case 0:
|
|
242
242
|
this.bc_1 = 3;
|
|
243
243
|
this.ac_1 = 1;
|
|
244
|
-
suspendResult = writeHeaders(this.
|
|
244
|
+
suspendResult = writeHeaders(this.q7c_1, this.r7c_1, this.s7c_1, this.t7c_1, this);
|
|
245
245
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
246
246
|
return suspendResult;
|
|
247
247
|
}
|
|
@@ -249,7 +249,7 @@ function writeRequest$slambda() {
|
|
|
249
249
|
continue $sm;
|
|
250
250
|
case 1:
|
|
251
251
|
this.ac_1 = 2;
|
|
252
|
-
suspendResult = writeBody(this.
|
|
252
|
+
suspendResult = writeBody(this.q7c_1, this.r7c_1, this.u7c_1, VOID, this);
|
|
253
253
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
254
254
|
return suspendResult;
|
|
255
255
|
}
|
|
@@ -271,9 +271,9 @@ function writeRequest$slambda() {
|
|
|
271
271
|
}
|
|
272
272
|
while (true);
|
|
273
273
|
}
|
|
274
|
-
|
|
275
|
-
var i = new (writeRequest$slambda())(this.
|
|
276
|
-
i.
|
|
274
|
+
d36($this$withContext, completion) {
|
|
275
|
+
var i = new (writeRequest$slambda())(this.q7c_1, this.r7c_1, this.s7c_1, this.t7c_1, this.u7c_1, completion);
|
|
276
|
+
i.v7c_1 = $this$withContext;
|
|
277
277
|
return i;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -285,7 +285,7 @@ function writeRequest$slambda() {
|
|
|
285
285
|
function writeRequest$slambda_0($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation) {
|
|
286
286
|
var i = new (writeRequest$slambda())($request, $output, $overProxy, $closeChannel, $callContext, resultContinuation);
|
|
287
287
|
var l = function ($this$withContext, $completion) {
|
|
288
|
-
return i.
|
|
288
|
+
return i.z37($this$withContext, $completion);
|
|
289
289
|
};
|
|
290
290
|
l.$arity = 1;
|
|
291
291
|
return l;
|
|
@@ -297,21 +297,21 @@ function readResponse$slambda$slambda() {
|
|
|
297
297
|
constructor($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation, $box) {
|
|
298
298
|
if ($box === VOID)
|
|
299
299
|
$box = {};
|
|
300
|
-
$box.
|
|
301
|
-
$box.
|
|
302
|
-
$box.
|
|
303
|
-
$box.
|
|
304
|
-
$box.
|
|
300
|
+
$box.e7d_1 = $version;
|
|
301
|
+
$box.f7d_1 = $contentLength;
|
|
302
|
+
$box.g7d_1 = $transferEncoding;
|
|
303
|
+
$box.h7d_1 = $connectionType;
|
|
304
|
+
$box.i7d_1 = $input;
|
|
305
305
|
super(resultContinuation, $box);
|
|
306
306
|
}
|
|
307
|
-
|
|
308
|
-
var tmp = this.
|
|
307
|
+
z4l($this$writer, $completion) {
|
|
308
|
+
var tmp = this.a4m($this$writer, $completion);
|
|
309
309
|
tmp.cc_1 = Unit_instance;
|
|
310
310
|
tmp.dc_1 = null;
|
|
311
311
|
return tmp.ic();
|
|
312
312
|
}
|
|
313
313
|
kd(p1, $completion) {
|
|
314
|
-
return this.
|
|
314
|
+
return this.z4l(p1 instanceof WriterScope() ? p1 : THROW_CCE(), $completion);
|
|
315
315
|
}
|
|
316
316
|
ic() {
|
|
317
317
|
var suspendResult = this.cc_1;
|
|
@@ -322,7 +322,7 @@ function readResponse$slambda$slambda() {
|
|
|
322
322
|
case 0:
|
|
323
323
|
this.bc_1 = 2;
|
|
324
324
|
this.ac_1 = 1;
|
|
325
|
-
suspendResult = parseHttpBody(this.
|
|
325
|
+
suspendResult = parseHttpBody(this.e7d_1, this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, this.j7d_1.j3n_1, this);
|
|
326
326
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
327
327
|
return suspendResult;
|
|
328
328
|
}
|
|
@@ -344,9 +344,9 @@ function readResponse$slambda$slambda() {
|
|
|
344
344
|
}
|
|
345
345
|
while (true);
|
|
346
346
|
}
|
|
347
|
-
|
|
348
|
-
var i = new (readResponse$slambda$slambda())(this.
|
|
349
|
-
i.
|
|
347
|
+
a4m($this$writer, completion) {
|
|
348
|
+
var i = new (readResponse$slambda$slambda())(this.e7d_1, this.f7d_1, this.g7d_1, this.h7d_1, this.i7d_1, completion);
|
|
349
|
+
i.j7d_1 = $this$writer;
|
|
350
350
|
return i;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -358,7 +358,7 @@ function readResponse$slambda$slambda() {
|
|
|
358
358
|
function readResponse$slambda$slambda_0($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation) {
|
|
359
359
|
var i = new (readResponse$slambda$slambda())($version, $contentLength, $transferEncoding, $connectionType, $input, resultContinuation);
|
|
360
360
|
var l = function ($this$writer, $completion) {
|
|
361
|
-
return i.
|
|
361
|
+
return i.z4l($this$writer, $completion);
|
|
362
362
|
};
|
|
363
363
|
l.$arity = 1;
|
|
364
364
|
return l;
|
|
@@ -370,21 +370,21 @@ function readResponse$slambda() {
|
|
|
370
370
|
constructor($input, $output, $callContext, $requestTime, $request, resultContinuation, $box) {
|
|
371
371
|
if ($box === VOID)
|
|
372
372
|
$box = {};
|
|
373
|
-
$box.
|
|
374
|
-
$box.
|
|
375
|
-
$box.
|
|
376
|
-
$box.
|
|
377
|
-
$box.
|
|
373
|
+
$box.s7d_1 = $input;
|
|
374
|
+
$box.t7d_1 = $output;
|
|
375
|
+
$box.u7d_1 = $callContext;
|
|
376
|
+
$box.v7d_1 = $requestTime;
|
|
377
|
+
$box.w7d_1 = $request;
|
|
378
378
|
super(resultContinuation, $box);
|
|
379
379
|
}
|
|
380
|
-
|
|
381
|
-
var tmp = this.
|
|
380
|
+
c58($this$withContext, $completion) {
|
|
381
|
+
var tmp = this.d36($this$withContext, $completion);
|
|
382
382
|
tmp.cc_1 = Unit_instance;
|
|
383
383
|
tmp.dc_1 = null;
|
|
384
384
|
return tmp.ic();
|
|
385
385
|
}
|
|
386
386
|
kd(p1, $completion) {
|
|
387
|
-
return this.
|
|
387
|
+
return this.c58((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
|
|
388
388
|
}
|
|
389
389
|
ic() {
|
|
390
390
|
var suspendResult = this.cc_1;
|
|
@@ -395,7 +395,7 @@ function readResponse$slambda() {
|
|
|
395
395
|
case 0:
|
|
396
396
|
this.bc_1 = 2;
|
|
397
397
|
this.ac_1 = 1;
|
|
398
|
-
suspendResult = parseResponse(this.
|
|
398
|
+
suspendResult = parseResponse(this.s7d_1, this);
|
|
399
399
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
400
400
|
return suspendResult;
|
|
401
401
|
}
|
|
@@ -405,7 +405,7 @@ function readResponse$slambda() {
|
|
|
405
405
|
var tmp0_elvis_lhs = suspendResult;
|
|
406
406
|
var tmp_0;
|
|
407
407
|
if (tmp0_elvis_lhs == null) {
|
|
408
|
-
throw ClosedReadChannelException().
|
|
408
|
+
throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse HTTP response: the server prematurely closed the connection'));
|
|
409
409
|
} else {
|
|
410
410
|
tmp_0 = tmp0_elvis_lhs;
|
|
411
411
|
}
|
|
@@ -421,35 +421,35 @@ function readResponse$slambda() {
|
|
|
421
421
|
try {
|
|
422
422
|
var tmp_2;
|
|
423
423
|
try {
|
|
424
|
-
var status = new (HttpStatusCode())(rawResponse.
|
|
425
|
-
var tmp0_safe_receiver = rawResponse.
|
|
424
|
+
var status = new (HttpStatusCode())(rawResponse.j4n_1, toString(rawResponse.k4n_1));
|
|
425
|
+
var tmp0_safe_receiver = rawResponse.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
426
426
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : toString(tmp0_safe_receiver);
|
|
427
427
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : toLong(tmp1_safe_receiver);
|
|
428
428
|
var contentLength = tmp2_elvis_lhs == null ? new (Long())(-1, -1) : tmp2_elvis_lhs;
|
|
429
|
-
var tmp3_safe_receiver = rawResponse.
|
|
429
|
+
var tmp3_safe_receiver = rawResponse.l4n_1.c3s(HttpHeaders_getInstance().c44_1);
|
|
430
430
|
var transferEncoding = tmp3_safe_receiver == null ? null : toString(tmp3_safe_receiver);
|
|
431
|
-
var connectionType = Companion_getInstance_0().
|
|
432
|
-
var rawHeaders = rawResponse.
|
|
431
|
+
var connectionType = Companion_getInstance_0().b4g(rawResponse.l4n_1.c3s(HttpHeaders_getInstance().r41_1));
|
|
432
|
+
var rawHeaders = rawResponse.l4n_1;
|
|
433
433
|
var headers = new (HeadersImpl())(toMap(rawHeaders));
|
|
434
|
-
var version = Companion_getInstance_1().h1l(rawResponse.
|
|
435
|
-
if (status.equals(Companion_getInstance().
|
|
436
|
-
var session = RawWebSocket(this.
|
|
437
|
-
tmp$ret$0 = new (HttpResponseData())(status, this.
|
|
434
|
+
var version = Companion_getInstance_1().h1l(rawResponse.i4n_1);
|
|
435
|
+
if (status.equals(Companion_getInstance().t46_1)) {
|
|
436
|
+
var session = RawWebSocket(this.s7d_1, this.t7d_1, VOID, true, this.u7d_1);
|
|
437
|
+
tmp$ret$0 = new (HttpResponseData())(status, this.v7d_1, headers, version, session, this.u7d_1);
|
|
438
438
|
break l$ret$1;
|
|
439
439
|
}
|
|
440
440
|
var tmp_3;
|
|
441
|
-
if (this.
|
|
442
|
-
tmp_3 = Companion_getInstance_2().
|
|
441
|
+
if (this.w7d_1.r56_1.equals(Companion_getInstance_3().f46_1) || listOf([Companion_getInstance().h47_1, Companion_getInstance().z46_1]).q2(status) || isInformational(status)) {
|
|
442
|
+
tmp_3 = Companion_getInstance_2().h3d_1;
|
|
443
443
|
} else {
|
|
444
|
-
var coroutineScope = CoroutineScope(this.
|
|
445
|
-
var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.
|
|
446
|
-
tmp_3 = httpBodyParser.
|
|
444
|
+
var coroutineScope = CoroutineScope(this.u7d_1.lm(new (CoroutineName())('cio-client-body-reader')));
|
|
445
|
+
var httpBodyParser = writer(coroutineScope, VOID, true, readResponse$slambda$slambda_0(version, contentLength, transferEncoding, connectionType, this.s7d_1, null));
|
|
446
|
+
tmp_3 = httpBodyParser.h3n_1;
|
|
447
447
|
}
|
|
448
448
|
var body = tmp_3;
|
|
449
|
-
var tmp4_safe_receiver = this.
|
|
450
|
-
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.
|
|
449
|
+
var tmp4_safe_receiver = this.w7d_1.v56_1.s3r(get_ResponseAdapterAttributeKey());
|
|
450
|
+
var tmp5_elvis_lhs = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.t5w(this.w7d_1, status, headers, body, this.w7d_1.t56_1, this.u7d_1);
|
|
451
451
|
var responseBody = tmp5_elvis_lhs == null ? body : tmp5_elvis_lhs;
|
|
452
|
-
tmp$ret$0 = new (HttpResponseData())(status, this.
|
|
452
|
+
tmp$ret$0 = new (HttpResponseData())(status, this.v7d_1, headers, version, responseBody, this.u7d_1);
|
|
453
453
|
break l$ret$1;
|
|
454
454
|
} catch ($p) {
|
|
455
455
|
var tmp_4;
|
|
@@ -496,9 +496,9 @@ function readResponse$slambda() {
|
|
|
496
496
|
}
|
|
497
497
|
while (true);
|
|
498
498
|
}
|
|
499
|
-
|
|
500
|
-
var i = new (readResponse$slambda())(this.
|
|
501
|
-
i.
|
|
499
|
+
d36($this$withContext, completion) {
|
|
500
|
+
var i = new (readResponse$slambda())(this.s7d_1, this.t7d_1, this.u7d_1, this.v7d_1, this.w7d_1, completion);
|
|
501
|
+
i.x7d_1 = $this$withContext;
|
|
502
502
|
return i;
|
|
503
503
|
}
|
|
504
504
|
}
|
|
@@ -510,7 +510,7 @@ function readResponse$slambda() {
|
|
|
510
510
|
function readResponse$slambda_0($input, $output, $callContext, $requestTime, $request, resultContinuation) {
|
|
511
511
|
var i = new (readResponse$slambda())($input, $output, $callContext, $requestTime, $request, resultContinuation);
|
|
512
512
|
var l = function ($this$withContext, $completion) {
|
|
513
|
-
return i.
|
|
513
|
+
return i.c58($this$withContext, $completion);
|
|
514
514
|
};
|
|
515
515
|
l.$arity = 1;
|
|
516
516
|
return l;
|
|
@@ -518,10 +518,10 @@ function readResponse$slambda_0($input, $output, $callContext, $requestTime, $re
|
|
|
518
518
|
function writeHeaders$lambda($builder) {
|
|
519
519
|
return function (key, value) {
|
|
520
520
|
var tmp;
|
|
521
|
-
if (key === HttpHeaders_getInstance().
|
|
521
|
+
if (key === HttpHeaders_getInstance().v41_1 || key === HttpHeaders_getInstance().g42_1) {
|
|
522
522
|
return Unit_instance;
|
|
523
523
|
}
|
|
524
|
-
$builder.
|
|
524
|
+
$builder.p4o(key, value);
|
|
525
525
|
return Unit_instance;
|
|
526
526
|
};
|
|
527
527
|
}
|
|
@@ -532,22 +532,22 @@ function writeBody$slambda() {
|
|
|
532
532
|
constructor($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation, $box) {
|
|
533
533
|
if ($box === VOID)
|
|
534
534
|
$box = {};
|
|
535
|
-
$box.
|
|
536
|
-
$box.
|
|
537
|
-
$box.
|
|
538
|
-
$box.
|
|
539
|
-
$box.
|
|
540
|
-
$box.
|
|
535
|
+
$box.g7e_1 = $request;
|
|
536
|
+
$box.h7e_1 = $body;
|
|
537
|
+
$box.i7e_1 = $channel;
|
|
538
|
+
$box.j7e_1 = $chunkedJob;
|
|
539
|
+
$box.k7e_1 = $output;
|
|
540
|
+
$box.l7e_1 = $closeChannel;
|
|
541
541
|
super(resultContinuation, $box);
|
|
542
542
|
}
|
|
543
|
-
|
|
544
|
-
var tmp = this.
|
|
543
|
+
z37($this$launch, $completion) {
|
|
544
|
+
var tmp = this.d36($this$launch, $completion);
|
|
545
545
|
tmp.cc_1 = Unit_instance;
|
|
546
546
|
tmp.dc_1 = null;
|
|
547
547
|
return tmp.ic();
|
|
548
548
|
}
|
|
549
549
|
kd(p1, $completion) {
|
|
550
|
-
return this.
|
|
550
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope_0()) : false) ? p1 : THROW_CCE(), $completion);
|
|
551
551
|
}
|
|
552
552
|
ic() {
|
|
553
553
|
var suspendResult = this.cc_1;
|
|
@@ -563,14 +563,14 @@ function writeBody$slambda() {
|
|
|
563
563
|
this.bc_1 = 4;
|
|
564
564
|
this.bc_1 = 3;
|
|
565
565
|
this.ac_1 = 2;
|
|
566
|
-
suspendResult = processOutgoingContent(this.
|
|
566
|
+
suspendResult = processOutgoingContent(this.g7e_1, this.h7e_1, this.i7e_1, this);
|
|
567
567
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
568
568
|
return suspendResult;
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
continue $sm;
|
|
572
572
|
case 2:
|
|
573
|
-
this.
|
|
573
|
+
this.n7e_1 = suspendResult;
|
|
574
574
|
this.bc_1 = 12;
|
|
575
575
|
this.ac_1 = 8;
|
|
576
576
|
continue $sm;
|
|
@@ -578,41 +578,41 @@ function writeBody$slambda() {
|
|
|
578
578
|
this.bc_1 = 4;
|
|
579
579
|
var tmp_0 = this.dc_1;
|
|
580
580
|
if (tmp_0 instanceof Error) {
|
|
581
|
-
this.
|
|
581
|
+
this.o7e_1 = this.dc_1;
|
|
582
582
|
var tmp_1 = this;
|
|
583
|
-
close_0(this.
|
|
584
|
-
throw this.
|
|
583
|
+
close_0(this.i7e_1, this.o7e_1);
|
|
584
|
+
throw this.o7e_1;
|
|
585
585
|
} else {
|
|
586
586
|
throw this.dc_1;
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
case 4:
|
|
590
590
|
this.bc_1 = 12;
|
|
591
|
-
this.
|
|
591
|
+
this.p7e_1 = this.dc_1;
|
|
592
592
|
this.ac_1 = 5;
|
|
593
|
-
suspendResult = this.
|
|
593
|
+
suspendResult = this.i7e_1.z3a(this);
|
|
594
594
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
595
595
|
return suspendResult;
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
continue $sm;
|
|
599
599
|
case 5:
|
|
600
|
-
var tmp0_safe_receiver = this.
|
|
601
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
600
|
+
var tmp0_safe_receiver = this.j7e_1;
|
|
601
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d3h_1;
|
|
602
602
|
if (tmp1_safe_receiver == null)
|
|
603
603
|
null;
|
|
604
604
|
else {
|
|
605
605
|
close(tmp1_safe_receiver);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
this.
|
|
609
|
-
if (this.
|
|
610
|
-
this.
|
|
608
|
+
this.q7e_1 = this.j7e_1;
|
|
609
|
+
if (this.q7e_1 == null) {
|
|
610
|
+
this.r7e_1 = null;
|
|
611
611
|
this.ac_1 = 7;
|
|
612
612
|
continue $sm;
|
|
613
613
|
} else {
|
|
614
614
|
this.ac_1 = 6;
|
|
615
|
-
suspendResult = join(this.
|
|
615
|
+
suspendResult = join(this.q7e_1, this);
|
|
616
616
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
617
617
|
return suspendResult;
|
|
618
618
|
}
|
|
@@ -621,11 +621,11 @@ function writeBody$slambda() {
|
|
|
621
621
|
|
|
622
622
|
case 6:
|
|
623
623
|
var tmp_2 = this;
|
|
624
|
-
tmp_2.
|
|
624
|
+
tmp_2.r7e_1 = Unit_instance;
|
|
625
625
|
this.ac_1 = 7;
|
|
626
626
|
continue $sm;
|
|
627
627
|
case 7:
|
|
628
|
-
var tmp3_safe_receiver = this.
|
|
628
|
+
var tmp3_safe_receiver = this.k7e_1.f3b();
|
|
629
629
|
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : unwrapCancellationException(tmp3_safe_receiver);
|
|
630
630
|
var tmp_3;
|
|
631
631
|
if (tmp4_safe_receiver == null) {
|
|
@@ -647,37 +647,37 @@ function writeBody$slambda() {
|
|
|
647
647
|
throw tmp5_safe_receiver;
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
if (this.
|
|
651
|
-
close(this.
|
|
650
|
+
if (this.l7e_1) {
|
|
651
|
+
close(this.k7e_1);
|
|
652
652
|
}
|
|
653
653
|
|
|
654
|
-
throw this.
|
|
654
|
+
throw this.p7e_1;
|
|
655
655
|
case 8:
|
|
656
656
|
this.bc_1 = 12;
|
|
657
657
|
this.ac_1 = 9;
|
|
658
|
-
suspendResult = this.
|
|
658
|
+
suspendResult = this.i7e_1.z3a(this);
|
|
659
659
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
660
660
|
return suspendResult;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
continue $sm;
|
|
664
664
|
case 9:
|
|
665
|
-
var tmp0_safe_receiver_0 = this.
|
|
666
|
-
var tmp1_safe_receiver_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
665
|
+
var tmp0_safe_receiver_0 = this.j7e_1;
|
|
666
|
+
var tmp1_safe_receiver_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.d3h_1;
|
|
667
667
|
if (tmp1_safe_receiver_0 == null)
|
|
668
668
|
null;
|
|
669
669
|
else {
|
|
670
670
|
close(tmp1_safe_receiver_0);
|
|
671
671
|
}
|
|
672
672
|
|
|
673
|
-
this.
|
|
674
|
-
if (this.
|
|
675
|
-
this.
|
|
673
|
+
this.s7e_1 = this.j7e_1;
|
|
674
|
+
if (this.s7e_1 == null) {
|
|
675
|
+
this.t7e_1 = null;
|
|
676
676
|
this.ac_1 = 11;
|
|
677
677
|
continue $sm;
|
|
678
678
|
} else {
|
|
679
679
|
this.ac_1 = 10;
|
|
680
|
-
suspendResult = join(this.
|
|
680
|
+
suspendResult = join(this.s7e_1, this);
|
|
681
681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
682
682
|
return suspendResult;
|
|
683
683
|
}
|
|
@@ -686,11 +686,11 @@ function writeBody$slambda() {
|
|
|
686
686
|
|
|
687
687
|
case 10:
|
|
688
688
|
var tmp_5 = this;
|
|
689
|
-
tmp_5.
|
|
689
|
+
tmp_5.t7e_1 = Unit_instance;
|
|
690
690
|
this.ac_1 = 11;
|
|
691
691
|
continue $sm;
|
|
692
692
|
case 11:
|
|
693
|
-
var tmp3_safe_receiver_0 = this.
|
|
693
|
+
var tmp3_safe_receiver_0 = this.k7e_1.f3b();
|
|
694
694
|
var tmp4_safe_receiver_0 = tmp3_safe_receiver_0 == null ? null : unwrapCancellationException(tmp3_safe_receiver_0);
|
|
695
695
|
var tmp_6;
|
|
696
696
|
if (tmp4_safe_receiver_0 == null) {
|
|
@@ -712,8 +712,8 @@ function writeBody$slambda() {
|
|
|
712
712
|
throw tmp5_safe_receiver_0;
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
if (this.
|
|
716
|
-
close(this.
|
|
715
|
+
if (this.l7e_1) {
|
|
716
|
+
close(this.k7e_1);
|
|
717
717
|
}
|
|
718
718
|
|
|
719
719
|
return Unit_instance;
|
|
@@ -731,9 +731,9 @@ function writeBody$slambda() {
|
|
|
731
731
|
}
|
|
732
732
|
while (true);
|
|
733
733
|
}
|
|
734
|
-
|
|
735
|
-
var i = new (writeBody$slambda())(this.
|
|
736
|
-
i.
|
|
734
|
+
d36($this$launch, completion) {
|
|
735
|
+
var i = new (writeBody$slambda())(this.g7e_1, this.h7e_1, this.i7e_1, this.j7e_1, this.k7e_1, this.l7e_1, completion);
|
|
736
|
+
i.m7e_1 = $this$launch;
|
|
737
737
|
return i;
|
|
738
738
|
}
|
|
739
739
|
}
|
|
@@ -745,7 +745,7 @@ function writeBody$slambda() {
|
|
|
745
745
|
function writeBody$slambda_0($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation) {
|
|
746
746
|
var i = new (writeBody$slambda())($request, $body, $channel, $chunkedJob, $output, $closeChannel, resultContinuation);
|
|
747
747
|
var l = function ($this$launch, $completion) {
|
|
748
|
-
return i.
|
|
748
|
+
return i.z37($this$launch, $completion);
|
|
749
749
|
};
|
|
750
750
|
l.$arity = 1;
|
|
751
751
|
return l;
|
|
@@ -763,17 +763,17 @@ function withoutClosePropagation$slambda() {
|
|
|
763
763
|
constructor($this_withoutClosePropagation, resultContinuation, $box) {
|
|
764
764
|
if ($box === VOID)
|
|
765
765
|
$box = {};
|
|
766
|
-
$box.
|
|
766
|
+
$box.c7f_1 = $this_withoutClosePropagation;
|
|
767
767
|
super(resultContinuation, $box);
|
|
768
768
|
}
|
|
769
|
-
|
|
770
|
-
var tmp = this.
|
|
769
|
+
o4f($this$reader, $completion) {
|
|
770
|
+
var tmp = this.p4f($this$reader, $completion);
|
|
771
771
|
tmp.cc_1 = Unit_instance;
|
|
772
772
|
tmp.dc_1 = null;
|
|
773
773
|
return tmp.ic();
|
|
774
774
|
}
|
|
775
775
|
kd(p1, $completion) {
|
|
776
|
-
return this.
|
|
776
|
+
return this.o4f(p1 instanceof ReaderScope() ? p1 : THROW_CCE(), $completion);
|
|
777
777
|
}
|
|
778
778
|
ic() {
|
|
779
779
|
var suspendResult = this.cc_1;
|
|
@@ -784,7 +784,7 @@ function withoutClosePropagation$slambda() {
|
|
|
784
784
|
case 0:
|
|
785
785
|
this.bc_1 = 3;
|
|
786
786
|
this.ac_1 = 1;
|
|
787
|
-
suspendResult = copyTo(this.
|
|
787
|
+
suspendResult = copyTo(this.d7f_1.f3h_1, this.c7f_1, new (Long())(-1, 2147483647), this);
|
|
788
788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
789
789
|
return suspendResult;
|
|
790
790
|
}
|
|
@@ -792,7 +792,7 @@ function withoutClosePropagation$slambda() {
|
|
|
792
792
|
continue $sm;
|
|
793
793
|
case 1:
|
|
794
794
|
this.ac_1 = 2;
|
|
795
|
-
suspendResult = this.
|
|
795
|
+
suspendResult = this.c7f_1.z3a(this);
|
|
796
796
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
797
797
|
return suspendResult;
|
|
798
798
|
}
|
|
@@ -814,9 +814,9 @@ function withoutClosePropagation$slambda() {
|
|
|
814
814
|
}
|
|
815
815
|
while (true);
|
|
816
816
|
}
|
|
817
|
-
|
|
818
|
-
var i = new (withoutClosePropagation$slambda())(this.
|
|
819
|
-
i.
|
|
817
|
+
p4f($this$reader, completion) {
|
|
818
|
+
var i = new (withoutClosePropagation$slambda())(this.c7f_1, completion);
|
|
819
|
+
i.d7f_1 = $this$reader;
|
|
820
820
|
return i;
|
|
821
821
|
}
|
|
822
822
|
}
|
|
@@ -828,7 +828,7 @@ function withoutClosePropagation$slambda() {
|
|
|
828
828
|
function withoutClosePropagation$slambda_0($this_withoutClosePropagation, resultContinuation) {
|
|
829
829
|
var i = new (withoutClosePropagation$slambda())($this_withoutClosePropagation, resultContinuation);
|
|
830
830
|
var l = function ($this$reader, $completion) {
|
|
831
|
-
return i.
|
|
831
|
+
return i.o4f($this$reader, $completion);
|
|
832
832
|
};
|
|
833
833
|
l.$arity = 1;
|
|
834
834
|
return l;
|
|
@@ -839,10 +839,10 @@ function $writeHeadersCOROUTINE$() {
|
|
|
839
839
|
class $ extends CoroutineImpl() {
|
|
840
840
|
constructor(request, output, overProxy, closeChannel, resultContinuation) {
|
|
841
841
|
super(resultContinuation);
|
|
842
|
-
this.
|
|
843
|
-
this.
|
|
844
|
-
this.
|
|
845
|
-
this.
|
|
842
|
+
this.z79_1 = request;
|
|
843
|
+
this.a7a_1 = output;
|
|
844
|
+
this.b7a_1 = overProxy;
|
|
845
|
+
this.c7a_1 = closeChannel;
|
|
846
846
|
}
|
|
847
847
|
ic() {
|
|
848
848
|
var suspendResult = this.cc_1;
|
|
@@ -852,26 +852,26 @@ function $writeHeadersCOROUTINE$() {
|
|
|
852
852
|
switch (tmp) {
|
|
853
853
|
case 0:
|
|
854
854
|
this.bc_1 = 9;
|
|
855
|
-
this.
|
|
856
|
-
this.
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
859
|
-
this.
|
|
855
|
+
this.d7a_1 = new (RequestResponseBuilder())();
|
|
856
|
+
this.e7a_1 = this.z79_1.r56_1;
|
|
857
|
+
this.f7a_1 = this.z79_1.q56_1;
|
|
858
|
+
this.g7a_1 = this.z79_1.s56_1;
|
|
859
|
+
this.h7a_1 = this.z79_1.t56_1;
|
|
860
860
|
var tmp_0 = this;
|
|
861
|
-
var tmp0_elvis_lhs = this.
|
|
861
|
+
var tmp0_elvis_lhs = this.g7a_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
862
862
|
var tmp_1;
|
|
863
863
|
if (tmp0_elvis_lhs == null) {
|
|
864
|
-
var tmp1_safe_receiver = this.
|
|
864
|
+
var tmp1_safe_receiver = this.h7a_1.t4b();
|
|
865
865
|
tmp_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.toString();
|
|
866
866
|
} else {
|
|
867
867
|
tmp_1 = tmp0_elvis_lhs;
|
|
868
868
|
}
|
|
869
869
|
|
|
870
|
-
tmp_0.
|
|
871
|
-
this.
|
|
872
|
-
this.
|
|
873
|
-
this.
|
|
874
|
-
this.
|
|
870
|
+
tmp_0.i7a_1 = tmp_1;
|
|
871
|
+
this.j7a_1 = this.g7a_1.c3s(HttpHeaders_getInstance().c44_1);
|
|
872
|
+
this.k7a_1 = this.h7a_1.z45().c3s(HttpHeaders_getInstance().c44_1);
|
|
873
|
+
this.l7a_1 = isChunked(this.i7a_1, this.k7a_1, this.j7a_1);
|
|
874
|
+
this.m7a_1 = this.g7a_1.c3s(HttpHeaders_getInstance().g42_1);
|
|
875
875
|
this.ac_1 = 1;
|
|
876
876
|
continue $sm;
|
|
877
877
|
case 1:
|
|
@@ -879,57 +879,57 @@ function $writeHeadersCOROUTINE$() {
|
|
|
879
879
|
this.bc_1 = 4;
|
|
880
880
|
var tmp_2 = this;
|
|
881
881
|
var tmp_3;
|
|
882
|
-
if (this.
|
|
883
|
-
var this_0 = URLBuilder(this.
|
|
882
|
+
if (this.f7a_1.x49_1.j()) {
|
|
883
|
+
var this_0 = URLBuilder(this.f7a_1);
|
|
884
884
|
set_encodedPath(this_0, '/');
|
|
885
885
|
tmp_3 = this_0.z1i();
|
|
886
886
|
} else {
|
|
887
|
-
tmp_3 = this.
|
|
887
|
+
tmp_3 = this.f7a_1;
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
-
tmp_2.
|
|
891
|
-
this.
|
|
892
|
-
this.
|
|
893
|
-
if (!this.
|
|
890
|
+
tmp_2.o7a_1 = tmp_3;
|
|
891
|
+
this.p7a_1 = this.b7a_1 ? this.o7a_1.toString() : get_fullPath(this.o7a_1);
|
|
892
|
+
this.d7a_1.o4o(this.e7a_1, this.p7a_1, Companion_getInstance_1().k46_1.toString());
|
|
893
|
+
if (!this.g7a_1.j3t(HttpHeaders_getInstance().k42_1)) {
|
|
894
894
|
var tmp_4;
|
|
895
|
-
if (this.
|
|
896
|
-
tmp_4 = this.
|
|
895
|
+
if (this.f7a_1.a4a_1.m49_1 === this.f7a_1.g4b()) {
|
|
896
|
+
tmp_4 = this.f7a_1.o49_1;
|
|
897
897
|
} else {
|
|
898
|
-
tmp_4 = get_hostWithPort(this.
|
|
898
|
+
tmp_4 = get_hostWithPort(this.f7a_1);
|
|
899
899
|
}
|
|
900
900
|
var host = tmp_4;
|
|
901
|
-
this.
|
|
901
|
+
this.d7a_1.p4o(HttpHeaders_getInstance().k42_1, host);
|
|
902
902
|
}
|
|
903
903
|
|
|
904
904
|
var tmp_5 = this;
|
|
905
|
-
var tmp_6 = this.
|
|
906
|
-
tmp_5.
|
|
907
|
-
if (!(this.
|
|
908
|
-
if (get_supportsRequestBody(this.
|
|
909
|
-
this.
|
|
905
|
+
var tmp_6 = this.h7a_1;
|
|
906
|
+
tmp_5.q7a_1 = !(tmp_6 instanceof NoContent());
|
|
907
|
+
if (!(this.i7a_1 == null)) {
|
|
908
|
+
if (get_supportsRequestBody(this.e7a_1) || this.q7a_1) {
|
|
909
|
+
this.d7a_1.p4o(HttpHeaders_getInstance().v41_1, this.i7a_1);
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
|
|
913
|
-
mergeHeaders(this.
|
|
913
|
+
mergeHeaders(this.g7a_1, this.h7a_1, writeHeaders$lambda(this.d7a_1));
|
|
914
914
|
var tmp_7;
|
|
915
|
-
if (this.
|
|
916
|
-
var tmp_8 = this.
|
|
915
|
+
if (this.l7a_1 && this.j7a_1 == null && this.k7a_1 == null) {
|
|
916
|
+
var tmp_8 = this.h7a_1;
|
|
917
917
|
tmp_7 = !(tmp_8 instanceof NoContent());
|
|
918
918
|
} else {
|
|
919
919
|
tmp_7 = false;
|
|
920
920
|
}
|
|
921
921
|
|
|
922
922
|
if (tmp_7) {
|
|
923
|
-
this.
|
|
923
|
+
this.d7a_1.p4o(HttpHeaders_getInstance().c44_1, 'chunked');
|
|
924
924
|
}
|
|
925
925
|
|
|
926
|
-
if (expectContinue(this.
|
|
927
|
-
this.
|
|
926
|
+
if (expectContinue(this.m7a_1, this.h7a_1)) {
|
|
927
|
+
this.d7a_1.p4o(HttpHeaders_getInstance().g42_1, ensureNotNull(this.m7a_1));
|
|
928
928
|
}
|
|
929
929
|
|
|
930
|
-
this.
|
|
930
|
+
this.d7a_1.q4o();
|
|
931
931
|
this.ac_1 = 2;
|
|
932
|
-
suspendResult = writePacket(this.
|
|
932
|
+
suspendResult = writePacket(this.a7a_1, this.d7a_1.z1i(), this);
|
|
933
933
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
934
934
|
return suspendResult;
|
|
935
935
|
}
|
|
@@ -937,14 +937,14 @@ function $writeHeadersCOROUTINE$() {
|
|
|
937
937
|
continue $sm;
|
|
938
938
|
case 2:
|
|
939
939
|
this.ac_1 = 3;
|
|
940
|
-
suspendResult = this.
|
|
940
|
+
suspendResult = this.a7a_1.z3a(this);
|
|
941
941
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
942
942
|
return suspendResult;
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
continue $sm;
|
|
946
946
|
case 3:
|
|
947
|
-
this.
|
|
947
|
+
this.n7a_1 = suspendResult;
|
|
948
948
|
this.bc_1 = 9;
|
|
949
949
|
this.ac_1 = 7;
|
|
950
950
|
continue $sm;
|
|
@@ -952,10 +952,10 @@ function $writeHeadersCOROUTINE$() {
|
|
|
952
952
|
this.bc_1 = 8;
|
|
953
953
|
var tmp_9 = this.dc_1;
|
|
954
954
|
if (tmp_9 instanceof Error) {
|
|
955
|
-
this.
|
|
956
|
-
if (this.
|
|
955
|
+
this.r7a_1 = this.dc_1;
|
|
956
|
+
if (this.c7a_1) {
|
|
957
957
|
this.ac_1 = 5;
|
|
958
|
-
suspendResult = this.
|
|
958
|
+
suspendResult = this.a7a_1.k3b(this);
|
|
959
959
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
960
960
|
return suspendResult;
|
|
961
961
|
}
|
|
@@ -973,15 +973,15 @@ function $writeHeadersCOROUTINE$() {
|
|
|
973
973
|
continue $sm;
|
|
974
974
|
case 6:
|
|
975
975
|
var tmp_10 = this;
|
|
976
|
-
throw this.
|
|
976
|
+
throw this.r7a_1;
|
|
977
977
|
case 7:
|
|
978
978
|
this.bc_1 = 9;
|
|
979
|
-
this.
|
|
979
|
+
this.d7a_1.m2o();
|
|
980
980
|
return Unit_instance;
|
|
981
981
|
case 8:
|
|
982
982
|
this.bc_1 = 9;
|
|
983
983
|
var t = this.dc_1;
|
|
984
|
-
this.
|
|
984
|
+
this.d7a_1.m2o();
|
|
985
985
|
throw t;
|
|
986
986
|
case 9:
|
|
987
987
|
throw this.dc_1;
|
|
@@ -1009,9 +1009,9 @@ function $startTunnelCOROUTINE$() {
|
|
|
1009
1009
|
class $ extends CoroutineImpl() {
|
|
1010
1010
|
constructor(request, output, input, resultContinuation) {
|
|
1011
1011
|
super(resultContinuation);
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1014
|
-
this.
|
|
1012
|
+
this.a7b_1 = request;
|
|
1013
|
+
this.b7b_1 = output;
|
|
1014
|
+
this.c7b_1 = input;
|
|
1015
1015
|
}
|
|
1016
1016
|
ic() {
|
|
1017
1017
|
var suspendResult = this.cc_1;
|
|
@@ -1021,39 +1021,39 @@ function $startTunnelCOROUTINE$() {
|
|
|
1021
1021
|
switch (tmp) {
|
|
1022
1022
|
case 0:
|
|
1023
1023
|
this.bc_1 = 17;
|
|
1024
|
-
this.
|
|
1024
|
+
this.d7b_1 = new (RequestResponseBuilder())();
|
|
1025
1025
|
this.ac_1 = 1;
|
|
1026
1026
|
continue $sm;
|
|
1027
1027
|
case 1:
|
|
1028
1028
|
this.bc_1 = 16;
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1033
|
-
var tmp0_safe_receiver = this.
|
|
1029
|
+
this.f7b_1 = get_hostWithPort(this.a7b_1.q56_1);
|
|
1030
|
+
this.d7b_1.o4o(new (HttpMethod())('CONNECT'), this.f7b_1, Companion_getInstance_1().k46_1.toString());
|
|
1031
|
+
this.d7b_1.p4o(HttpHeaders_getInstance().k42_1, this.f7b_1);
|
|
1032
|
+
this.d7b_1.p4o('Proxy-Connection', 'Keep-Alive');
|
|
1033
|
+
var tmp0_safe_receiver = this.a7b_1.s56_1.c3s(HttpHeaders_getInstance().e44_1);
|
|
1034
1034
|
if (tmp0_safe_receiver == null)
|
|
1035
1035
|
null;
|
|
1036
1036
|
else {
|
|
1037
|
-
this.
|
|
1037
|
+
this.d7b_1.p4o(HttpHeaders_getInstance().e44_1, tmp0_safe_receiver);
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
-
var tmp1_safe_receiver = this.
|
|
1040
|
+
var tmp1_safe_receiver = this.a7b_1.s56_1.c3s(HttpHeaders_getInstance().g43_1);
|
|
1041
1041
|
if (tmp1_safe_receiver == null)
|
|
1042
1042
|
null;
|
|
1043
1043
|
else {
|
|
1044
|
-
this.
|
|
1044
|
+
this.d7b_1.p4o(HttpHeaders_getInstance().g43_1, tmp1_safe_receiver);
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
|
-
var tmp2_safe_receiver = this.
|
|
1047
|
+
var tmp2_safe_receiver = this.a7b_1.s56_1.c3s(HttpHeaders_getInstance().i43_1);
|
|
1048
1048
|
if (tmp2_safe_receiver == null)
|
|
1049
1049
|
null;
|
|
1050
1050
|
else {
|
|
1051
|
-
this.
|
|
1051
|
+
this.d7b_1.p4o(HttpHeaders_getInstance().i43_1, tmp2_safe_receiver);
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
|
-
this.
|
|
1054
|
+
this.d7b_1.q4o();
|
|
1055
1055
|
this.ac_1 = 2;
|
|
1056
|
-
suspendResult = writePacket(this.
|
|
1056
|
+
suspendResult = writePacket(this.b7b_1, this.d7b_1.z1i(), this);
|
|
1057
1057
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1058
1058
|
return suspendResult;
|
|
1059
1059
|
}
|
|
@@ -1061,7 +1061,7 @@ function $startTunnelCOROUTINE$() {
|
|
|
1061
1061
|
continue $sm;
|
|
1062
1062
|
case 2:
|
|
1063
1063
|
this.ac_1 = 3;
|
|
1064
|
-
suspendResult = this.
|
|
1064
|
+
suspendResult = this.b7b_1.z3a(this);
|
|
1065
1065
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1066
1066
|
return suspendResult;
|
|
1067
1067
|
}
|
|
@@ -1069,30 +1069,30 @@ function $startTunnelCOROUTINE$() {
|
|
|
1069
1069
|
continue $sm;
|
|
1070
1070
|
case 3:
|
|
1071
1071
|
this.ac_1 = 4;
|
|
1072
|
-
suspendResult = parseResponse(this.
|
|
1072
|
+
suspendResult = parseResponse(this.c7b_1, this);
|
|
1073
1073
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1074
1074
|
return suspendResult;
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
1077
1077
|
continue $sm;
|
|
1078
1078
|
case 4:
|
|
1079
|
-
this.
|
|
1079
|
+
this.g7b_1 = suspendResult;
|
|
1080
1080
|
var tmp_0 = this;
|
|
1081
1081
|
var tmp_1;
|
|
1082
|
-
if (this.
|
|
1083
|
-
throw ClosedReadChannelException().
|
|
1082
|
+
if (this.g7b_1 == null) {
|
|
1083
|
+
throw ClosedReadChannelException().b39(EOFException().m2r('Failed to parse CONNECT response: unexpected EOF'));
|
|
1084
1084
|
} else {
|
|
1085
|
-
tmp_1 = this.
|
|
1085
|
+
tmp_1 = this.g7b_1;
|
|
1086
1086
|
}
|
|
1087
1087
|
|
|
1088
|
-
tmp_0.
|
|
1088
|
+
tmp_0.h7b_1 = tmp_1;
|
|
1089
1089
|
var tmp_2 = this;
|
|
1090
|
-
tmp_2.
|
|
1090
|
+
tmp_2.i7b_1 = this.h7b_1;
|
|
1091
1091
|
this.ac_1 = 5;
|
|
1092
1092
|
continue $sm;
|
|
1093
1093
|
case 5:
|
|
1094
|
-
this.
|
|
1095
|
-
this.
|
|
1094
|
+
this.k7b_1 = this.i7b_1;
|
|
1095
|
+
this.l7b_1 = null;
|
|
1096
1096
|
this.ac_1 = 6;
|
|
1097
1097
|
continue $sm;
|
|
1098
1098
|
case 6:
|
|
@@ -1102,26 +1102,26 @@ function $startTunnelCOROUTINE$() {
|
|
|
1102
1102
|
this.bc_1 = 12;
|
|
1103
1103
|
this.bc_1 = 11;
|
|
1104
1104
|
var tmp_3 = this;
|
|
1105
|
-
tmp_3.
|
|
1106
|
-
this.
|
|
1107
|
-
if (!((this.
|
|
1108
|
-
throw IOException().
|
|
1105
|
+
tmp_3.n7b_1 = this.k7b_1;
|
|
1106
|
+
this.o7b_1 = this.n7b_1;
|
|
1107
|
+
if (!((this.h7b_1.j4n_1 / 200 | 0) === 1)) {
|
|
1108
|
+
throw IOException().z2u('Can not establish tunnel connection');
|
|
1109
1109
|
}
|
|
1110
1110
|
|
|
1111
|
-
this.
|
|
1112
|
-
if (this.
|
|
1113
|
-
this.
|
|
1111
|
+
this.p7b_1 = this.h7b_1.l4n_1.c3s(HttpHeaders_getInstance().v41_1);
|
|
1112
|
+
if (this.p7b_1 == null) {
|
|
1113
|
+
this.q7b_1 = null;
|
|
1114
1114
|
this.ac_1 = 9;
|
|
1115
1115
|
continue $sm;
|
|
1116
1116
|
} else {
|
|
1117
1117
|
var tmp_4 = this;
|
|
1118
|
-
tmp_4.
|
|
1119
|
-
this.
|
|
1118
|
+
tmp_4.r7b_1 = this.p7b_1;
|
|
1119
|
+
this.s7b_1 = this.r7b_1;
|
|
1120
1120
|
var tmp_5 = this;
|
|
1121
|
-
tmp_5.
|
|
1122
|
-
this.
|
|
1121
|
+
tmp_5.t7b_1 = this.s7b_1;
|
|
1122
|
+
this.u7b_1 = this.t7b_1;
|
|
1123
1123
|
this.ac_1 = 8;
|
|
1124
|
-
suspendResult = discard(this.
|
|
1124
|
+
suspendResult = discard(this.c7b_1, toLong(toString(this.u7b_1)), this);
|
|
1125
1125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1126
1126
|
return suspendResult;
|
|
1127
1127
|
}
|
|
@@ -1129,19 +1129,19 @@ function $startTunnelCOROUTINE$() {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
|
|
1131
1131
|
case 8:
|
|
1132
|
-
this.
|
|
1132
|
+
this.q7b_1 = suspendResult;
|
|
1133
1133
|
this.ac_1 = 9;
|
|
1134
1134
|
continue $sm;
|
|
1135
1135
|
case 9:
|
|
1136
|
-
this.
|
|
1136
|
+
this.m7b_1 = this.q7b_1;
|
|
1137
1137
|
this.ac_1 = 10;
|
|
1138
1138
|
var tmp_6 = this;
|
|
1139
1139
|
continue $sm;
|
|
1140
1140
|
case 10:
|
|
1141
|
-
var tmp_7 = this.
|
|
1141
|
+
var tmp_7 = this.m7b_1;
|
|
1142
1142
|
this.bc_1 = 16;
|
|
1143
|
-
closeFinally(this.
|
|
1144
|
-
this.
|
|
1143
|
+
closeFinally(this.k7b_1, this.l7b_1);
|
|
1144
|
+
this.j7b_1 = tmp_7;
|
|
1145
1145
|
this.ac_1 = 14;
|
|
1146
1146
|
continue $sm;
|
|
1147
1147
|
case 11:
|
|
@@ -1150,7 +1150,7 @@ function $startTunnelCOROUTINE$() {
|
|
|
1150
1150
|
if (tmp_8 instanceof Error) {
|
|
1151
1151
|
var e = this.dc_1;
|
|
1152
1152
|
var tmp_9 = this;
|
|
1153
|
-
this.
|
|
1153
|
+
this.l7b_1 = e;
|
|
1154
1154
|
throw e;
|
|
1155
1155
|
} else {
|
|
1156
1156
|
throw this.dc_1;
|
|
@@ -1159,11 +1159,11 @@ function $startTunnelCOROUTINE$() {
|
|
|
1159
1159
|
case 12:
|
|
1160
1160
|
this.bc_1 = 16;
|
|
1161
1161
|
var t = this.dc_1;
|
|
1162
|
-
closeFinally(this.
|
|
1162
|
+
closeFinally(this.k7b_1, this.l7b_1);
|
|
1163
1163
|
throw t;
|
|
1164
1164
|
case 13:
|
|
1165
1165
|
this.bc_1 = 16;
|
|
1166
|
-
closeFinally(this.
|
|
1166
|
+
closeFinally(this.k7b_1, this.l7b_1);
|
|
1167
1167
|
if (false) {
|
|
1168
1168
|
this.ac_1 = 5;
|
|
1169
1169
|
continue $sm;
|
|
@@ -1172,19 +1172,19 @@ function $startTunnelCOROUTINE$() {
|
|
|
1172
1172
|
this.ac_1 = 14;
|
|
1173
1173
|
continue $sm;
|
|
1174
1174
|
case 14:
|
|
1175
|
-
this.
|
|
1175
|
+
this.e7b_1 = this.j7b_1;
|
|
1176
1176
|
this.bc_1 = 17;
|
|
1177
1177
|
this.ac_1 = 15;
|
|
1178
1178
|
continue $sm;
|
|
1179
1179
|
case 15:
|
|
1180
|
-
this.
|
|
1180
|
+
this.e7b_1;
|
|
1181
1181
|
this.bc_1 = 17;
|
|
1182
|
-
this.
|
|
1182
|
+
this.d7b_1.m2o();
|
|
1183
1183
|
return Unit_instance;
|
|
1184
1184
|
case 16:
|
|
1185
1185
|
this.bc_1 = 17;
|
|
1186
1186
|
var t_0 = this.dc_1;
|
|
1187
|
-
this.
|
|
1187
|
+
this.d7b_1.m2o();
|
|
1188
1188
|
throw t_0;
|
|
1189
1189
|
case 17:
|
|
1190
1190
|
throw this.dc_1;
|
|
@@ -1212,9 +1212,9 @@ function $processOutgoingContentCOROUTINE$() {
|
|
|
1212
1212
|
class $ extends CoroutineImpl() {
|
|
1213
1213
|
constructor(request, body, channel, resultContinuation) {
|
|
1214
1214
|
super(resultContinuation);
|
|
1215
|
-
this.
|
|
1216
|
-
this.
|
|
1217
|
-
this.
|
|
1215
|
+
this.d7c_1 = request;
|
|
1216
|
+
this.e7c_1 = body;
|
|
1217
|
+
this.f7c_1 = channel;
|
|
1218
1218
|
}
|
|
1219
1219
|
ic() {
|
|
1220
1220
|
var suspendResult = this.cc_1;
|
|
@@ -1224,50 +1224,50 @@ function $processOutgoingContentCOROUTINE$() {
|
|
|
1224
1224
|
switch (tmp) {
|
|
1225
1225
|
case 0:
|
|
1226
1226
|
this.bc_1 = 6;
|
|
1227
|
-
this.
|
|
1228
|
-
var tmp_0 = this.
|
|
1227
|
+
this.g7c_1 = this.e7c_1;
|
|
1228
|
+
var tmp_0 = this.g7c_1;
|
|
1229
1229
|
if (tmp_0 instanceof ByteArrayContent()) {
|
|
1230
1230
|
this.ac_1 = 4;
|
|
1231
|
-
suspendResult = writeFully(this.
|
|
1231
|
+
suspendResult = writeFully(this.f7c_1, this.e7c_1.u4b(), VOID, VOID, this);
|
|
1232
1232
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1233
1233
|
return suspendResult;
|
|
1234
1234
|
}
|
|
1235
1235
|
continue $sm;
|
|
1236
1236
|
} else {
|
|
1237
|
-
var tmp_1 = this.
|
|
1237
|
+
var tmp_1 = this.g7c_1;
|
|
1238
1238
|
if (tmp_1 instanceof ReadChannelContent()) {
|
|
1239
1239
|
this.ac_1 = 3;
|
|
1240
|
-
suspendResult = copyAndClose(this.
|
|
1240
|
+
suspendResult = copyAndClose(this.e7c_1.x4b(), this.f7c_1, this);
|
|
1241
1241
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1242
1242
|
return suspendResult;
|
|
1243
1243
|
}
|
|
1244
1244
|
continue $sm;
|
|
1245
1245
|
} else {
|
|
1246
|
-
var tmp_2 = this.
|
|
1246
|
+
var tmp_2 = this.g7c_1;
|
|
1247
1247
|
if (tmp_2 instanceof WriteChannelContent()) {
|
|
1248
1248
|
this.ac_1 = 2;
|
|
1249
|
-
suspendResult = this.
|
|
1249
|
+
suspendResult = this.e7c_1.z4b(this.f7c_1, this);
|
|
1250
1250
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1251
1251
|
return suspendResult;
|
|
1252
1252
|
}
|
|
1253
1253
|
continue $sm;
|
|
1254
1254
|
} else {
|
|
1255
|
-
var tmp_3 = this.
|
|
1255
|
+
var tmp_3 = this.g7c_1;
|
|
1256
1256
|
if (tmp_3 instanceof ContentWrapper()) {
|
|
1257
1257
|
this.ac_1 = 1;
|
|
1258
|
-
suspendResult = processOutgoingContent(this.
|
|
1258
|
+
suspendResult = processOutgoingContent(this.d7c_1, this.e7c_1.d4c(), this.f7c_1, this);
|
|
1259
1259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1260
1260
|
return suspendResult;
|
|
1261
1261
|
}
|
|
1262
1262
|
continue $sm;
|
|
1263
1263
|
} else {
|
|
1264
|
-
var tmp_4 = this.
|
|
1264
|
+
var tmp_4 = this.g7c_1;
|
|
1265
1265
|
if (tmp_4 instanceof ProtocolUpgrade()) {
|
|
1266
1266
|
var tmp_5 = this;
|
|
1267
1267
|
var message = 'unreachable code';
|
|
1268
1268
|
throw IllegalStateException().o4(toString(message));
|
|
1269
1269
|
} else {
|
|
1270
|
-
var tmp_6 = this.
|
|
1270
|
+
var tmp_6 = this.g7c_1;
|
|
1271
1271
|
if (tmp_6 instanceof NoContent()) {
|
|
1272
1272
|
var tmp_7 = this;
|
|
1273
1273
|
var message_0 = 'unreachable code';
|
|
@@ -1285,21 +1285,21 @@ function $processOutgoingContentCOROUTINE$() {
|
|
|
1285
1285
|
break;
|
|
1286
1286
|
case 1:
|
|
1287
1287
|
var tmp_9 = this;
|
|
1288
|
-
tmp_9.
|
|
1288
|
+
tmp_9.h7c_1 = Unit_instance;
|
|
1289
1289
|
this.ac_1 = 5;
|
|
1290
1290
|
continue $sm;
|
|
1291
1291
|
case 2:
|
|
1292
1292
|
var tmp_10 = this;
|
|
1293
|
-
tmp_10.
|
|
1293
|
+
tmp_10.h7c_1 = Unit_instance;
|
|
1294
1294
|
this.ac_1 = 5;
|
|
1295
1295
|
continue $sm;
|
|
1296
1296
|
case 3:
|
|
1297
|
-
this.
|
|
1297
|
+
this.h7c_1 = suspendResult;
|
|
1298
1298
|
this.ac_1 = 5;
|
|
1299
1299
|
continue $sm;
|
|
1300
1300
|
case 4:
|
|
1301
1301
|
var tmp_11 = this;
|
|
1302
|
-
tmp_11.
|
|
1302
|
+
tmp_11.h7c_1 = Unit_instance;
|
|
1303
1303
|
this.ac_1 = 5;
|
|
1304
1304
|
continue $sm;
|
|
1305
1305
|
case 5:
|