@solibo/solibo-sdk 1.1.110 → 1.1.111
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/KmLogging-logging.mjs +112 -112
- package/KmLogging-logging.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1629 -1629
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs.map +1 -1
- package/KotlinBigInteger-bignum.mjs +1381 -1381
- package/KotlinBigInteger-bignum.mjs.map +1 -1
- package/MultiplatformSettings-multiplatform-settings-test.mjs +22 -22
- package/MultiplatformSettings-multiplatform-settings-test.mjs.map +1 -1
- package/MultiplatformSettings-multiplatform-settings.mjs +18 -18
- package/Stately-stately-concurrency.mjs +5 -5
- package/cryptography-kotlin-cryptography-bigint.mjs +45 -45
- package/cryptography-kotlin-cryptography-bigint.mjs.map +1 -1
- package/cryptography-kotlin-cryptography-core.mjs +110 -108
- package/cryptography-kotlin-cryptography-core.mjs.map +1 -1
- package/cryptography-kotlin-cryptography-provider-base.mjs +15 -15
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +208 -207
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs.map +1 -1
- package/cryptography-kotlin-cryptography-random.mjs +28 -28
- package/cryptography-kotlin-cryptography-random.mjs.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +228 -228
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +388 -390
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +29 -29
- package/cryptography-kotlin-cryptography-serialization-pem.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +1540 -1724
- package/kotlin-kotlin-stdlib.mjs.map +1 -0
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-atomicfu.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +2482 -2464
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +42 -42
- package/kotlinx-io-kotlinx-io-bytestring.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-core.mjs +629 -625
- package/kotlinx-io-kotlinx-io-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1984 -1993
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1501 -1500
- package/kotlinx-serialization-kotlinx-serialization-json.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +294 -293
- package/ktor-ktor-client-auth.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation.mjs +142 -142
- package/ktor-ktor-client-content-negotiation.mjs.map +1 -1
- package/ktor-ktor-client-core.mjs +3239 -3062
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-logging.mjs +677 -685
- package/ktor-ktor-client-logging.mjs.map +1 -1
- package/ktor-ktor-client-mock.mjs +66 -66
- package/ktor-ktor-client-mock.mjs.map +1 -1
- package/ktor-ktor-events.mjs +8 -8
- package/ktor-ktor-events.mjs.map +1 -1
- package/ktor-ktor-http-cio.mjs +379 -379
- package/ktor-ktor-http-cio.mjs.map +1 -1
- package/ktor-ktor-http.mjs +1130 -1133
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +670 -670
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +9 -9
- package/ktor-ktor-serialization-kotlinx.mjs +147 -146
- package/ktor-ktor-serialization-kotlinx.mjs.map +1 -1
- package/ktor-ktor-serialization.mjs +64 -65
- package/ktor-ktor-serialization.mjs.map +1 -1
- package/ktor-ktor-utils.mjs +1598 -1032
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +430 -432
- package/ktor-ktor-websockets.mjs.map +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +49962 -49836
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +156 -153
- package/solibo-sdk-sdk.mjs +5014 -4995
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
isCharSequence1ju9jr1w86plq as isCharSequence,
|
|
6
6
|
trim11nh7r46at6sx as trim,
|
|
7
7
|
toString1pkumu07cwy4m as toString,
|
|
8
|
-
|
|
8
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
9
9
|
protoOf180f3jzyo7rfj as protoOf,
|
|
10
10
|
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
11
11
|
charSequenceLength3278n89t01tmv as charSequenceLength,
|
|
12
|
-
StringBuilder_init_$Create$
|
|
13
|
-
|
|
12
|
+
StringBuilder_init_$Create$3ds9zx2kx9u4d as StringBuilder_init_$Create$,
|
|
13
|
+
_Char___init__impl__6a9atx2gndcvjvc5pke as _Char___init__impl__6a9atx,
|
|
14
14
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
15
15
|
VOID3gxj6tk5isa35 as VOID,
|
|
16
16
|
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
Enum3alwj03lh1n41 as Enum,
|
|
20
20
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
21
21
|
println2shhhgwwt4c61 as println,
|
|
22
|
-
ArrayList_init_$Create$
|
|
23
|
-
IllegalStateException_init_$Create$
|
|
22
|
+
ArrayList_init_$Create$37gc04va6yfo2 as ArrayList_init_$Create$,
|
|
23
|
+
IllegalStateException_init_$Create$1h4bcfod21ri0 as IllegalStateException_init_$Create$,
|
|
24
24
|
getKClassFromExpression348iqjl4fnx2f as getKClassFromExpression,
|
|
25
25
|
fromInt2ii0rejb1w62w as fromInt,
|
|
26
26
|
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
@@ -52,25 +52,25 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
Job13y4jkazwjho0 as Job,
|
|
54
54
|
CoroutineScopefcb5f5dwqcas as CoroutineScope,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
GlobalScope_instance3t6qd3g1xr5c0 as GlobalScope_instance,
|
|
56
|
+
Dispatchers_getInstance2p2r3ndn98nn as Dispatchers_getInstance,
|
|
57
57
|
launch1c91vkjzdi9sd as launch,
|
|
58
58
|
} from './kotlinx-coroutines-core.mjs';
|
|
59
59
|
import { atomic$boolean$1iggki4z65a2h as atomic$boolean$1 } from './kotlinx-atomicfu.mjs';
|
|
60
60
|
import {
|
|
61
61
|
readText27783kyxjxi1g as readText,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
readBuffer3cv25mfaa78r0 as readBuffer,
|
|
63
|
+
Charsets_getInstanceqkyjyusuh1b0 as Charsets_getInstance,
|
|
64
|
+
readAvailable2v9sgy82btrhn as readAvailable,
|
|
65
65
|
writeFully359t6q8kam2g5 as writeFully,
|
|
66
66
|
decode1t43jmuxrxpmo as decode,
|
|
67
67
|
MalformedInputExceptionbvc6h5ij0ias as MalformedInputException,
|
|
68
|
-
|
|
68
|
+
readRemaining1u8soafhjma7y as readRemaining,
|
|
69
69
|
ByteChannel3cxdguezl3lu7 as ByteChannel,
|
|
70
70
|
ByteReadChannel1cb89sbyipkce as ByteReadChannel,
|
|
71
71
|
writer1eia5its2a1fh as writer,
|
|
72
72
|
WriterScope3b0bo1enaee6b as WriterScope,
|
|
73
|
-
|
|
73
|
+
writeFully1yd4favg5iwxl as writeFully_0,
|
|
74
74
|
} from './ktor-ktor-io.mjs';
|
|
75
75
|
import {
|
|
76
76
|
isTextType18tglh0ao45mc as isTextType,
|
|
@@ -87,16 +87,16 @@ import {
|
|
|
87
87
|
URLBuilder2mz8zkz4u9ray as URLBuilder,
|
|
88
88
|
takeFromkqlcz7c6dx2r as takeFrom,
|
|
89
89
|
HeadersBuilder3h7sn3kkvu98m as HeadersBuilder,
|
|
90
|
-
|
|
90
|
+
Companion_getInstance13wwf84j92s7c as Companion_getInstance,
|
|
91
91
|
contentLength2suzxu1lzutku as contentLength,
|
|
92
92
|
contentType317fn4f991q9a as contentType,
|
|
93
|
-
|
|
93
|
+
Text_getInstancereo9eglzqyxz as Text_getInstance,
|
|
94
94
|
} from './ktor-ktor-http.mjs';
|
|
95
95
|
import { Buffergs925ekssbch as Buffer } from './kotlinx-io-kotlinx-io-core.mjs';
|
|
96
96
|
import {
|
|
97
97
|
PipelineContext34fsb0mycu471 as PipelineContext,
|
|
98
98
|
PipelinePhase2q3d54imxjlma as PipelinePhase,
|
|
99
|
-
|
|
99
|
+
GZipEncoder_getInstance1466hegupqwpb as GZipEncoder_getInstance,
|
|
100
100
|
split3qruicwa3f4zo as split,
|
|
101
101
|
appendIfNameAbsent2ezf2rzparych as appendIfNameAbsent,
|
|
102
102
|
appendAlltwnjnu28pmtx as appendAll,
|
|
@@ -105,11 +105,11 @@ import {
|
|
|
105
105
|
copyToBoth3ldmovxh3mg5n as copyToBoth,
|
|
106
106
|
} from './ktor-ktor-utils.mjs';
|
|
107
107
|
import {
|
|
108
|
-
|
|
108
|
+
Phases_getInstance2itgh2akpxu95 as Phases_getInstance,
|
|
109
109
|
HttpResponse1532ob1hsse1y as HttpResponse,
|
|
110
|
-
|
|
110
|
+
Phases_getInstance3nx89wd8botnl as Phases_getInstance_0,
|
|
111
111
|
HttpResponseContainer3r9yzy4mwwvc9 as HttpResponseContainer,
|
|
112
|
-
|
|
112
|
+
Phases_getInstance1ydmp5ct4mzr8 as Phases_getInstance_1,
|
|
113
113
|
get_ResponseObserver25kfqwxoddjca as get_ResponseObserver,
|
|
114
114
|
HttpRequestBuilder15f2nnx9sjuv1 as HttpRequestBuilder,
|
|
115
115
|
get_isSaved1yor47kvbhumv as get_isSaved,
|
|
@@ -129,10 +129,10 @@ initMetadataForCoroutine($logResponseBodyCOROUTINE$, CoroutineImpl);
|
|
|
129
129
|
initMetadataForCoroutine($closeResponseLogCOROUTINE$, CoroutineImpl);
|
|
130
130
|
initMetadataForClass(HttpClientCallLogger, 'HttpClientCallLogger', VOID, VOID, VOID, [1, 0]);
|
|
131
131
|
function filterRequest(url, contentLength, contentType, headers, body, $completion) {
|
|
132
|
-
return this.
|
|
132
|
+
return this.noy(contentLength, contentType, headers, body, $completion);
|
|
133
133
|
}
|
|
134
134
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
135
|
-
return this.
|
|
135
|
+
return this.noy(contentLength, contentType, headers, body, $completion);
|
|
136
136
|
}
|
|
137
137
|
initMetadataForInterface(CommonLogBodyFilter, 'CommonLogBodyFilter', VOID, VOID, VOID, [5, 4]);
|
|
138
138
|
function get_byteSize() {
|
|
@@ -186,8 +186,8 @@ initMetadataForObject(MDCContextElement, 'MDCContextElement', VOID, VOID, [Eleme
|
|
|
186
186
|
//endregion
|
|
187
187
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
188
188
|
CoroutineImpl.call(this, resultContinuation);
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
189
|
+
this.dox_1 = _this__u8e3s4;
|
|
190
|
+
this.eox_1 = message;
|
|
191
191
|
}
|
|
192
192
|
protoOf($logResponseExceptionCOROUTINE$).t9 = function () {
|
|
193
193
|
var suspendResult = this.n9_1;
|
|
@@ -198,15 +198,15 @@ protoOf($logResponseExceptionCOROUTINE$).t9 = function () {
|
|
|
198
198
|
case 0:
|
|
199
199
|
this.m9_1 = 2;
|
|
200
200
|
this.l9_1 = 1;
|
|
201
|
-
suspendResult = this.
|
|
201
|
+
suspendResult = this.dox_1.iox_1.k28(this);
|
|
202
202
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
203
203
|
return suspendResult;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
continue $sm;
|
|
207
207
|
case 1:
|
|
208
|
-
var this_0 = this.
|
|
209
|
-
this.
|
|
208
|
+
var this_0 = this.eox_1;
|
|
209
|
+
this.dox_1.fox_1.mox(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
210
210
|
return Unit_instance;
|
|
211
211
|
case 2:
|
|
212
212
|
throw this.o9_1;
|
|
@@ -224,8 +224,8 @@ protoOf($logResponseExceptionCOROUTINE$).t9 = function () {
|
|
|
224
224
|
};
|
|
225
225
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
226
226
|
CoroutineImpl.call(this, resultContinuation);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.vox_1 = _this__u8e3s4;
|
|
228
|
+
this.wox_1 = message;
|
|
229
229
|
}
|
|
230
230
|
protoOf($logResponseBodyCOROUTINE$).t9 = function () {
|
|
231
231
|
var suspendResult = this.n9_1;
|
|
@@ -236,14 +236,14 @@ protoOf($logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
236
236
|
case 0:
|
|
237
237
|
this.m9_1 = 2;
|
|
238
238
|
this.l9_1 = 1;
|
|
239
|
-
suspendResult = this.
|
|
239
|
+
suspendResult = this.vox_1.jox_1.k28(this);
|
|
240
240
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
241
241
|
return suspendResult;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
continue $sm;
|
|
245
245
|
case 1:
|
|
246
|
-
this.
|
|
246
|
+
this.vox_1.hox_1.q(this.wox_1);
|
|
247
247
|
return Unit_instance;
|
|
248
248
|
case 2:
|
|
249
249
|
throw this.o9_1;
|
|
@@ -261,7 +261,7 @@ protoOf($logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
261
261
|
};
|
|
262
262
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
263
263
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
|
-
this.
|
|
264
|
+
this.foy_1 = _this__u8e3s4;
|
|
265
265
|
}
|
|
266
266
|
protoOf($closeResponseLogCOROUTINE$).t9 = function () {
|
|
267
267
|
var suspendResult = this.n9_1;
|
|
@@ -271,19 +271,19 @@ protoOf($closeResponseLogCOROUTINE$).t9 = function () {
|
|
|
271
271
|
switch (tmp) {
|
|
272
272
|
case 0:
|
|
273
273
|
this.m9_1 = 2;
|
|
274
|
-
if (!this.
|
|
274
|
+
if (!this.foy_1.lox_1.atomicfu$compareAndSet(false, true))
|
|
275
275
|
return Unit_instance;
|
|
276
276
|
this.l9_1 = 1;
|
|
277
|
-
suspendResult = this.
|
|
277
|
+
suspendResult = this.foy_1.iox_1.k28(this);
|
|
278
278
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
279
279
|
return suspendResult;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
continue $sm;
|
|
283
283
|
case 1:
|
|
284
|
-
var message = toString(trim(this.
|
|
284
|
+
var message = toString(trim(this.foy_1.hox_1));
|
|
285
285
|
if (charSequenceLength(message) > 0) {
|
|
286
|
-
this.
|
|
286
|
+
this.foy_1.fox_1.mox(message);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
return Unit_instance;
|
|
@@ -302,57 +302,57 @@ protoOf($closeResponseLogCOROUTINE$).t9 = function () {
|
|
|
302
302
|
while (true);
|
|
303
303
|
};
|
|
304
304
|
function HttpClientCallLogger(logger) {
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
}
|
|
313
|
-
protoOf(HttpClientCallLogger).
|
|
314
|
-
var tmp0 = this.
|
|
305
|
+
this.fox_1 = logger;
|
|
306
|
+
this.gox_1 = StringBuilder_init_$Create$();
|
|
307
|
+
this.hox_1 = StringBuilder_init_$Create$();
|
|
308
|
+
this.iox_1 = Job();
|
|
309
|
+
this.jox_1 = Job();
|
|
310
|
+
this.kox_1 = atomic$boolean$1(false);
|
|
311
|
+
this.lox_1 = atomic$boolean$1(false);
|
|
312
|
+
}
|
|
313
|
+
protoOf(HttpClientCallLogger).goy = function (message) {
|
|
314
|
+
var tmp0 = this.gox_1;
|
|
315
315
|
// Inline function 'kotlin.text.trim' call
|
|
316
316
|
// Inline function 'kotlin.text.appendLine' call
|
|
317
317
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
318
318
|
// Inline function 'kotlin.text.appendLine' call
|
|
319
319
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
320
320
|
};
|
|
321
|
-
protoOf(HttpClientCallLogger).
|
|
322
|
-
var tmp0 = this.
|
|
321
|
+
protoOf(HttpClientCallLogger).hoy = function (message) {
|
|
322
|
+
var tmp0 = this.hox_1;
|
|
323
323
|
// Inline function 'kotlin.text.trim' call
|
|
324
324
|
// Inline function 'kotlin.text.appendLine' call
|
|
325
325
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
326
326
|
// Inline function 'kotlin.text.appendLine' call
|
|
327
327
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
328
|
-
this.
|
|
328
|
+
this.jox_1.m2f();
|
|
329
329
|
};
|
|
330
|
-
protoOf(HttpClientCallLogger).
|
|
330
|
+
protoOf(HttpClientCallLogger).ioy = function (message, $completion) {
|
|
331
331
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
332
332
|
tmp.n9_1 = Unit_instance;
|
|
333
333
|
tmp.o9_1 = null;
|
|
334
334
|
return tmp.t9();
|
|
335
335
|
};
|
|
336
|
-
protoOf(HttpClientCallLogger).
|
|
336
|
+
protoOf(HttpClientCallLogger).joy = function (message, $completion) {
|
|
337
337
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
338
338
|
tmp.n9_1 = Unit_instance;
|
|
339
339
|
tmp.o9_1 = null;
|
|
340
340
|
return tmp.t9();
|
|
341
341
|
};
|
|
342
|
-
protoOf(HttpClientCallLogger).
|
|
343
|
-
if (!this.
|
|
342
|
+
protoOf(HttpClientCallLogger).koy = function () {
|
|
343
|
+
if (!this.kox_1.atomicfu$compareAndSet(false, true))
|
|
344
344
|
return Unit_instance;
|
|
345
345
|
try {
|
|
346
|
-
var message = toString(trim(this.
|
|
346
|
+
var message = toString(trim(this.gox_1));
|
|
347
347
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
348
348
|
if (charSequenceLength(message) > 0) {
|
|
349
|
-
this.
|
|
349
|
+
this.fox_1.mox(message);
|
|
350
350
|
}
|
|
351
351
|
}finally {
|
|
352
|
-
this.
|
|
352
|
+
this.iox_1.m2f();
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
|
-
protoOf(HttpClientCallLogger).
|
|
355
|
+
protoOf(HttpClientCallLogger).loy = function ($completion) {
|
|
356
356
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
357
357
|
tmp.n9_1 = Unit_instance;
|
|
358
358
|
tmp.o9_1 = null;
|
|
@@ -374,35 +374,35 @@ function Empty_getInstance() {
|
|
|
374
374
|
function Skip(reason, byteSize) {
|
|
375
375
|
reason = reason === VOID ? null : reason;
|
|
376
376
|
byteSize = byteSize === VOID ? null : byteSize;
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
377
|
+
this.qoy_1 = reason;
|
|
378
|
+
this.roy_1 = byteSize;
|
|
379
379
|
}
|
|
380
|
-
protoOf(Skip).
|
|
381
|
-
return this.
|
|
380
|
+
protoOf(Skip).poy = function () {
|
|
381
|
+
return this.roy_1;
|
|
382
382
|
};
|
|
383
383
|
function Content() {
|
|
384
384
|
}
|
|
385
385
|
function BufferContent(buffer, charset, byteSize) {
|
|
386
386
|
byteSize = byteSize === VOID ? buffer.g1() : byteSize;
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
387
|
+
this.soy_1 = buffer;
|
|
388
|
+
this.toy_1 = charset;
|
|
389
|
+
this.uoy_1 = byteSize;
|
|
390
390
|
}
|
|
391
|
-
protoOf(BufferContent).
|
|
392
|
-
return this.
|
|
391
|
+
protoOf(BufferContent).poy = function () {
|
|
392
|
+
return this.uoy_1;
|
|
393
393
|
};
|
|
394
|
-
protoOf(BufferContent).
|
|
395
|
-
return readText(this.
|
|
394
|
+
protoOf(BufferContent).o1k = function () {
|
|
395
|
+
return readText(this.soy_1, this.toy_1);
|
|
396
396
|
};
|
|
397
397
|
function BodyFilterResult() {
|
|
398
398
|
}
|
|
399
399
|
function $filterAllCOROUTINE$(_this__u8e3s4, contentLength, contentType, headers, body, resultContinuation) {
|
|
400
400
|
CoroutineImpl.call(this, resultContinuation);
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
401
|
+
this.doz_1 = _this__u8e3s4;
|
|
402
|
+
this.eoz_1 = contentLength;
|
|
403
|
+
this.foz_1 = contentType;
|
|
404
|
+
this.goz_1 = headers;
|
|
405
|
+
this.hoz_1 = body;
|
|
406
406
|
}
|
|
407
407
|
protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
408
408
|
var suspendResult = this.n9_1;
|
|
@@ -412,13 +412,13 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
412
412
|
switch (tmp) {
|
|
413
413
|
case 0:
|
|
414
414
|
this.m9_1 = 6;
|
|
415
|
-
if (this.
|
|
416
|
-
return new Skip('encoded', this.
|
|
415
|
+
if (this.goz_1.d3n('Content-Encoding')) {
|
|
416
|
+
return new Skip('encoded', this.eoz_1);
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
if (!(this.
|
|
419
|
+
if (!(this.foz_1 == null) && isTextType(this.foz_1)) {
|
|
420
420
|
this.l9_1 = 5;
|
|
421
|
-
suspendResult = readBuffer(this.
|
|
421
|
+
suspendResult = readBuffer(this.hoz_1, this);
|
|
422
422
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
423
423
|
return suspendResult;
|
|
424
424
|
}
|
|
@@ -431,18 +431,18 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
431
431
|
case 1:
|
|
432
432
|
var tmp_0 = this;
|
|
433
433
|
var tmp_1;
|
|
434
|
-
if (!(this.
|
|
435
|
-
var tmp1_elvis_lhs = charset(this.
|
|
436
|
-
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
434
|
+
if (!(this.foz_1 == null)) {
|
|
435
|
+
var tmp1_elvis_lhs = charset(this.foz_1);
|
|
436
|
+
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().p3i_1 : tmp1_elvis_lhs;
|
|
437
437
|
} else {
|
|
438
|
-
tmp_1 = Charsets_getInstance().
|
|
438
|
+
tmp_1 = Charsets_getInstance().p3i_1;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
tmp_0.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
441
|
+
tmp_0.noz_1 = tmp_1;
|
|
442
|
+
this.moz_1 = false;
|
|
443
|
+
this.loz_1 = new Int8Array(1024);
|
|
444
444
|
this.l9_1 = 2;
|
|
445
|
-
suspendResult = readAvailable(this.
|
|
445
|
+
suspendResult = readAvailable(this.hoz_1, this.loz_1, VOID, VOID, this);
|
|
446
446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
447
447
|
return suspendResult;
|
|
448
448
|
}
|
|
@@ -455,16 +455,16 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
var this_0 = new Buffer();
|
|
458
|
-
writeFully(this_0, this.
|
|
458
|
+
writeFully(this_0, this.loz_1, 0, firstReadSize);
|
|
459
459
|
var buffer = this_0;
|
|
460
460
|
var tmp_2;
|
|
461
461
|
try {
|
|
462
|
-
tmp_2 = decode(this.
|
|
462
|
+
tmp_2 = decode(this.noz_1.s3i(), buffer);
|
|
463
463
|
} catch ($p) {
|
|
464
464
|
var tmp_3;
|
|
465
465
|
if ($p instanceof MalformedInputException) {
|
|
466
466
|
var _unused_var__etf5q3 = $p;
|
|
467
|
-
this.
|
|
467
|
+
this.moz_1 = true;
|
|
468
468
|
tmp_3 = '';
|
|
469
469
|
} else {
|
|
470
470
|
throw $p;
|
|
@@ -473,7 +473,7 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
var firstChunkText = tmp_2;
|
|
476
|
-
if (!this.
|
|
476
|
+
if (!this.moz_1) {
|
|
477
477
|
var lastCharIndex = -1;
|
|
478
478
|
var inductionVariable = 0;
|
|
479
479
|
var last = firstChunkText.length;
|
|
@@ -489,23 +489,23 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
489
489
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
490
490
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
491
491
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
492
|
-
this.
|
|
492
|
+
this.moz_1 = true;
|
|
493
493
|
break $l$loop;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
if (this.
|
|
498
|
+
if (this.moz_1) {
|
|
499
499
|
var tmp_4 = this;
|
|
500
|
-
tmp_4.
|
|
500
|
+
tmp_4.ioz_1 = new Skip('binary', this.eoz_1);
|
|
501
501
|
this.l9_1 = 4;
|
|
502
502
|
continue $sm;
|
|
503
503
|
} else {
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
506
|
-
writeFully(this.
|
|
504
|
+
this.joz_1 = new Buffer();
|
|
505
|
+
this.koz_1 = this.joz_1;
|
|
506
|
+
writeFully(this.koz_1, this.loz_1, 0, firstReadSize);
|
|
507
507
|
this.l9_1 = 3;
|
|
508
|
-
suspendResult = readBuffer(this.
|
|
508
|
+
suspendResult = readBuffer(this.hoz_1, this);
|
|
509
509
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
510
|
return suspendResult;
|
|
511
511
|
}
|
|
@@ -514,20 +514,20 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
514
514
|
|
|
515
515
|
case 3:
|
|
516
516
|
var ARGUMENT = suspendResult;
|
|
517
|
-
this.
|
|
518
|
-
var ARGUMENT_0 = this.
|
|
517
|
+
this.koz_1.s34(ARGUMENT);
|
|
518
|
+
var ARGUMENT_0 = this.joz_1;
|
|
519
519
|
var tmp_5 = this;
|
|
520
|
-
var tmp2_safe_receiver = this.
|
|
520
|
+
var tmp2_safe_receiver = this.foz_1;
|
|
521
521
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
522
|
-
tmp_5.
|
|
522
|
+
tmp_5.ioz_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().p3i_1 : tmp3_elvis_lhs);
|
|
523
523
|
this.l9_1 = 4;
|
|
524
524
|
continue $sm;
|
|
525
525
|
case 4:
|
|
526
|
-
return this.
|
|
526
|
+
return this.ioz_1;
|
|
527
527
|
case 5:
|
|
528
528
|
var ARGUMENT_1 = suspendResult;
|
|
529
|
-
var tmp0_elvis_lhs = charset(this.
|
|
530
|
-
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
529
|
+
var tmp0_elvis_lhs = charset(this.foz_1);
|
|
530
|
+
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().p3i_1 : tmp0_elvis_lhs);
|
|
531
531
|
case 6:
|
|
532
532
|
throw this.o9_1;
|
|
533
533
|
}
|
|
@@ -544,7 +544,7 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
544
544
|
};
|
|
545
545
|
function BinaryLogBodyFilter$1() {
|
|
546
546
|
}
|
|
547
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
547
|
+
protoOf(BinaryLogBodyFilter$1).noy = function (contentLength, contentType, headers, body, $completion) {
|
|
548
548
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
549
549
|
tmp.n9_1 = Unit_instance;
|
|
550
550
|
tmp.o9_1 = null;
|
|
@@ -575,9 +575,9 @@ function LogLevel_initEntries() {
|
|
|
575
575
|
}
|
|
576
576
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
577
577
|
Enum.call(this, name, ordinal);
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
578
|
+
this.qoz_1 = info;
|
|
579
|
+
this.roz_1 = headers;
|
|
580
|
+
this.soz_1 = body;
|
|
581
581
|
}
|
|
582
582
|
function LogLevel_ALL_getInstance() {
|
|
583
583
|
LogLevel_initEntries();
|
|
@@ -601,27 +601,27 @@ function LogLevel_NONE_getInstance() {
|
|
|
601
601
|
}
|
|
602
602
|
function LoggedContent(originalContent, channel) {
|
|
603
603
|
ReadChannelContent.call(this);
|
|
604
|
-
this.
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
604
|
+
this.uoz_1 = originalContent;
|
|
605
|
+
this.voz_1 = channel;
|
|
606
|
+
this.woz_1 = this.uoz_1.w47();
|
|
607
|
+
this.xoz_1 = this.uoz_1.y47();
|
|
608
|
+
this.yoz_1 = this.uoz_1.x47();
|
|
609
|
+
this.zoz_1 = this.uoz_1.x41();
|
|
610
610
|
}
|
|
611
|
-
protoOf(LoggedContent).
|
|
612
|
-
return this.
|
|
611
|
+
protoOf(LoggedContent).w47 = function () {
|
|
612
|
+
return this.woz_1;
|
|
613
613
|
};
|
|
614
|
-
protoOf(LoggedContent).
|
|
615
|
-
return this.
|
|
614
|
+
protoOf(LoggedContent).y47 = function () {
|
|
615
|
+
return this.xoz_1;
|
|
616
616
|
};
|
|
617
|
-
protoOf(LoggedContent).
|
|
618
|
-
return this.
|
|
617
|
+
protoOf(LoggedContent).x47 = function () {
|
|
618
|
+
return this.yoz_1;
|
|
619
619
|
};
|
|
620
|
-
protoOf(LoggedContent).
|
|
621
|
-
return this.
|
|
620
|
+
protoOf(LoggedContent).x41 = function () {
|
|
621
|
+
return this.zoz_1;
|
|
622
622
|
};
|
|
623
|
-
protoOf(LoggedContent).
|
|
624
|
-
return this.
|
|
623
|
+
protoOf(LoggedContent).c48 = function () {
|
|
624
|
+
return this.voz_1;
|
|
625
625
|
};
|
|
626
626
|
function Companion() {
|
|
627
627
|
}
|
|
@@ -634,7 +634,7 @@ function get_SIMPLE(_this__u8e3s4) {
|
|
|
634
634
|
}
|
|
635
635
|
function SimpleLogger() {
|
|
636
636
|
}
|
|
637
|
-
protoOf(SimpleLogger).
|
|
637
|
+
protoOf(SimpleLogger).mox = function (message) {
|
|
638
638
|
println('HttpClient: ' + message);
|
|
639
639
|
};
|
|
640
640
|
var SimpleLogger_instance;
|
|
@@ -659,36 +659,36 @@ var Logging;
|
|
|
659
659
|
function LoggingConfig() {
|
|
660
660
|
var tmp = this;
|
|
661
661
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
662
|
-
tmp.
|
|
662
|
+
tmp.ap0_1 = ArrayList_init_$Create$();
|
|
663
663
|
var tmp_0 = this;
|
|
664
664
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
665
|
-
tmp_0.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
670
|
-
}
|
|
671
|
-
protoOf(LoggingConfig).
|
|
672
|
-
var tmp0_elvis_lhs = this.
|
|
665
|
+
tmp_0.bp0_1 = ArrayList_init_$Create$();
|
|
666
|
+
this.cp0_1 = null;
|
|
667
|
+
this.dp0_1 = LoggingFormat_Default_getInstance();
|
|
668
|
+
this.ep0_1 = LogLevel_HEADERS_getInstance();
|
|
669
|
+
this.fp0_1 = get_BinaryLogBodyFilter();
|
|
670
|
+
}
|
|
671
|
+
protoOf(LoggingConfig).gp0 = function () {
|
|
672
|
+
var tmp0_elvis_lhs = this.cp0_1;
|
|
673
673
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
674
674
|
};
|
|
675
|
-
protoOf(LoggingConfig).
|
|
676
|
-
this.
|
|
675
|
+
protoOf(LoggingConfig).hp0 = function (placeholder, predicate) {
|
|
676
|
+
this.bp0_1.e1(new SanitizedHeader(placeholder, predicate));
|
|
677
677
|
};
|
|
678
|
-
protoOf(LoggingConfig).
|
|
678
|
+
protoOf(LoggingConfig).ip0 = function (placeholder, predicate, $super) {
|
|
679
679
|
placeholder = placeholder === VOID ? '***' : placeholder;
|
|
680
680
|
var tmp;
|
|
681
681
|
if ($super === VOID) {
|
|
682
|
-
this.
|
|
682
|
+
this.hp0(placeholder, predicate);
|
|
683
683
|
tmp = Unit_instance;
|
|
684
684
|
} else {
|
|
685
|
-
tmp = $super.
|
|
685
|
+
tmp = $super.hp0.call(this, placeholder, predicate);
|
|
686
686
|
}
|
|
687
687
|
return tmp;
|
|
688
688
|
};
|
|
689
689
|
function SanitizedHeader(placeholder, predicate) {
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
690
|
+
this.jp0_1 = placeholder;
|
|
691
|
+
this.kp0_1 = predicate;
|
|
692
692
|
}
|
|
693
693
|
var LoggingFormat_Default_instance;
|
|
694
694
|
var LoggingFormat_OkHttp_instance;
|
|
@@ -703,26 +703,6 @@ function LoggingFormat_initEntries() {
|
|
|
703
703
|
function LoggingFormat(name, ordinal) {
|
|
704
704
|
Enum.call(this, name, ordinal);
|
|
705
705
|
}
|
|
706
|
-
function pathQuery(_this__u8e3s4) {
|
|
707
|
-
_init_properties_Logging_kt__66pui5();
|
|
708
|
-
// Inline function 'kotlin.text.buildString' call
|
|
709
|
-
// Inline function 'kotlin.apply' call
|
|
710
|
-
var this_0 = StringBuilder_init_$Create$();
|
|
711
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
712
|
-
var this_1 = _this__u8e3s4.n46();
|
|
713
|
-
if (charSequenceLength(this_1) === 0) {
|
|
714
|
-
this_0.q('/');
|
|
715
|
-
} else {
|
|
716
|
-
this_0.q(_this__u8e3s4.n46());
|
|
717
|
-
}
|
|
718
|
-
// Inline function 'kotlin.text.isEmpty' call
|
|
719
|
-
var this_2 = _this__u8e3s4.q46();
|
|
720
|
-
if (!(charSequenceLength(this_2) === 0)) {
|
|
721
|
-
this_0.q('?');
|
|
722
|
-
this_0.q(_this__u8e3s4.q46());
|
|
723
|
-
}
|
|
724
|
-
return this_0.toString();
|
|
725
|
-
}
|
|
726
706
|
function computeRequestBodySize(content) {
|
|
727
707
|
_init_properties_Logging_kt__66pui5();
|
|
728
708
|
// Inline function 'kotlin.check' call
|
|
@@ -731,10 +711,10 @@ function computeRequestBodySize(content) {
|
|
|
731
711
|
}
|
|
732
712
|
var tmp;
|
|
733
713
|
if (content instanceof ByteArrayContent) {
|
|
734
|
-
tmp = fromInt(content.
|
|
714
|
+
tmp = fromInt(content.z47().length);
|
|
735
715
|
} else {
|
|
736
716
|
if (content instanceof ContentWrapper) {
|
|
737
|
-
tmp = computeRequestBodySize(content.
|
|
717
|
+
tmp = computeRequestBodySize(content.i48());
|
|
738
718
|
} else {
|
|
739
719
|
if (content instanceof NoContent) {
|
|
740
720
|
tmp = 0n;
|
|
@@ -742,6 +722,7 @@ function computeRequestBodySize(content) {
|
|
|
742
722
|
if (content instanceof ProtocolUpgrade) {
|
|
743
723
|
tmp = 0n;
|
|
744
724
|
} else {
|
|
725
|
+
// Inline function 'kotlin.error' call
|
|
745
726
|
var message = 'Unable to calculate the size for type ' + getKClassFromExpression(content).o();
|
|
746
727
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
747
728
|
}
|
|
@@ -751,27 +732,27 @@ function computeRequestBodySize(content) {
|
|
|
751
732
|
return tmp;
|
|
752
733
|
}
|
|
753
734
|
function Context(context) {
|
|
754
|
-
this.
|
|
735
|
+
this.lp0_1 = context;
|
|
755
736
|
}
|
|
756
|
-
protoOf(Context).
|
|
757
|
-
return this.
|
|
737
|
+
protoOf(Context).mp0 = function (content, $completion) {
|
|
738
|
+
return this.lp0_1.a3s(content, $completion);
|
|
758
739
|
};
|
|
759
|
-
protoOf(Context).
|
|
760
|
-
return this.
|
|
740
|
+
protoOf(Context).np0 = function ($completion) {
|
|
741
|
+
return this.lp0_1.b3s($completion);
|
|
761
742
|
};
|
|
762
743
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
763
|
-
this.
|
|
744
|
+
this.wp0_1 = $handler;
|
|
764
745
|
CoroutineImpl.call(this, resultContinuation);
|
|
765
746
|
}
|
|
766
|
-
protoOf(SendHook$install$slambda).
|
|
767
|
-
var tmp = this.
|
|
747
|
+
protoOf(SendHook$install$slambda).a4r = function ($this$intercept, it, $completion) {
|
|
748
|
+
var tmp = this.b4r($this$intercept, it, $completion);
|
|
768
749
|
tmp.n9_1 = Unit_instance;
|
|
769
750
|
tmp.o9_1 = null;
|
|
770
751
|
return tmp.t9();
|
|
771
752
|
};
|
|
772
753
|
protoOf(SendHook$install$slambda).ga = function (p1, p2, $completion) {
|
|
773
754
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
774
|
-
return this.
|
|
755
|
+
return this.a4r(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
775
756
|
};
|
|
776
757
|
protoOf(SendHook$install$slambda).t9 = function () {
|
|
777
758
|
var suspendResult = this.n9_1;
|
|
@@ -782,7 +763,7 @@ protoOf(SendHook$install$slambda).t9 = function () {
|
|
|
782
763
|
case 0:
|
|
783
764
|
this.m9_1 = 2;
|
|
784
765
|
this.l9_1 = 1;
|
|
785
|
-
suspendResult = this.
|
|
766
|
+
suspendResult = this.wp0_1(new Context(this.xp0_1), this.xp0_1.w3s_1, this);
|
|
786
767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
787
768
|
return suspendResult;
|
|
788
769
|
}
|
|
@@ -804,52 +785,52 @@ protoOf(SendHook$install$slambda).t9 = function () {
|
|
|
804
785
|
}
|
|
805
786
|
while (true);
|
|
806
787
|
};
|
|
807
|
-
protoOf(SendHook$install$slambda).
|
|
808
|
-
var i = new SendHook$install$slambda(this.
|
|
809
|
-
i.
|
|
810
|
-
i.
|
|
788
|
+
protoOf(SendHook$install$slambda).b4r = function ($this$intercept, it, completion) {
|
|
789
|
+
var i = new SendHook$install$slambda(this.wp0_1, completion);
|
|
790
|
+
i.xp0_1 = $this$intercept;
|
|
791
|
+
i.yp0_1 = it;
|
|
811
792
|
return i;
|
|
812
793
|
};
|
|
813
794
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
814
795
|
var i = new SendHook$install$slambda($handler, resultContinuation);
|
|
815
796
|
var l = function ($this$intercept, it, $completion) {
|
|
816
|
-
return i.
|
|
797
|
+
return i.a4r($this$intercept, it, $completion);
|
|
817
798
|
};
|
|
818
799
|
l.$arity = 2;
|
|
819
800
|
return l;
|
|
820
801
|
}
|
|
821
802
|
function SendHook() {
|
|
822
803
|
}
|
|
823
|
-
protoOf(SendHook).
|
|
824
|
-
var tmp = Phases_getInstance().
|
|
825
|
-
client.
|
|
804
|
+
protoOf(SendHook).zp0 = function (client, handler) {
|
|
805
|
+
var tmp = Phases_getInstance().r4s_1;
|
|
806
|
+
client.j4q_1.a3t(tmp, SendHook$install$slambda_0(handler, null));
|
|
826
807
|
};
|
|
827
|
-
protoOf(SendHook).
|
|
828
|
-
return this.
|
|
808
|
+
protoOf(SendHook).c50 = function (client, handler) {
|
|
809
|
+
return this.zp0(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
829
810
|
};
|
|
830
811
|
var SendHook_instance;
|
|
831
812
|
function SendHook_getInstance() {
|
|
832
813
|
return SendHook_instance;
|
|
833
814
|
}
|
|
834
815
|
function Context_0(context) {
|
|
835
|
-
this.
|
|
816
|
+
this.ap1_1 = context;
|
|
836
817
|
}
|
|
837
|
-
protoOf(Context_0).
|
|
838
|
-
return this.
|
|
818
|
+
protoOf(Context_0).j63 = function (response, $completion) {
|
|
819
|
+
return this.ap1_1.a3s(response, $completion);
|
|
839
820
|
};
|
|
840
821
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
841
|
-
this.
|
|
822
|
+
this.jp1_1 = $handler;
|
|
842
823
|
CoroutineImpl.call(this, resultContinuation);
|
|
843
824
|
}
|
|
844
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
845
|
-
var tmp = this.
|
|
825
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).o50 = function ($this$intercept, it, $completion) {
|
|
826
|
+
var tmp = this.p50($this$intercept, it, $completion);
|
|
846
827
|
tmp.n9_1 = Unit_instance;
|
|
847
828
|
tmp.o9_1 = null;
|
|
848
829
|
return tmp.t9();
|
|
849
830
|
};
|
|
850
831
|
protoOf(ResponseAfterEncodingHook$install$slambda).ga = function (p1, p2, $completion) {
|
|
851
832
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
852
|
-
return this.
|
|
833
|
+
return this.o50(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
853
834
|
};
|
|
854
835
|
protoOf(ResponseAfterEncodingHook$install$slambda).t9 = function () {
|
|
855
836
|
var suspendResult = this.n9_1;
|
|
@@ -860,7 +841,7 @@ protoOf(ResponseAfterEncodingHook$install$slambda).t9 = function () {
|
|
|
860
841
|
case 0:
|
|
861
842
|
this.m9_1 = 2;
|
|
862
843
|
this.l9_1 = 1;
|
|
863
|
-
suspendResult = this.
|
|
844
|
+
suspendResult = this.jp1_1(new Context_0(this.kp1_1), this.kp1_1.z3r(), this);
|
|
864
845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
865
846
|
return suspendResult;
|
|
866
847
|
}
|
|
@@ -882,53 +863,53 @@ protoOf(ResponseAfterEncodingHook$install$slambda).t9 = function () {
|
|
|
882
863
|
}
|
|
883
864
|
while (true);
|
|
884
865
|
};
|
|
885
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
886
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
887
|
-
i.
|
|
888
|
-
i.
|
|
866
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).p50 = function ($this$intercept, it, completion) {
|
|
867
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.jp1_1, completion);
|
|
868
|
+
i.kp1_1 = $this$intercept;
|
|
869
|
+
i.lp1_1 = it;
|
|
889
870
|
return i;
|
|
890
871
|
};
|
|
891
872
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
892
873
|
var i = new ResponseAfterEncodingHook$install$slambda($handler, resultContinuation);
|
|
893
874
|
var l = function ($this$intercept, it, $completion) {
|
|
894
|
-
return i.
|
|
875
|
+
return i.o50($this$intercept, it, $completion);
|
|
895
876
|
};
|
|
896
877
|
l.$arity = 2;
|
|
897
878
|
return l;
|
|
898
879
|
}
|
|
899
880
|
function ResponseAfterEncodingHook() {
|
|
900
881
|
}
|
|
901
|
-
protoOf(ResponseAfterEncodingHook).
|
|
882
|
+
protoOf(ResponseAfterEncodingHook).mp1 = function (client, handler) {
|
|
902
883
|
var afterState = new PipelinePhase('AfterState');
|
|
903
|
-
client.
|
|
904
|
-
client.
|
|
884
|
+
client.k4q_1.x3s(Phases_getInstance_0().s50_1, afterState);
|
|
885
|
+
client.k4q_1.a3t(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
905
886
|
};
|
|
906
|
-
protoOf(ResponseAfterEncodingHook).
|
|
907
|
-
return this.
|
|
887
|
+
protoOf(ResponseAfterEncodingHook).c50 = function (client, handler) {
|
|
888
|
+
return this.mp1(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
908
889
|
};
|
|
909
890
|
var ResponseAfterEncodingHook_instance;
|
|
910
891
|
function ResponseAfterEncodingHook_getInstance() {
|
|
911
892
|
return ResponseAfterEncodingHook_instance;
|
|
912
893
|
}
|
|
913
894
|
function Context_1(context) {
|
|
914
|
-
this.
|
|
895
|
+
this.np1_1 = context;
|
|
915
896
|
}
|
|
916
|
-
protoOf(Context_1).
|
|
917
|
-
return this.
|
|
897
|
+
protoOf(Context_1).op1 = function ($completion) {
|
|
898
|
+
return this.np1_1.b3s($completion);
|
|
918
899
|
};
|
|
919
900
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
920
|
-
this.
|
|
901
|
+
this.xp1_1 = $handler;
|
|
921
902
|
CoroutineImpl.call(this, resultContinuation);
|
|
922
903
|
}
|
|
923
|
-
protoOf(ResponseHook$install$slambda).
|
|
924
|
-
var tmp = this.
|
|
904
|
+
protoOf(ResponseHook$install$slambda).o50 = function ($this$intercept, it, $completion) {
|
|
905
|
+
var tmp = this.p50($this$intercept, it, $completion);
|
|
925
906
|
tmp.n9_1 = Unit_instance;
|
|
926
907
|
tmp.o9_1 = null;
|
|
927
908
|
return tmp.t9();
|
|
928
909
|
};
|
|
929
910
|
protoOf(ResponseHook$install$slambda).ga = function (p1, p2, $completion) {
|
|
930
911
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
931
|
-
return this.
|
|
912
|
+
return this.o50(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
932
913
|
};
|
|
933
914
|
protoOf(ResponseHook$install$slambda).t9 = function () {
|
|
934
915
|
var suspendResult = this.n9_1;
|
|
@@ -939,7 +920,7 @@ protoOf(ResponseHook$install$slambda).t9 = function () {
|
|
|
939
920
|
case 0:
|
|
940
921
|
this.m9_1 = 2;
|
|
941
922
|
this.l9_1 = 1;
|
|
942
|
-
suspendResult = this.
|
|
923
|
+
suspendResult = this.xp1_1(new Context_1(this.yp1_1), this.yp1_1.z3r(), this);
|
|
943
924
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
944
925
|
return suspendResult;
|
|
945
926
|
}
|
|
@@ -961,52 +942,52 @@ protoOf(ResponseHook$install$slambda).t9 = function () {
|
|
|
961
942
|
}
|
|
962
943
|
while (true);
|
|
963
944
|
};
|
|
964
|
-
protoOf(ResponseHook$install$slambda).
|
|
965
|
-
var i = new ResponseHook$install$slambda(this.
|
|
966
|
-
i.
|
|
967
|
-
i.
|
|
945
|
+
protoOf(ResponseHook$install$slambda).p50 = function ($this$intercept, it, completion) {
|
|
946
|
+
var i = new ResponseHook$install$slambda(this.xp1_1, completion);
|
|
947
|
+
i.yp1_1 = $this$intercept;
|
|
948
|
+
i.zp1_1 = it;
|
|
968
949
|
return i;
|
|
969
950
|
};
|
|
970
951
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
971
952
|
var i = new ResponseHook$install$slambda($handler, resultContinuation);
|
|
972
953
|
var l = function ($this$intercept, it, $completion) {
|
|
973
|
-
return i.
|
|
954
|
+
return i.o50($this$intercept, it, $completion);
|
|
974
955
|
};
|
|
975
956
|
l.$arity = 2;
|
|
976
957
|
return l;
|
|
977
958
|
}
|
|
978
959
|
function ResponseHook() {
|
|
979
960
|
}
|
|
980
|
-
protoOf(ResponseHook).
|
|
981
|
-
var tmp = Phases_getInstance_0().
|
|
982
|
-
client.
|
|
961
|
+
protoOf(ResponseHook).ap2 = function (client, handler) {
|
|
962
|
+
var tmp = Phases_getInstance_0().s50_1;
|
|
963
|
+
client.k4q_1.a3t(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
983
964
|
};
|
|
984
|
-
protoOf(ResponseHook).
|
|
985
|
-
return this.
|
|
965
|
+
protoOf(ResponseHook).c50 = function (client, handler) {
|
|
966
|
+
return this.ap2(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
986
967
|
};
|
|
987
968
|
var ResponseHook_instance;
|
|
988
969
|
function ResponseHook_getInstance() {
|
|
989
970
|
return ResponseHook_instance;
|
|
990
971
|
}
|
|
991
972
|
function Context_2(context) {
|
|
992
|
-
this.
|
|
973
|
+
this.bp2_1 = context;
|
|
993
974
|
}
|
|
994
|
-
protoOf(Context_2).
|
|
995
|
-
return this.
|
|
975
|
+
protoOf(Context_2).cp2 = function ($completion) {
|
|
976
|
+
return this.bp2_1.b3s($completion);
|
|
996
977
|
};
|
|
997
978
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
998
|
-
this.
|
|
979
|
+
this.lp2_1 = $handler;
|
|
999
980
|
CoroutineImpl.call(this, resultContinuation);
|
|
1000
981
|
}
|
|
1001
|
-
protoOf(ReceiveHook$install$slambda).
|
|
1002
|
-
var tmp = this.
|
|
982
|
+
protoOf(ReceiveHook$install$slambda).v4r = function ($this$intercept, it, $completion) {
|
|
983
|
+
var tmp = this.w4r($this$intercept, it, $completion);
|
|
1003
984
|
tmp.n9_1 = Unit_instance;
|
|
1004
985
|
tmp.o9_1 = null;
|
|
1005
986
|
return tmp.t9();
|
|
1006
987
|
};
|
|
1007
988
|
protoOf(ReceiveHook$install$slambda).ga = function (p1, p2, $completion) {
|
|
1008
989
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
1009
|
-
return this.
|
|
990
|
+
return this.v4r(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
|
|
1010
991
|
};
|
|
1011
992
|
protoOf(ReceiveHook$install$slambda).t9 = function () {
|
|
1012
993
|
var suspendResult = this.n9_1;
|
|
@@ -1017,7 +998,7 @@ protoOf(ReceiveHook$install$slambda).t9 = function () {
|
|
|
1017
998
|
case 0:
|
|
1018
999
|
this.m9_1 = 2;
|
|
1019
1000
|
this.l9_1 = 1;
|
|
1020
|
-
suspendResult = this.
|
|
1001
|
+
suspendResult = this.lp2_1(new Context_2(this.mp2_1), this.mp2_1.w3s_1, this);
|
|
1021
1002
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1022
1003
|
return suspendResult;
|
|
1023
1004
|
}
|
|
@@ -1039,28 +1020,28 @@ protoOf(ReceiveHook$install$slambda).t9 = function () {
|
|
|
1039
1020
|
}
|
|
1040
1021
|
while (true);
|
|
1041
1022
|
};
|
|
1042
|
-
protoOf(ReceiveHook$install$slambda).
|
|
1043
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1044
|
-
i.
|
|
1045
|
-
i.
|
|
1023
|
+
protoOf(ReceiveHook$install$slambda).w4r = function ($this$intercept, it, completion) {
|
|
1024
|
+
var i = new ReceiveHook$install$slambda(this.lp2_1, completion);
|
|
1025
|
+
i.mp2_1 = $this$intercept;
|
|
1026
|
+
i.np2_1 = it;
|
|
1046
1027
|
return i;
|
|
1047
1028
|
};
|
|
1048
1029
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
1049
1030
|
var i = new ReceiveHook$install$slambda($handler, resultContinuation);
|
|
1050
1031
|
var l = function ($this$intercept, it, $completion) {
|
|
1051
|
-
return i.
|
|
1032
|
+
return i.v4r($this$intercept, it, $completion);
|
|
1052
1033
|
};
|
|
1053
1034
|
l.$arity = 2;
|
|
1054
1035
|
return l;
|
|
1055
1036
|
}
|
|
1056
1037
|
function ReceiveHook() {
|
|
1057
1038
|
}
|
|
1058
|
-
protoOf(ReceiveHook).
|
|
1059
|
-
var tmp = Phases_getInstance_1().
|
|
1060
|
-
client.
|
|
1039
|
+
protoOf(ReceiveHook).op2 = function (client, handler) {
|
|
1040
|
+
var tmp = Phases_getInstance_1().f4t_1;
|
|
1041
|
+
client.i4q_1.a3t(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1061
1042
|
};
|
|
1062
|
-
protoOf(ReceiveHook).
|
|
1063
|
-
return this.
|
|
1043
|
+
protoOf(ReceiveHook).c50 = function (client, handler) {
|
|
1044
|
+
return this.op2(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1064
1045
|
};
|
|
1065
1046
|
var ReceiveHook_instance;
|
|
1066
1047
|
function ReceiveHook_getInstance() {
|
|
@@ -1075,27 +1056,27 @@ function LoggingConfig$_init_$ref_f1nb0k() {
|
|
|
1075
1056
|
}
|
|
1076
1057
|
function Logging$lambda($this$createClientPlugin) {
|
|
1077
1058
|
_init_properties_Logging_kt__66pui5();
|
|
1078
|
-
var logger = $this$createClientPlugin.
|
|
1079
|
-
var level = $this$createClientPlugin.
|
|
1080
|
-
var filters = $this$createClientPlugin.
|
|
1081
|
-
var sanitizedHeaders = $this$createClientPlugin.
|
|
1082
|
-
var okHttpFormat = $this$createClientPlugin.
|
|
1083
|
-
var bodyFilter = $this$createClientPlugin.
|
|
1059
|
+
var logger = $this$createClientPlugin.w50_1.gp0();
|
|
1060
|
+
var level = $this$createClientPlugin.w50_1.ep0_1;
|
|
1061
|
+
var filters = $this$createClientPlugin.w50_1.ap0_1;
|
|
1062
|
+
var sanitizedHeaders = $this$createClientPlugin.w50_1.bp0_1;
|
|
1063
|
+
var okHttpFormat = $this$createClientPlugin.w50_1.dp0_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1064
|
+
var bodyFilter = $this$createClientPlugin.w50_1.fp0_1;
|
|
1084
1065
|
var tmp = SendHook_instance;
|
|
1085
|
-
$this$createClientPlugin.
|
|
1066
|
+
$this$createClientPlugin.z50(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1086
1067
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
1087
|
-
$this$createClientPlugin.
|
|
1068
|
+
$this$createClientPlugin.z50(tmp_0, Logging$lambda$slambda_2(okHttpFormat, logger, sanitizedHeaders, level, bodyFilter, null));
|
|
1088
1069
|
var tmp_1 = ResponseHook_instance;
|
|
1089
|
-
$this$createClientPlugin.
|
|
1070
|
+
$this$createClientPlugin.z50(tmp_1, Logging$lambda$slambda_4(okHttpFormat, level, sanitizedHeaders, null));
|
|
1090
1071
|
var tmp_2 = ReceiveHook_instance;
|
|
1091
|
-
$this$createClientPlugin.
|
|
1072
|
+
$this$createClientPlugin.z50(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, logger, null));
|
|
1092
1073
|
if (okHttpFormat)
|
|
1093
1074
|
return Unit_instance;
|
|
1094
|
-
if (!level.
|
|
1075
|
+
if (!level.soz_1)
|
|
1095
1076
|
return Unit_instance;
|
|
1096
1077
|
var tmp_3 = get_ResponseObserver();
|
|
1097
|
-
var responseObserver = tmp_3.
|
|
1098
|
-
get_ResponseObserver().
|
|
1078
|
+
var responseObserver = tmp_3.m4t(Logging$lambda$lambda(level));
|
|
1079
|
+
get_ResponseObserver().n4t(responseObserver, $this$createClientPlugin.v50_1);
|
|
1099
1080
|
return Unit_instance;
|
|
1100
1081
|
}
|
|
1101
1082
|
function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
@@ -1103,18 +1084,18 @@ function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
|
1103
1084
|
return it;
|
|
1104
1085
|
}
|
|
1105
1086
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1106
|
-
this.
|
|
1107
|
-
this.
|
|
1087
|
+
this.xp2_1 = $content;
|
|
1088
|
+
this.yp2_1 = $channel;
|
|
1108
1089
|
CoroutineImpl.call(this, resultContinuation);
|
|
1109
1090
|
}
|
|
1110
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1111
|
-
var tmp = this.
|
|
1091
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).o2u = function ($this$launch, $completion) {
|
|
1092
|
+
var tmp = this.p2u($this$launch, $completion);
|
|
1112
1093
|
tmp.n9_1 = Unit_instance;
|
|
1113
1094
|
tmp.o9_1 = null;
|
|
1114
1095
|
return tmp.t9();
|
|
1115
1096
|
};
|
|
1116
1097
|
protoOf(Logging$lambda$logOutgoingContent$slambda).fa = function (p1, $completion) {
|
|
1117
|
-
return this.
|
|
1098
|
+
return this.o2u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1118
1099
|
};
|
|
1119
1100
|
protoOf(Logging$lambda$logOutgoingContent$slambda).t9 = function () {
|
|
1120
1101
|
var suspendResult = this.n9_1;
|
|
@@ -1125,14 +1106,14 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).t9 = function () {
|
|
|
1125
1106
|
case 0:
|
|
1126
1107
|
this.m9_1 = 2;
|
|
1127
1108
|
this.l9_1 = 1;
|
|
1128
|
-
suspendResult = this.
|
|
1109
|
+
suspendResult = this.xp2_1.e48(this.yp2_1, this);
|
|
1129
1110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1130
1111
|
return suspendResult;
|
|
1131
1112
|
}
|
|
1132
1113
|
|
|
1133
1114
|
continue $sm;
|
|
1134
1115
|
case 1:
|
|
1135
|
-
this.
|
|
1116
|
+
this.yp2_1.c5();
|
|
1136
1117
|
return Unit_instance;
|
|
1137
1118
|
case 2:
|
|
1138
1119
|
throw this.o9_1;
|
|
@@ -1148,22 +1129,22 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).t9 = function () {
|
|
|
1148
1129
|
}
|
|
1149
1130
|
while (true);
|
|
1150
1131
|
};
|
|
1151
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1152
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1153
|
-
i.
|
|
1132
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).p2u = function ($this$launch, completion) {
|
|
1133
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.xp2_1, this.yp2_1, completion);
|
|
1134
|
+
i.zp2_1 = $this$launch;
|
|
1154
1135
|
return i;
|
|
1155
1136
|
};
|
|
1156
1137
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
1157
1138
|
var i = new Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation);
|
|
1158
1139
|
var l = function ($this$launch, $completion) {
|
|
1159
|
-
return i.
|
|
1140
|
+
return i.o2u($this$launch, $completion);
|
|
1160
1141
|
};
|
|
1161
1142
|
l.$arity = 1;
|
|
1162
1143
|
return l;
|
|
1163
1144
|
}
|
|
1164
1145
|
function Logging$lambda$logRequestOkHttpFormat$lambda(channel) {
|
|
1165
1146
|
_init_properties_Logging_kt__66pui5();
|
|
1166
|
-
return GZipEncoder_getInstance().
|
|
1147
|
+
return GZipEncoder_getInstance().t3n(channel);
|
|
1167
1148
|
}
|
|
1168
1149
|
function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
1169
1150
|
return function ($this$replaceResponse) {
|
|
@@ -1171,20 +1152,20 @@ function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
|
1171
1152
|
};
|
|
1172
1153
|
}
|
|
1173
1154
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1174
|
-
this.
|
|
1175
|
-
this.
|
|
1176
|
-
this.
|
|
1177
|
-
this.
|
|
1155
|
+
this.ip3_1 = $channel;
|
|
1156
|
+
this.jp3_1 = $charset;
|
|
1157
|
+
this.kp3_1 = $requestLog;
|
|
1158
|
+
this.lp3_1 = $logger;
|
|
1178
1159
|
CoroutineImpl.call(this, resultContinuation);
|
|
1179
1160
|
}
|
|
1180
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1181
|
-
var tmp = this.
|
|
1161
|
+
protoOf(Logging$lambda$logRequestBody$slambda).o2u = function ($this$launch, $completion) {
|
|
1162
|
+
var tmp = this.p2u($this$launch, $completion);
|
|
1182
1163
|
tmp.n9_1 = Unit_instance;
|
|
1183
1164
|
tmp.o9_1 = null;
|
|
1184
1165
|
return tmp.t9();
|
|
1185
1166
|
};
|
|
1186
1167
|
protoOf(Logging$lambda$logRequestBody$slambda).fa = function (p1, $completion) {
|
|
1187
|
-
return this.
|
|
1168
|
+
return this.o2u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1188
1169
|
};
|
|
1189
1170
|
protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
1190
1171
|
var suspendResult = this.n9_1;
|
|
@@ -1198,8 +1179,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1198
1179
|
continue $sm;
|
|
1199
1180
|
case 1:
|
|
1200
1181
|
this.m9_1 = 6;
|
|
1201
|
-
var tmp0 = this.
|
|
1202
|
-
this.
|
|
1182
|
+
var tmp0 = this.ip3_1;
|
|
1183
|
+
this.pp3_1 = this.jp3_1;
|
|
1203
1184
|
this.m9_1 = 3;
|
|
1204
1185
|
this.l9_1 = 2;
|
|
1205
1186
|
suspendResult = readRemaining(tmp0, this);
|
|
@@ -1210,7 +1191,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1210
1191
|
continue $sm;
|
|
1211
1192
|
case 2:
|
|
1212
1193
|
var ARGUMENT = suspendResult;
|
|
1213
|
-
this.
|
|
1194
|
+
this.op3_1 = readText(ARGUMENT, this.pp3_1);
|
|
1214
1195
|
this.m9_1 = 6;
|
|
1215
1196
|
this.l9_1 = 4;
|
|
1216
1197
|
continue $sm;
|
|
@@ -1220,7 +1201,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1220
1201
|
if (tmp_0 instanceof Error) {
|
|
1221
1202
|
var cause = this.o9_1;
|
|
1222
1203
|
var tmp_1 = this;
|
|
1223
|
-
tmp_1.
|
|
1204
|
+
tmp_1.op3_1 = null;
|
|
1224
1205
|
this.l9_1 = 4;
|
|
1225
1206
|
continue $sm;
|
|
1226
1207
|
} else {
|
|
@@ -1229,27 +1210,27 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1229
1210
|
|
|
1230
1211
|
case 4:
|
|
1231
1212
|
this.m9_1 = 6;
|
|
1232
|
-
var tmp0_elvis_lhs = this.
|
|
1213
|
+
var tmp0_elvis_lhs = this.op3_1;
|
|
1233
1214
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1234
|
-
var tmp0_0 = this.
|
|
1215
|
+
var tmp0_0 = this.kp3_1;
|
|
1235
1216
|
var value = 'BODY START';
|
|
1236
1217
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1237
|
-
this.
|
|
1238
|
-
this.
|
|
1218
|
+
this.kp3_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1219
|
+
this.np3_1 = this.kp3_1.q('BODY END');
|
|
1239
1220
|
this.m9_1 = 7;
|
|
1240
1221
|
this.l9_1 = 5;
|
|
1241
1222
|
continue $sm;
|
|
1242
1223
|
case 5:
|
|
1243
|
-
this.
|
|
1224
|
+
this.np3_1;
|
|
1244
1225
|
this.m9_1 = 7;
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1226
|
+
this.lp3_1.goy(this.kp3_1.toString());
|
|
1227
|
+
this.lp3_1.koy();
|
|
1247
1228
|
return Unit_instance;
|
|
1248
1229
|
case 6:
|
|
1249
1230
|
this.m9_1 = 7;
|
|
1250
1231
|
var t = this.o9_1;
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1232
|
+
this.lp3_1.goy(this.kp3_1.toString());
|
|
1233
|
+
this.lp3_1.koy();
|
|
1253
1234
|
throw t;
|
|
1254
1235
|
case 7:
|
|
1255
1236
|
throw this.o9_1;
|
|
@@ -1265,15 +1246,15 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1265
1246
|
}
|
|
1266
1247
|
while (true);
|
|
1267
1248
|
};
|
|
1268
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1269
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1270
|
-
i.
|
|
1249
|
+
protoOf(Logging$lambda$logRequestBody$slambda).p2u = function ($this$launch, completion) {
|
|
1250
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.ip3_1, this.jp3_1, this.kp3_1, this.lp3_1, completion);
|
|
1251
|
+
i.mp3_1 = $this$launch;
|
|
1271
1252
|
return i;
|
|
1272
1253
|
};
|
|
1273
1254
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1274
1255
|
var i = new Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation);
|
|
1275
1256
|
var l = function ($this$launch, $completion) {
|
|
1276
|
-
return i.
|
|
1257
|
+
return i.o2u($this$launch, $completion);
|
|
1277
1258
|
};
|
|
1278
1259
|
l.$arity = 1;
|
|
1279
1260
|
return l;
|
|
@@ -1362,139 +1343,139 @@ function invoke$logResponseOkHttpFormat(sanitizedHeaders, level, bodyFilter, res
|
|
|
1362
1343
|
function invoke$logRequestBody_0(content, logger, $completion) {
|
|
1363
1344
|
var requestLog = StringBuilder_init_$Create$();
|
|
1364
1345
|
// Inline function 'kotlin.text.appendLine' call
|
|
1365
|
-
var value = 'BODY Content-Type: ' + toString_0(content.
|
|
1346
|
+
var value = 'BODY Content-Type: ' + toString_0(content.w47());
|
|
1366
1347
|
// Inline function 'kotlin.text.appendLine' call
|
|
1367
1348
|
requestLog.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1368
|
-
var tmp0_safe_receiver = content.
|
|
1349
|
+
var tmp0_safe_receiver = content.w47();
|
|
1369
1350
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
1370
|
-
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
1351
|
+
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().p3i_1 : tmp1_elvis_lhs;
|
|
1371
1352
|
var channel = new ByteChannel();
|
|
1372
1353
|
var tmp = GlobalScope_instance;
|
|
1373
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
1354
|
+
var tmp_0 = Dispatchers_getInstance().s2j_1.uj(MDCContext());
|
|
1374
1355
|
launch(tmp, tmp_0, VOID, Logging$lambda$logRequestBody$slambda_0(channel, charset_0, requestLog, logger, null));
|
|
1375
1356
|
return observe(content, channel, $completion);
|
|
1376
1357
|
}
|
|
1377
1358
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1378
|
-
if (level.
|
|
1379
|
-
logger.
|
|
1359
|
+
if (level.qoz_1) {
|
|
1360
|
+
logger.mox('REQUEST ' + Url(context.h4s_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1380
1361
|
}
|
|
1381
1362
|
}
|
|
1382
1363
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
1383
|
-
var tmp = request.
|
|
1364
|
+
var tmp = request.k4s_1;
|
|
1384
1365
|
var content = tmp instanceof OutgoingContent ? tmp : THROW_CCE();
|
|
1385
1366
|
var callLogger = new HttpClientCallLogger(logger);
|
|
1386
|
-
request.
|
|
1367
|
+
request.m4s_1.x3j(get_ClientCallLogger(), callLogger);
|
|
1387
1368
|
// Inline function 'kotlin.text.buildString' call
|
|
1388
1369
|
// Inline function 'kotlin.apply' call
|
|
1389
1370
|
var this_0 = StringBuilder_init_$Create$();
|
|
1390
|
-
if (level.
|
|
1371
|
+
if (level.qoz_1) {
|
|
1391
1372
|
// Inline function 'kotlin.text.appendLine' call
|
|
1392
|
-
var value = 'REQUEST: ' + Url(request.
|
|
1373
|
+
var value = 'REQUEST: ' + Url(request.h4s_1).toString();
|
|
1393
1374
|
// Inline function 'kotlin.text.appendLine' call
|
|
1394
1375
|
this_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1395
1376
|
// Inline function 'kotlin.text.appendLine' call
|
|
1396
|
-
var value_0 = 'METHOD: ' + request.
|
|
1377
|
+
var value_0 = 'METHOD: ' + request.i4s_1.toString();
|
|
1397
1378
|
// Inline function 'kotlin.text.appendLine' call
|
|
1398
1379
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1399
1380
|
}
|
|
1400
|
-
if (level.
|
|
1381
|
+
if (level.roz_1) {
|
|
1401
1382
|
// Inline function 'kotlin.text.appendLine' call
|
|
1402
1383
|
var value_1 = 'COMMON HEADERS';
|
|
1403
1384
|
// Inline function 'kotlin.text.appendLine' call
|
|
1404
1385
|
this_0.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
1405
|
-
logHeaders(this_0, request.
|
|
1386
|
+
logHeaders(this_0, request.j4s_1.g3o(), sanitizedHeaders);
|
|
1406
1387
|
// Inline function 'kotlin.text.appendLine' call
|
|
1407
1388
|
var value_2 = 'CONTENT HEADERS';
|
|
1408
1389
|
// Inline function 'kotlin.text.appendLine' call
|
|
1409
1390
|
this_0.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
1410
|
-
var tmp$ret$
|
|
1391
|
+
var tmp$ret$11;
|
|
1411
1392
|
$l$block: {
|
|
1412
1393
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1413
1394
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1414
1395
|
while (_iterator__ex2g4s.u()) {
|
|
1415
1396
|
var element = _iterator__ex2g4s.v();
|
|
1416
|
-
if (element.
|
|
1417
|
-
tmp$ret$
|
|
1397
|
+
if (element.kp0_1('Content-Length')) {
|
|
1398
|
+
tmp$ret$11 = element;
|
|
1418
1399
|
break $l$block;
|
|
1419
1400
|
}
|
|
1420
1401
|
}
|
|
1421
|
-
tmp$ret$
|
|
1402
|
+
tmp$ret$11 = null;
|
|
1422
1403
|
}
|
|
1423
|
-
var tmp0_safe_receiver = tmp$ret$
|
|
1424
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1425
|
-
var tmp$ret$
|
|
1404
|
+
var tmp0_safe_receiver = tmp$ret$11;
|
|
1405
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.jp0_1;
|
|
1406
|
+
var tmp$ret$13;
|
|
1426
1407
|
$l$block_0: {
|
|
1427
1408
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1428
1409
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1429
1410
|
while (_iterator__ex2g4s_0.u()) {
|
|
1430
1411
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1431
|
-
if (element_0.
|
|
1432
|
-
tmp$ret$
|
|
1412
|
+
if (element_0.kp0_1('Content-Type')) {
|
|
1413
|
+
tmp$ret$13 = element_0;
|
|
1433
1414
|
break $l$block_0;
|
|
1434
1415
|
}
|
|
1435
1416
|
}
|
|
1436
|
-
tmp$ret$
|
|
1417
|
+
tmp$ret$13 = null;
|
|
1437
1418
|
}
|
|
1438
|
-
var tmp1_safe_receiver = tmp$ret$
|
|
1439
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1440
|
-
var tmp2_safe_receiver = content.
|
|
1419
|
+
var tmp1_safe_receiver = tmp$ret$13;
|
|
1420
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.jp0_1;
|
|
1421
|
+
var tmp2_safe_receiver = content.y47();
|
|
1441
1422
|
if (tmp2_safe_receiver == null)
|
|
1442
1423
|
null;
|
|
1443
1424
|
else {
|
|
1444
1425
|
// Inline function 'kotlin.let' call
|
|
1445
1426
|
logHeader(this_0, 'Content-Length', contentLengthPlaceholder == null ? tmp2_safe_receiver.toString() : contentLengthPlaceholder);
|
|
1446
1427
|
}
|
|
1447
|
-
var tmp3_safe_receiver = content.
|
|
1428
|
+
var tmp3_safe_receiver = content.w47();
|
|
1448
1429
|
if (tmp3_safe_receiver == null)
|
|
1449
1430
|
null;
|
|
1450
1431
|
else {
|
|
1451
1432
|
// Inline function 'kotlin.let' call
|
|
1452
1433
|
logHeader(this_0, 'Content-Type', contentTypePlaceholder == null ? tmp3_safe_receiver.toString() : contentTypePlaceholder);
|
|
1453
1434
|
}
|
|
1454
|
-
logHeaders(this_0, content.
|
|
1435
|
+
logHeaders(this_0, content.x41().g3o(), sanitizedHeaders);
|
|
1455
1436
|
}
|
|
1456
1437
|
var message = this_0.toString();
|
|
1457
1438
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1458
1439
|
if (charSequenceLength(message) > 0) {
|
|
1459
|
-
callLogger.
|
|
1440
|
+
callLogger.goy(message);
|
|
1460
1441
|
}
|
|
1461
1442
|
var tmp_0;
|
|
1462
1443
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1463
1444
|
if (charSequenceLength(message) === 0) {
|
|
1464
1445
|
tmp_0 = true;
|
|
1465
1446
|
} else {
|
|
1466
|
-
tmp_0 = !level.
|
|
1447
|
+
tmp_0 = !level.soz_1;
|
|
1467
1448
|
}
|
|
1468
1449
|
if (tmp_0) {
|
|
1469
|
-
callLogger.
|
|
1450
|
+
callLogger.koy();
|
|
1470
1451
|
return null;
|
|
1471
1452
|
}
|
|
1472
1453
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1473
1454
|
}
|
|
1474
1455
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1475
|
-
if (!level.
|
|
1456
|
+
if (!level.qoz_1)
|
|
1476
1457
|
return Unit_instance;
|
|
1477
|
-
log.q('RESPONSE ' + request.
|
|
1458
|
+
log.q('RESPONSE ' + request.a4u().toString() + ' failed with exception: ' + cause.toString());
|
|
1478
1459
|
}
|
|
1479
1460
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1461
|
+
this.wp6_1 = $okHttpFormat;
|
|
1462
|
+
this.xp6_1 = $logger;
|
|
1463
|
+
this.yp6_1 = $filters;
|
|
1464
|
+
this.zp6_1 = $sanitizedHeaders;
|
|
1465
|
+
this.ap7_1 = $level;
|
|
1466
|
+
this.bp7_1 = $this_createClientPlugin;
|
|
1467
|
+
this.cp7_1 = $bodyFilter;
|
|
1487
1468
|
CoroutineImpl.call(this, resultContinuation);
|
|
1488
1469
|
}
|
|
1489
|
-
protoOf(Logging$lambda$slambda).
|
|
1490
|
-
var tmp = this.
|
|
1470
|
+
protoOf(Logging$lambda$slambda).lp7 = function ($this$on, request, $completion) {
|
|
1471
|
+
var tmp = this.mp7($this$on, request, $completion);
|
|
1491
1472
|
tmp.n9_1 = Unit_instance;
|
|
1492
1473
|
tmp.o9_1 = null;
|
|
1493
1474
|
return tmp.t9();
|
|
1494
1475
|
};
|
|
1495
1476
|
protoOf(Logging$lambda$slambda).ga = function (p1, p2, $completion) {
|
|
1496
1477
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1497
|
-
return this.
|
|
1478
|
+
return this.lp7(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1498
1479
|
};
|
|
1499
1480
|
protoOf(Logging$lambda$slambda).t9 = function () {
|
|
1500
1481
|
var suspendResult = this.n9_1;
|
|
@@ -1504,16 +1485,16 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1504
1485
|
switch (tmp) {
|
|
1505
1486
|
case 0:
|
|
1506
1487
|
this.m9_1 = 16;
|
|
1507
|
-
if (!invoke$shouldBeLogged(this.
|
|
1508
|
-
this.
|
|
1488
|
+
if (!invoke$shouldBeLogged(this.yp6_1, this.ep7_1)) {
|
|
1489
|
+
this.ep7_1.m4s_1.x3j(get_DisableLogging(), Unit_instance);
|
|
1509
1490
|
return Unit_instance;
|
|
1510
1491
|
}
|
|
1511
1492
|
|
|
1512
|
-
if (this.
|
|
1493
|
+
if (this.wp6_1) {
|
|
1513
1494
|
var tmp_0 = this;
|
|
1514
|
-
tmp_0.
|
|
1495
|
+
tmp_0.hp7_1 = ArrayList_init_$Create$();
|
|
1515
1496
|
this.l9_1 = 10;
|
|
1516
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1497
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.zp6_1, this.ap7_1, this.bp7_1, this.cp7_1, this.ep7_1, this.hp7_1, this);
|
|
1517
1498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1518
1499
|
return suspendResult;
|
|
1519
1500
|
}
|
|
@@ -1526,14 +1507,14 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1526
1507
|
case 1:
|
|
1527
1508
|
this.m9_1 = 3;
|
|
1528
1509
|
this.l9_1 = 2;
|
|
1529
|
-
suspendResult = invoke$logRequest(this.
|
|
1510
|
+
suspendResult = invoke$logRequest(this.xp6_1, this.ap7_1, this.zp6_1, this.ep7_1, this);
|
|
1530
1511
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1531
1512
|
return suspendResult;
|
|
1532
1513
|
}
|
|
1533
1514
|
|
|
1534
1515
|
continue $sm;
|
|
1535
1516
|
case 2:
|
|
1536
|
-
this.
|
|
1517
|
+
this.kp7_1 = suspendResult;
|
|
1537
1518
|
this.m9_1 = 16;
|
|
1538
1519
|
this.l9_1 = 4;
|
|
1539
1520
|
continue $sm;
|
|
@@ -1543,7 +1524,7 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1543
1524
|
if (tmp_1 instanceof Error) {
|
|
1544
1525
|
var _unused_var__etf5q3 = this.o9_1;
|
|
1545
1526
|
var tmp_2 = this;
|
|
1546
|
-
tmp_2.
|
|
1527
|
+
tmp_2.kp7_1 = null;
|
|
1547
1528
|
this.l9_1 = 4;
|
|
1548
1529
|
continue $sm;
|
|
1549
1530
|
} else {
|
|
@@ -1552,23 +1533,23 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1552
1533
|
|
|
1553
1534
|
case 4:
|
|
1554
1535
|
this.m9_1 = 16;
|
|
1555
|
-
this.
|
|
1556
|
-
this.
|
|
1536
|
+
this.jp7_1 = this.kp7_1;
|
|
1537
|
+
this.ip7_1 = Unit_instance;
|
|
1557
1538
|
this.l9_1 = 5;
|
|
1558
1539
|
continue $sm;
|
|
1559
1540
|
case 5:
|
|
1560
1541
|
this.m9_1 = 8;
|
|
1561
1542
|
this.m9_1 = 7;
|
|
1562
1543
|
this.l9_1 = 6;
|
|
1563
|
-
var tmp0_elvis_lhs = this.
|
|
1564
|
-
suspendResult = this.
|
|
1544
|
+
var tmp0_elvis_lhs = this.jp7_1;
|
|
1545
|
+
suspendResult = this.dp7_1.mp0(tmp0_elvis_lhs == null ? this.ep7_1.k4s_1 : tmp0_elvis_lhs, this);
|
|
1565
1546
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1566
1547
|
return suspendResult;
|
|
1567
1548
|
}
|
|
1568
1549
|
|
|
1569
1550
|
continue $sm;
|
|
1570
1551
|
case 6:
|
|
1571
|
-
this.
|
|
1552
|
+
this.ip7_1 = suspendResult;
|
|
1572
1553
|
this.m9_1 = 16;
|
|
1573
1554
|
this.l9_1 = 9;
|
|
1574
1555
|
continue $sm;
|
|
@@ -1578,7 +1559,7 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1578
1559
|
if (tmp_3 instanceof Error) {
|
|
1579
1560
|
var cause = this.o9_1;
|
|
1580
1561
|
var tmp_4 = this;
|
|
1581
|
-
invoke$logRequestException(this.
|
|
1562
|
+
invoke$logRequestException(this.ap7_1, this.xp6_1, this.ep7_1, cause);
|
|
1582
1563
|
throw cause;
|
|
1583
1564
|
} else {
|
|
1584
1565
|
throw this.o9_1;
|
|
@@ -1589,26 +1570,26 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1589
1570
|
var t = this.o9_1;
|
|
1590
1571
|
throw t;
|
|
1591
1572
|
case 9:
|
|
1592
|
-
this.
|
|
1573
|
+
this.ip7_1;
|
|
1593
1574
|
this.m9_1 = 16;
|
|
1594
1575
|
return Unit_instance;
|
|
1595
1576
|
case 10:
|
|
1596
1577
|
var content = suspendResult;
|
|
1597
|
-
if (this.
|
|
1598
|
-
this.
|
|
1578
|
+
if (this.hp7_1.g1() > 0) {
|
|
1579
|
+
this.xp6_1.mox(joinToString(this.hp7_1, '\n'));
|
|
1599
1580
|
}
|
|
1600
1581
|
|
|
1601
1582
|
this.m9_1 = 14;
|
|
1602
1583
|
if (!(content == null)) {
|
|
1603
1584
|
this.l9_1 = 12;
|
|
1604
|
-
suspendResult = this.
|
|
1585
|
+
suspendResult = this.dp7_1.mp0(content, this);
|
|
1605
1586
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1606
1587
|
return suspendResult;
|
|
1607
1588
|
}
|
|
1608
1589
|
continue $sm;
|
|
1609
1590
|
} else {
|
|
1610
1591
|
this.l9_1 = 11;
|
|
1611
|
-
suspendResult = this.
|
|
1592
|
+
suspendResult = this.dp7_1.np0(this);
|
|
1612
1593
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1613
1594
|
return suspendResult;
|
|
1614
1595
|
}
|
|
@@ -1616,15 +1597,15 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1616
1597
|
}
|
|
1617
1598
|
|
|
1618
1599
|
case 11:
|
|
1619
|
-
this.
|
|
1600
|
+
this.gp7_1 = suspendResult;
|
|
1620
1601
|
this.l9_1 = 13;
|
|
1621
1602
|
continue $sm;
|
|
1622
1603
|
case 12:
|
|
1623
|
-
this.
|
|
1604
|
+
this.gp7_1 = suspendResult;
|
|
1624
1605
|
this.l9_1 = 13;
|
|
1625
1606
|
continue $sm;
|
|
1626
1607
|
case 13:
|
|
1627
|
-
this.
|
|
1608
|
+
this.fp7_1 = this.gp7_1;
|
|
1628
1609
|
this.m9_1 = 16;
|
|
1629
1610
|
this.l9_1 = 15;
|
|
1630
1611
|
continue $sm;
|
|
@@ -1634,7 +1615,7 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1634
1615
|
if (tmp_5 instanceof Error) {
|
|
1635
1616
|
var cause_0 = this.o9_1;
|
|
1636
1617
|
var tmp_6 = this;
|
|
1637
|
-
this.
|
|
1618
|
+
this.xp6_1.mox('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1638
1619
|
throw cause_0;
|
|
1639
1620
|
} else {
|
|
1640
1621
|
throw this.o9_1;
|
|
@@ -1657,37 +1638,37 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1657
1638
|
}
|
|
1658
1639
|
while (true);
|
|
1659
1640
|
};
|
|
1660
|
-
protoOf(Logging$lambda$slambda).
|
|
1661
|
-
var i = new Logging$lambda$slambda(this.
|
|
1662
|
-
i.
|
|
1663
|
-
i.
|
|
1641
|
+
protoOf(Logging$lambda$slambda).mp7 = function ($this$on, request, completion) {
|
|
1642
|
+
var i = new Logging$lambda$slambda(this.wp6_1, this.xp6_1, this.yp6_1, this.zp6_1, this.ap7_1, this.bp7_1, this.cp7_1, completion);
|
|
1643
|
+
i.dp7_1 = $this$on;
|
|
1644
|
+
i.ep7_1 = request;
|
|
1664
1645
|
return i;
|
|
1665
1646
|
};
|
|
1666
1647
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1667
1648
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1668
1649
|
var l = function ($this$on, request, $completion) {
|
|
1669
|
-
return i.
|
|
1650
|
+
return i.lp7($this$on, request, $completion);
|
|
1670
1651
|
};
|
|
1671
1652
|
l.$arity = 2;
|
|
1672
1653
|
return l;
|
|
1673
1654
|
}
|
|
1674
1655
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1675
|
-
this.
|
|
1676
|
-
this.
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1679
|
-
this.
|
|
1656
|
+
this.vp7_1 = $okHttpFormat;
|
|
1657
|
+
this.wp7_1 = $logger;
|
|
1658
|
+
this.xp7_1 = $sanitizedHeaders;
|
|
1659
|
+
this.yp7_1 = $level;
|
|
1660
|
+
this.zp7_1 = $bodyFilter;
|
|
1680
1661
|
CoroutineImpl.call(this, resultContinuation);
|
|
1681
1662
|
}
|
|
1682
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1683
|
-
var tmp = this.
|
|
1663
|
+
protoOf(Logging$lambda$slambda_1).dp8 = function ($this$on, response, $completion) {
|
|
1664
|
+
var tmp = this.ep8($this$on, response, $completion);
|
|
1684
1665
|
tmp.n9_1 = Unit_instance;
|
|
1685
1666
|
tmp.o9_1 = null;
|
|
1686
1667
|
return tmp.t9();
|
|
1687
1668
|
};
|
|
1688
1669
|
protoOf(Logging$lambda$slambda_1).ga = function (p1, p2, $completion) {
|
|
1689
1670
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1690
|
-
return this.
|
|
1671
|
+
return this.dp8(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1691
1672
|
};
|
|
1692
1673
|
protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
1693
1674
|
var suspendResult = this.n9_1;
|
|
@@ -1697,11 +1678,11 @@ protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
|
1697
1678
|
switch (tmp) {
|
|
1698
1679
|
case 0:
|
|
1699
1680
|
this.m9_1 = 5;
|
|
1700
|
-
if (this.
|
|
1681
|
+
if (this.vp7_1) {
|
|
1701
1682
|
var tmp_0 = this;
|
|
1702
|
-
tmp_0.
|
|
1683
|
+
tmp_0.cp8_1 = ArrayList_init_$Create$();
|
|
1703
1684
|
this.l9_1 = 1;
|
|
1704
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1685
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.xp7_1, this.yp7_1, this.zp7_1, this.bp8_1, this.cp8_1, this);
|
|
1705
1686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1706
1687
|
return suspendResult;
|
|
1707
1688
|
}
|
|
@@ -1713,13 +1694,13 @@ protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
|
1713
1694
|
|
|
1714
1695
|
case 1:
|
|
1715
1696
|
var newResponse = suspendResult;
|
|
1716
|
-
if (this.
|
|
1717
|
-
this.
|
|
1697
|
+
if (this.cp8_1.g1() > 0) {
|
|
1698
|
+
this.wp7_1.mox(joinToString(this.cp8_1, '\n'));
|
|
1718
1699
|
}
|
|
1719
1700
|
|
|
1720
|
-
if (!equals(newResponse, this.
|
|
1701
|
+
if (!equals(newResponse, this.bp8_1)) {
|
|
1721
1702
|
this.l9_1 = 2;
|
|
1722
|
-
suspendResult = this.
|
|
1703
|
+
suspendResult = this.ap8_1.j63(newResponse, this);
|
|
1723
1704
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1724
1705
|
return suspendResult;
|
|
1725
1706
|
}
|
|
@@ -1751,35 +1732,35 @@ protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
|
1751
1732
|
}
|
|
1752
1733
|
while (true);
|
|
1753
1734
|
};
|
|
1754
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1755
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1756
|
-
i.
|
|
1757
|
-
i.
|
|
1735
|
+
protoOf(Logging$lambda$slambda_1).ep8 = function ($this$on, response, completion) {
|
|
1736
|
+
var i = new Logging$lambda$slambda_1(this.vp7_1, this.wp7_1, this.xp7_1, this.yp7_1, this.zp7_1, completion);
|
|
1737
|
+
i.ap8_1 = $this$on;
|
|
1738
|
+
i.bp8_1 = response;
|
|
1758
1739
|
return i;
|
|
1759
1740
|
};
|
|
1760
1741
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1761
1742
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1762
1743
|
var l = function ($this$on, response, $completion) {
|
|
1763
|
-
return i.
|
|
1744
|
+
return i.dp8($this$on, response, $completion);
|
|
1764
1745
|
};
|
|
1765
1746
|
l.$arity = 2;
|
|
1766
1747
|
return l;
|
|
1767
1748
|
}
|
|
1768
1749
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1750
|
+
this.np8_1 = $okHttpFormat;
|
|
1751
|
+
this.op8_1 = $level;
|
|
1752
|
+
this.pp8_1 = $sanitizedHeaders;
|
|
1772
1753
|
CoroutineImpl.call(this, resultContinuation);
|
|
1773
1754
|
}
|
|
1774
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1775
|
-
var tmp = this.
|
|
1755
|
+
protoOf(Logging$lambda$slambda_3).yp8 = function ($this$on, response, $completion) {
|
|
1756
|
+
var tmp = this.zp8($this$on, response, $completion);
|
|
1776
1757
|
tmp.n9_1 = Unit_instance;
|
|
1777
1758
|
tmp.o9_1 = null;
|
|
1778
1759
|
return tmp.t9();
|
|
1779
1760
|
};
|
|
1780
1761
|
protoOf(Logging$lambda$slambda_3).ga = function (p1, p2, $completion) {
|
|
1781
1762
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1782
|
-
return this.
|
|
1763
|
+
return this.yp8(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1783
1764
|
};
|
|
1784
1765
|
protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
1785
1766
|
var suspendResult = this.n9_1;
|
|
@@ -1789,28 +1770,28 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1789
1770
|
switch (tmp) {
|
|
1790
1771
|
case 0:
|
|
1791
1772
|
this.m9_1 = 14;
|
|
1792
|
-
if (this.
|
|
1773
|
+
if (this.np8_1)
|
|
1793
1774
|
return Unit_instance;
|
|
1794
|
-
if (this.
|
|
1775
|
+
if (this.op8_1.equals(LogLevel_NONE_getInstance()) || this.rp8_1.y4t().r4t().w3j(get_DisableLogging()))
|
|
1795
1776
|
return Unit_instance;
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
-
this.
|
|
1777
|
+
this.tp8_1 = this.rp8_1.y4t().r4t().u3j(get_ClientCallLogger());
|
|
1778
|
+
this.vp8_1 = StringBuilder_init_$Create$();
|
|
1779
|
+
this.up8_1 = false;
|
|
1799
1780
|
this.l9_1 = 1;
|
|
1800
1781
|
continue $sm;
|
|
1801
1782
|
case 1:
|
|
1802
1783
|
this.m9_1 = 4;
|
|
1803
1784
|
this.m9_1 = 3;
|
|
1804
|
-
logResponseHeader(this.
|
|
1785
|
+
logResponseHeader(this.vp8_1, this.rp8_1.y4t().h4r(), this.op8_1, this.pp8_1);
|
|
1805
1786
|
this.l9_1 = 2;
|
|
1806
|
-
suspendResult = this.
|
|
1787
|
+
suspendResult = this.qp8_1.op1(this);
|
|
1807
1788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1808
1789
|
return suspendResult;
|
|
1809
1790
|
}
|
|
1810
1791
|
|
|
1811
1792
|
continue $sm;
|
|
1812
1793
|
case 2:
|
|
1813
|
-
this.
|
|
1794
|
+
this.wp8_1 = suspendResult;
|
|
1814
1795
|
this.m9_1 = 14;
|
|
1815
1796
|
this.l9_1 = 9;
|
|
1816
1797
|
continue $sm;
|
|
@@ -1820,8 +1801,8 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1820
1801
|
if (tmp_0 instanceof Error) {
|
|
1821
1802
|
var cause = this.o9_1;
|
|
1822
1803
|
var tmp_1 = this;
|
|
1823
|
-
invoke$logResponseException(this.
|
|
1824
|
-
this.
|
|
1804
|
+
invoke$logResponseException(this.op8_1, this.vp8_1, this.rp8_1.y4t().q4t(), cause);
|
|
1805
|
+
this.up8_1 = true;
|
|
1825
1806
|
throw cause;
|
|
1826
1807
|
} else {
|
|
1827
1808
|
throw this.o9_1;
|
|
@@ -1829,19 +1810,19 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1829
1810
|
|
|
1830
1811
|
case 4:
|
|
1831
1812
|
this.m9_1 = 14;
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
if (this.
|
|
1813
|
+
this.xp8_1 = this.o9_1;
|
|
1814
|
+
this.tp8_1.hoy(this.vp8_1.toString());
|
|
1815
|
+
if (this.up8_1 || !this.op8_1.soz_1) {
|
|
1835
1816
|
this.l9_1 = 7;
|
|
1836
|
-
suspendResult = this.
|
|
1817
|
+
suspendResult = this.tp8_1.loy(this);
|
|
1837
1818
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1838
1819
|
return suspendResult;
|
|
1839
1820
|
}
|
|
1840
1821
|
continue $sm;
|
|
1841
1822
|
} else {
|
|
1842
|
-
if (this.
|
|
1823
|
+
if (this.op8_1.soz_1 && get_isSaved(this.rp8_1)) {
|
|
1843
1824
|
this.l9_1 = 5;
|
|
1844
|
-
suspendResult = logResponseBody(this.
|
|
1825
|
+
suspendResult = logResponseBody(this.tp8_1, this.rp8_1, this);
|
|
1845
1826
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1846
1827
|
return suspendResult;
|
|
1847
1828
|
}
|
|
@@ -1854,7 +1835,7 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1854
1835
|
|
|
1855
1836
|
case 5:
|
|
1856
1837
|
this.l9_1 = 6;
|
|
1857
|
-
suspendResult = this.
|
|
1838
|
+
suspendResult = this.tp8_1.loy(this);
|
|
1858
1839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1859
1840
|
return suspendResult;
|
|
1860
1841
|
}
|
|
@@ -1867,22 +1848,22 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1867
1848
|
this.l9_1 = 8;
|
|
1868
1849
|
continue $sm;
|
|
1869
1850
|
case 8:
|
|
1870
|
-
throw this.
|
|
1851
|
+
throw this.xp8_1;
|
|
1871
1852
|
case 9:
|
|
1872
|
-
this.
|
|
1853
|
+
this.sp8_1 = this.wp8_1;
|
|
1873
1854
|
this.m9_1 = 14;
|
|
1874
|
-
this.
|
|
1875
|
-
if (this.
|
|
1855
|
+
this.tp8_1.hoy(this.vp8_1.toString());
|
|
1856
|
+
if (this.up8_1 || !this.op8_1.soz_1) {
|
|
1876
1857
|
this.l9_1 = 12;
|
|
1877
|
-
suspendResult = this.
|
|
1858
|
+
suspendResult = this.tp8_1.loy(this);
|
|
1878
1859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1879
1860
|
return suspendResult;
|
|
1880
1861
|
}
|
|
1881
1862
|
continue $sm;
|
|
1882
1863
|
} else {
|
|
1883
|
-
if (this.
|
|
1864
|
+
if (this.op8_1.soz_1 && get_isSaved(this.rp8_1)) {
|
|
1884
1865
|
this.l9_1 = 10;
|
|
1885
|
-
suspendResult = logResponseBody(this.
|
|
1866
|
+
suspendResult = logResponseBody(this.tp8_1, this.rp8_1, this);
|
|
1886
1867
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1887
1868
|
return suspendResult;
|
|
1888
1869
|
}
|
|
@@ -1895,7 +1876,7 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1895
1876
|
|
|
1896
1877
|
case 10:
|
|
1897
1878
|
this.l9_1 = 11;
|
|
1898
|
-
suspendResult = this.
|
|
1879
|
+
suspendResult = this.tp8_1.loy(this);
|
|
1899
1880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1900
1881
|
return suspendResult;
|
|
1901
1882
|
}
|
|
@@ -1923,34 +1904,35 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1923
1904
|
}
|
|
1924
1905
|
while (true);
|
|
1925
1906
|
};
|
|
1926
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1927
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1928
|
-
i.
|
|
1929
|
-
i.
|
|
1907
|
+
protoOf(Logging$lambda$slambda_3).zp8 = function ($this$on, response, completion) {
|
|
1908
|
+
var i = new Logging$lambda$slambda_3(this.np8_1, this.op8_1, this.pp8_1, completion);
|
|
1909
|
+
i.qp8_1 = $this$on;
|
|
1910
|
+
i.rp8_1 = response;
|
|
1930
1911
|
return i;
|
|
1931
1912
|
};
|
|
1932
1913
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1933
1914
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1934
1915
|
var l = function ($this$on, response, $completion) {
|
|
1935
|
-
return i.
|
|
1916
|
+
return i.yp8($this$on, response, $completion);
|
|
1936
1917
|
};
|
|
1937
1918
|
l.$arity = 2;
|
|
1938
1919
|
return l;
|
|
1939
1920
|
}
|
|
1940
|
-
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1941
|
-
this.
|
|
1942
|
-
this.
|
|
1921
|
+
function Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation) {
|
|
1922
|
+
this.ip9_1 = $okHttpFormat;
|
|
1923
|
+
this.jp9_1 = $level;
|
|
1924
|
+
this.kp9_1 = $logger;
|
|
1943
1925
|
CoroutineImpl.call(this, resultContinuation);
|
|
1944
1926
|
}
|
|
1945
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1946
|
-
var tmp = this.
|
|
1927
|
+
protoOf(Logging$lambda$slambda_5).qp9 = function ($this$on, call, $completion) {
|
|
1928
|
+
var tmp = this.rp9($this$on, call, $completion);
|
|
1947
1929
|
tmp.n9_1 = Unit_instance;
|
|
1948
1930
|
tmp.o9_1 = null;
|
|
1949
1931
|
return tmp.t9();
|
|
1950
1932
|
};
|
|
1951
1933
|
protoOf(Logging$lambda$slambda_5).ga = function (p1, p2, $completion) {
|
|
1952
1934
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1953
|
-
return this.
|
|
1935
|
+
return this.qp9(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1954
1936
|
};
|
|
1955
1937
|
protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
1956
1938
|
var suspendResult = this.n9_1;
|
|
@@ -1960,22 +1942,22 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1960
1942
|
switch (tmp) {
|
|
1961
1943
|
case 0:
|
|
1962
1944
|
this.m9_1 = 6;
|
|
1963
|
-
if (this.
|
|
1945
|
+
if (this.ip9_1)
|
|
1964
1946
|
return Unit_instance;
|
|
1965
|
-
if (this.
|
|
1947
|
+
if (this.jp9_1.equals(LogLevel_NONE_getInstance()) || this.mp9_1.r4t().w3j(get_DisableLogging())) {
|
|
1966
1948
|
return Unit_instance;
|
|
1967
1949
|
}
|
|
1968
1950
|
|
|
1969
1951
|
this.m9_1 = 2;
|
|
1970
1952
|
this.l9_1 = 1;
|
|
1971
|
-
suspendResult = this.
|
|
1953
|
+
suspendResult = this.lp9_1.cp2(this);
|
|
1972
1954
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1973
1955
|
return suspendResult;
|
|
1974
1956
|
}
|
|
1975
1957
|
|
|
1976
1958
|
continue $sm;
|
|
1977
1959
|
case 1:
|
|
1978
|
-
this.
|
|
1960
|
+
this.np9_1 = suspendResult;
|
|
1979
1961
|
this.m9_1 = 6;
|
|
1980
1962
|
this.l9_1 = 5;
|
|
1981
1963
|
continue $sm;
|
|
@@ -1983,12 +1965,22 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1983
1965
|
this.m9_1 = 6;
|
|
1984
1966
|
var tmp_0 = this.o9_1;
|
|
1985
1967
|
if (tmp_0 instanceof Error) {
|
|
1986
|
-
this.
|
|
1968
|
+
this.op9_1 = this.o9_1;
|
|
1987
1969
|
var log = StringBuilder_init_$Create$();
|
|
1988
|
-
|
|
1989
|
-
|
|
1970
|
+
var tmp_1 = this;
|
|
1971
|
+
var tmp0_elvis_lhs = this.mp9_1.r4t().v3j(get_ClientCallLogger());
|
|
1972
|
+
var tmp_2;
|
|
1973
|
+
if (tmp0_elvis_lhs == null) {
|
|
1974
|
+
var this_0 = new HttpClientCallLogger(this.kp9_1);
|
|
1975
|
+
this_0.koy();
|
|
1976
|
+
tmp_2 = this_0;
|
|
1977
|
+
} else {
|
|
1978
|
+
tmp_2 = tmp0_elvis_lhs;
|
|
1979
|
+
}
|
|
1980
|
+
tmp_1.pp9_1 = tmp_2;
|
|
1981
|
+
invoke$logResponseException(this.jp9_1, log, this.mp9_1.q4t(), this.op9_1);
|
|
1990
1982
|
this.l9_1 = 3;
|
|
1991
|
-
suspendResult = this.
|
|
1983
|
+
suspendResult = this.pp9_1.ioy(log.toString(), this);
|
|
1992
1984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1993
1985
|
return suspendResult;
|
|
1994
1986
|
}
|
|
@@ -1999,15 +1991,15 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1999
1991
|
|
|
2000
1992
|
case 3:
|
|
2001
1993
|
this.l9_1 = 4;
|
|
2002
|
-
suspendResult = this.
|
|
1994
|
+
suspendResult = this.pp9_1.loy(this);
|
|
2003
1995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2004
1996
|
return suspendResult;
|
|
2005
1997
|
}
|
|
2006
1998
|
|
|
2007
1999
|
continue $sm;
|
|
2008
2000
|
case 4:
|
|
2009
|
-
var
|
|
2010
|
-
throw this.
|
|
2001
|
+
var tmp_3 = this;
|
|
2002
|
+
throw this.op9_1;
|
|
2011
2003
|
case 5:
|
|
2012
2004
|
this.m9_1 = 6;
|
|
2013
2005
|
return Unit_instance;
|
|
@@ -2025,36 +2017,36 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
2025
2017
|
}
|
|
2026
2018
|
while (true);
|
|
2027
2019
|
};
|
|
2028
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2029
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2030
|
-
i.
|
|
2031
|
-
i.
|
|
2020
|
+
protoOf(Logging$lambda$slambda_5).rp9 = function ($this$on, call, completion) {
|
|
2021
|
+
var i = new Logging$lambda$slambda_5(this.ip9_1, this.jp9_1, this.kp9_1, completion);
|
|
2022
|
+
i.lp9_1 = $this$on;
|
|
2023
|
+
i.mp9_1 = call;
|
|
2032
2024
|
return i;
|
|
2033
2025
|
};
|
|
2034
|
-
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
2035
|
-
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
2026
|
+
function Logging$lambda$slambda_6($okHttpFormat, $level, $logger, resultContinuation) {
|
|
2027
|
+
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation);
|
|
2036
2028
|
var l = function ($this$on, call, $completion) {
|
|
2037
|
-
return i.
|
|
2029
|
+
return i.qp9($this$on, call, $completion);
|
|
2038
2030
|
};
|
|
2039
2031
|
l.$arity = 2;
|
|
2040
2032
|
return l;
|
|
2041
2033
|
}
|
|
2042
2034
|
function Logging$lambda$lambda$lambda(it) {
|
|
2043
2035
|
_init_properties_Logging_kt__66pui5();
|
|
2044
|
-
return !get_isSaved(it.
|
|
2036
|
+
return !get_isSaved(it.h4r());
|
|
2045
2037
|
}
|
|
2046
2038
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2047
|
-
this.
|
|
2039
|
+
this.apa_1 = $level;
|
|
2048
2040
|
CoroutineImpl.call(this, resultContinuation);
|
|
2049
2041
|
}
|
|
2050
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2051
|
-
var tmp = this.
|
|
2042
|
+
protoOf(Logging$lambda$lambda$slambda).i53 = function (response, $completion) {
|
|
2043
|
+
var tmp = this.w51(response, $completion);
|
|
2052
2044
|
tmp.n9_1 = Unit_instance;
|
|
2053
2045
|
tmp.o9_1 = null;
|
|
2054
2046
|
return tmp.t9();
|
|
2055
2047
|
};
|
|
2056
2048
|
protoOf(Logging$lambda$lambda$slambda).fa = function (p1, $completion) {
|
|
2057
|
-
return this.
|
|
2049
|
+
return this.i53(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
2058
2050
|
};
|
|
2059
2051
|
protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
2060
2052
|
var suspendResult = this.n9_1;
|
|
@@ -2064,11 +2056,11 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2064
2056
|
switch (tmp) {
|
|
2065
2057
|
case 0:
|
|
2066
2058
|
this.m9_1 = 3;
|
|
2067
|
-
if (this.
|
|
2059
|
+
if (this.apa_1.equals(LogLevel_NONE_getInstance()) || this.bpa_1.y4t().r4t().w3j(get_DisableLogging()))
|
|
2068
2060
|
return Unit_instance;
|
|
2069
|
-
this.
|
|
2061
|
+
this.cpa_1 = this.bpa_1.y4t().r4t().u3j(get_ClientCallLogger());
|
|
2070
2062
|
this.l9_1 = 1;
|
|
2071
|
-
suspendResult = logResponseBody(this.
|
|
2063
|
+
suspendResult = logResponseBody(this.cpa_1, this.bpa_1, this);
|
|
2072
2064
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2073
2065
|
return suspendResult;
|
|
2074
2066
|
}
|
|
@@ -2076,7 +2068,7 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2076
2068
|
continue $sm;
|
|
2077
2069
|
case 1:
|
|
2078
2070
|
this.l9_1 = 2;
|
|
2079
|
-
suspendResult = this.
|
|
2071
|
+
suspendResult = this.cpa_1.loy(this);
|
|
2080
2072
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2081
2073
|
return suspendResult;
|
|
2082
2074
|
}
|
|
@@ -2098,36 +2090,36 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2098
2090
|
}
|
|
2099
2091
|
while (true);
|
|
2100
2092
|
};
|
|
2101
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
2102
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2103
|
-
i.
|
|
2093
|
+
protoOf(Logging$lambda$lambda$slambda).w51 = function (response, completion) {
|
|
2094
|
+
var i = new Logging$lambda$lambda$slambda(this.apa_1, completion);
|
|
2095
|
+
i.bpa_1 = response;
|
|
2104
2096
|
return i;
|
|
2105
2097
|
};
|
|
2106
2098
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
2107
2099
|
var i = new Logging$lambda$lambda$slambda($level, resultContinuation);
|
|
2108
2100
|
var l = function (response, $completion) {
|
|
2109
|
-
return i.
|
|
2101
|
+
return i.i53(response, $completion);
|
|
2110
2102
|
};
|
|
2111
2103
|
l.$arity = 1;
|
|
2112
2104
|
return l;
|
|
2113
2105
|
}
|
|
2114
2106
|
function Logging$lambda$lambda($level) {
|
|
2115
2107
|
return function ($this$prepare) {
|
|
2116
|
-
$this$prepare.
|
|
2117
|
-
$this$prepare.
|
|
2108
|
+
$this$prepare.h63(Logging$lambda$lambda$lambda);
|
|
2109
|
+
$this$prepare.g63(Logging$lambda$lambda$slambda_0($level, null));
|
|
2118
2110
|
return Unit_instance;
|
|
2119
2111
|
};
|
|
2120
2112
|
}
|
|
2121
2113
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2122
2114
|
CoroutineImpl.call(this, resultContinuation);
|
|
2123
|
-
this.
|
|
2124
|
-
this.
|
|
2125
|
-
this.
|
|
2126
|
-
this.
|
|
2127
|
-
this.
|
|
2128
|
-
this.
|
|
2129
|
-
this.
|
|
2130
|
-
this.
|
|
2115
|
+
this.yp3_1 = bodyFilter;
|
|
2116
|
+
this.zp3_1 = url;
|
|
2117
|
+
this.ap4_1 = content;
|
|
2118
|
+
this.bp4_1 = contentLength;
|
|
2119
|
+
this.cp4_1 = headers;
|
|
2120
|
+
this.dp4_1 = method;
|
|
2121
|
+
this.ep4_1 = logLines;
|
|
2122
|
+
this.fp4_1 = body;
|
|
2131
2123
|
}
|
|
2132
2124
|
protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
2133
2125
|
var suspendResult = this.n9_1;
|
|
@@ -2138,7 +2130,7 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2138
2130
|
case 0:
|
|
2139
2131
|
this.m9_1 = 2;
|
|
2140
2132
|
this.l9_1 = 1;
|
|
2141
|
-
suspendResult = this.
|
|
2133
|
+
suspendResult = this.yp3_1.moy(this.zp3_1, this.bp4_1, this.ap4_1.w47(), this.cp4_1, this.fp4_1, this);
|
|
2142
2134
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2143
2135
|
return suspendResult;
|
|
2144
2136
|
}
|
|
@@ -2147,29 +2139,29 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2147
2139
|
case 1:
|
|
2148
2140
|
var filteredBody = suspendResult;
|
|
2149
2141
|
if (filteredBody instanceof Empty) {
|
|
2150
|
-
this.
|
|
2142
|
+
this.ep4_1.e1('--> END ' + this.dp4_1.i42_1 + ' (0-byte body)');
|
|
2151
2143
|
} else {
|
|
2152
2144
|
if (filteredBody instanceof Skip) {
|
|
2153
2145
|
var this_0 = StringBuilder_init_$Create$();
|
|
2154
|
-
this_0.q('--> END ' + this.
|
|
2155
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2146
|
+
this_0.q('--> END ' + this.dp4_1.i42_1 + ' (');
|
|
2147
|
+
var tmp0_safe_receiver = filteredBody.qoy_1;
|
|
2156
2148
|
if (tmp0_safe_receiver == null)
|
|
2157
2149
|
null;
|
|
2158
2150
|
else {
|
|
2159
2151
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2160
2152
|
}
|
|
2161
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2153
|
+
var tmp1_safe_receiver = filteredBody.roy_1;
|
|
2162
2154
|
if (tmp1_safe_receiver == null)
|
|
2163
2155
|
null;
|
|
2164
2156
|
else {
|
|
2165
2157
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2166
2158
|
}
|
|
2167
2159
|
this_0.q('body omitted)');
|
|
2168
|
-
this.
|
|
2160
|
+
this.ep4_1.e1(this_0.toString());
|
|
2169
2161
|
} else {
|
|
2170
2162
|
if (isInterface(filteredBody, Content)) {
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2163
|
+
this.ep4_1.e1(filteredBody.o1k());
|
|
2164
|
+
this.ep4_1.e1('--> END ' + this.dp4_1.i42_1 + ' (' + toString_0(filteredBody.poy()) + '-byte body)');
|
|
2173
2165
|
} else {
|
|
2174
2166
|
noWhenBranchMatchedException();
|
|
2175
2167
|
}
|
|
@@ -2193,14 +2185,14 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2193
2185
|
};
|
|
2194
2186
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2195
2187
|
CoroutineImpl.call(this, resultContinuation);
|
|
2196
|
-
this.
|
|
2197
|
-
this.
|
|
2198
|
-
this.
|
|
2199
|
-
this.
|
|
2200
|
-
this.
|
|
2201
|
-
this.
|
|
2202
|
-
this.
|
|
2203
|
-
this.
|
|
2188
|
+
this.op4_1 = $this_createClientPlugin;
|
|
2189
|
+
this.pp4_1 = bodyFilter;
|
|
2190
|
+
this.qp4_1 = url;
|
|
2191
|
+
this.rp4_1 = content;
|
|
2192
|
+
this.sp4_1 = method;
|
|
2193
|
+
this.tp4_1 = headers;
|
|
2194
|
+
this.up4_1 = logLines;
|
|
2195
|
+
this.vp4_1 = process;
|
|
2204
2196
|
}
|
|
2205
2197
|
protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
2206
2198
|
var suspendResult = this.n9_1;
|
|
@@ -2210,10 +2202,10 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2210
2202
|
switch (tmp) {
|
|
2211
2203
|
case 0:
|
|
2212
2204
|
this.m9_1 = 7;
|
|
2213
|
-
var tmp0_subject = this.
|
|
2205
|
+
var tmp0_subject = this.rp4_1;
|
|
2214
2206
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2215
2207
|
this.l9_1 = 5;
|
|
2216
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2208
|
+
suspendResult = invoke$logOutgoingContent(this.op4_1, this.pp4_1, this.qp4_1, this.rp4_1.s4w_1, this.sp4_1, this.tp4_1, this.up4_1, this.vp4_1, this);
|
|
2217
2209
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2218
2210
|
return suspendResult;
|
|
2219
2211
|
}
|
|
@@ -2221,41 +2213,41 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2221
2213
|
} else {
|
|
2222
2214
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2223
2215
|
var tmp_0 = this;
|
|
2224
|
-
var _iterator__ex2g4s = this.
|
|
2216
|
+
var _iterator__ex2g4s = this.rp4_1.s6a_1.t();
|
|
2225
2217
|
while (_iterator__ex2g4s.u()) {
|
|
2226
2218
|
var part = _iterator__ex2g4s.v();
|
|
2227
|
-
this.
|
|
2228
|
-
var _iterator__ex2g4s_0 = part.
|
|
2219
|
+
this.up4_1.e1('--' + this.rp4_1.t6a_1);
|
|
2220
|
+
var _iterator__ex2g4s_0 = part.j6b_1.g3o().t();
|
|
2229
2221
|
while (_iterator__ex2g4s_0.u()) {
|
|
2230
2222
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2231
2223
|
var key = _destruct__k2r9zo.m1();
|
|
2232
2224
|
var values = _destruct__k2r9zo.n1();
|
|
2233
|
-
this.
|
|
2225
|
+
this.up4_1.e1(key + ': ' + joinToString(values, '; '));
|
|
2234
2226
|
}
|
|
2235
2227
|
if (part instanceof FormItem) {
|
|
2236
|
-
this.
|
|
2237
|
-
this.
|
|
2238
|
-
this.
|
|
2228
|
+
this.up4_1.e1('Content-Length: ' + part.n6b_1.length);
|
|
2229
|
+
this.up4_1.e1('');
|
|
2230
|
+
this.up4_1.e1(part.n6b_1);
|
|
2239
2231
|
} else {
|
|
2240
|
-
this.
|
|
2241
|
-
var contentLength = part.
|
|
2232
|
+
this.up4_1.e1('');
|
|
2233
|
+
var contentLength = part.j6b_1.de('Content-Length');
|
|
2242
2234
|
if (!(contentLength == null)) {
|
|
2243
|
-
this.
|
|
2235
|
+
this.up4_1.e1('binary ' + contentLength + '-byte body omitted');
|
|
2244
2236
|
} else {
|
|
2245
|
-
this.
|
|
2237
|
+
this.up4_1.e1('binary body omitted');
|
|
2246
2238
|
}
|
|
2247
2239
|
}
|
|
2248
2240
|
}
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2251
|
-
tmp_0.
|
|
2241
|
+
this.up4_1.e1('--' + this.rp4_1.t6a_1 + '--');
|
|
2242
|
+
this.up4_1.e1('--> END ' + this.sp4_1.i42_1);
|
|
2243
|
+
tmp_0.wp4_1 = null;
|
|
2252
2244
|
this.l9_1 = 6;
|
|
2253
2245
|
continue $sm;
|
|
2254
2246
|
} else {
|
|
2255
2247
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2256
|
-
var bytes = this.
|
|
2248
|
+
var bytes = this.rp4_1.z47();
|
|
2257
2249
|
this.l9_1 = 4;
|
|
2258
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2250
|
+
suspendResult = invoke$logRequestBody(this.pp4_1, this.qp4_1, this.rp4_1, fromInt(bytes.length), this.tp4_1, this.sp4_1, this.up4_1, ByteReadChannel(bytes), this);
|
|
2259
2251
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2260
2252
|
return suspendResult;
|
|
2261
2253
|
}
|
|
@@ -2263,7 +2255,7 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2263
2255
|
} else {
|
|
2264
2256
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2265
2257
|
this.l9_1 = 3;
|
|
2266
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2258
|
+
suspendResult = invoke$logOutgoingContent(this.op4_1, this.pp4_1, this.qp4_1, this.rp4_1.i48(), this.sp4_1, this.tp4_1, this.up4_1, this.vp4_1, this);
|
|
2267
2259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2268
2260
|
return suspendResult;
|
|
2269
2261
|
}
|
|
@@ -2271,24 +2263,24 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2271
2263
|
} else {
|
|
2272
2264
|
if (tmp0_subject instanceof NoContent) {
|
|
2273
2265
|
var tmp_1 = this;
|
|
2274
|
-
this.
|
|
2275
|
-
tmp_1.
|
|
2266
|
+
this.up4_1.e1('--> END ' + this.sp4_1.i42_1);
|
|
2267
|
+
tmp_1.wp4_1 = null;
|
|
2276
2268
|
this.l9_1 = 6;
|
|
2277
2269
|
continue $sm;
|
|
2278
2270
|
} else {
|
|
2279
2271
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2280
2272
|
var tmp_2 = this;
|
|
2281
|
-
this.
|
|
2282
|
-
tmp_2.
|
|
2273
|
+
this.up4_1.e1('--> END ' + this.sp4_1.i42_1);
|
|
2274
|
+
tmp_2.wp4_1 = null;
|
|
2283
2275
|
this.l9_1 = 6;
|
|
2284
2276
|
continue $sm;
|
|
2285
2277
|
} else {
|
|
2286
2278
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2287
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2288
|
-
this.
|
|
2289
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2279
|
+
var _destruct__k2r9zo_0 = split(this.rp4_1.c48(), this.op4_1.v50_1);
|
|
2280
|
+
this.xp4_1 = _destruct__k2r9zo_0.bh();
|
|
2281
|
+
var newChannel = _destruct__k2r9zo_0.ch();
|
|
2290
2282
|
this.l9_1 = 2;
|
|
2291
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2283
|
+
suspendResult = invoke$logRequestBody(this.pp4_1, this.qp4_1, this.rp4_1, this.rp4_1.y47(), this.tp4_1, this.sp4_1, this.up4_1, newChannel, this);
|
|
2292
2284
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2293
2285
|
return suspendResult;
|
|
2294
2286
|
}
|
|
@@ -2296,12 +2288,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2296
2288
|
} else {
|
|
2297
2289
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2298
2290
|
var channel = new ByteChannel();
|
|
2299
|
-
launch(this.
|
|
2300
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2301
|
-
this.
|
|
2302
|
-
var newChannel_0 = _destruct__k2r9zo_1.
|
|
2291
|
+
launch(this.op4_1.v50_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.rp4_1, channel, null));
|
|
2292
|
+
var _destruct__k2r9zo_1 = split(channel, this.op4_1.v50_1);
|
|
2293
|
+
this.yp4_1 = _destruct__k2r9zo_1.bh();
|
|
2294
|
+
var newChannel_0 = _destruct__k2r9zo_1.ch();
|
|
2303
2295
|
this.l9_1 = 1;
|
|
2304
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2296
|
+
suspendResult = invoke$logRequestBody(this.pp4_1, this.qp4_1, this.rp4_1, this.rp4_1.y47(), this.tp4_1, this.sp4_1, this.up4_1, newChannel_0, this);
|
|
2305
2297
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2306
2298
|
return suspendResult;
|
|
2307
2299
|
}
|
|
@@ -2320,27 +2312,27 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2320
2312
|
|
|
2321
2313
|
break;
|
|
2322
2314
|
case 1:
|
|
2323
|
-
this.
|
|
2315
|
+
this.wp4_1 = new LoggedContent(this.rp4_1, this.yp4_1);
|
|
2324
2316
|
this.l9_1 = 6;
|
|
2325
2317
|
continue $sm;
|
|
2326
2318
|
case 2:
|
|
2327
|
-
this.
|
|
2319
|
+
this.wp4_1 = new LoggedContent(this.rp4_1, this.xp4_1);
|
|
2328
2320
|
this.l9_1 = 6;
|
|
2329
2321
|
continue $sm;
|
|
2330
2322
|
case 3:
|
|
2331
|
-
this.
|
|
2323
|
+
this.wp4_1 = suspendResult;
|
|
2332
2324
|
this.l9_1 = 6;
|
|
2333
2325
|
continue $sm;
|
|
2334
2326
|
case 4:
|
|
2335
|
-
this.
|
|
2327
|
+
this.wp4_1 = null;
|
|
2336
2328
|
this.l9_1 = 6;
|
|
2337
2329
|
continue $sm;
|
|
2338
2330
|
case 5:
|
|
2339
|
-
this.
|
|
2331
|
+
this.wp4_1 = suspendResult;
|
|
2340
2332
|
this.l9_1 = 6;
|
|
2341
2333
|
continue $sm;
|
|
2342
2334
|
case 6:
|
|
2343
|
-
return this.
|
|
2335
|
+
return this.wp4_1;
|
|
2344
2336
|
case 7:
|
|
2345
2337
|
throw this.o9_1;
|
|
2346
2338
|
}
|
|
@@ -2357,12 +2349,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2357
2349
|
};
|
|
2358
2350
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2359
2351
|
CoroutineImpl.call(this, resultContinuation);
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2363
|
-
this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2352
|
+
this.hp5_1 = sanitizedHeaders;
|
|
2353
|
+
this.ip5_1 = level;
|
|
2354
|
+
this.jp5_1 = $this_createClientPlugin;
|
|
2355
|
+
this.kp5_1 = bodyFilter;
|
|
2356
|
+
this.lp5_1 = request;
|
|
2357
|
+
this.mp5_1 = logLines;
|
|
2366
2358
|
}
|
|
2367
2359
|
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
2368
2360
|
var suspendResult = this.n9_1;
|
|
@@ -2372,22 +2364,22 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2372
2364
|
switch (tmp) {
|
|
2373
2365
|
case 0:
|
|
2374
2366
|
this.m9_1 = 4;
|
|
2375
|
-
if (invoke$isNone(this.
|
|
2367
|
+
if (invoke$isNone(this.ip5_1))
|
|
2376
2368
|
return null;
|
|
2377
|
-
var uri =
|
|
2378
|
-
var body = this.
|
|
2369
|
+
var uri = takeFrom(new URLBuilder(), this.lp5_1.h4s_1).d1s().toString();
|
|
2370
|
+
var body = this.lp5_1.k4s_1;
|
|
2379
2371
|
var this_0 = new HeadersBuilder();
|
|
2380
2372
|
var tmp_0;
|
|
2381
2373
|
var tmp_1;
|
|
2382
2374
|
var tmp_2;
|
|
2383
2375
|
if (body instanceof OutgoingContent) {
|
|
2384
|
-
tmp_2 = !this.
|
|
2376
|
+
tmp_2 = !this.lp5_1.i4s_1.equals(Companion_getInstance().y41_1);
|
|
2385
2377
|
} else {
|
|
2386
2378
|
tmp_2 = false;
|
|
2387
2379
|
}
|
|
2388
2380
|
|
|
2389
2381
|
if (tmp_2) {
|
|
2390
|
-
tmp_1 = !this.
|
|
2382
|
+
tmp_1 = !this.lp5_1.i4s_1.equals(Companion_getInstance().d42_1);
|
|
2391
2383
|
} else {
|
|
2392
2384
|
tmp_1 = false;
|
|
2393
2385
|
}
|
|
@@ -2399,13 +2391,13 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2399
2391
|
}
|
|
2400
2392
|
|
|
2401
2393
|
if (tmp_0) {
|
|
2402
|
-
var tmp0_safe_receiver = body.
|
|
2394
|
+
var tmp0_safe_receiver = body.w47();
|
|
2403
2395
|
if (tmp0_safe_receiver == null)
|
|
2404
2396
|
null;
|
|
2405
2397
|
else {
|
|
2406
2398
|
appendIfNameAbsent(this_0, 'Content-Type', tmp0_safe_receiver.toString());
|
|
2407
2399
|
}
|
|
2408
|
-
var tmp1_safe_receiver = body.
|
|
2400
|
+
var tmp1_safe_receiver = body.y47();
|
|
2409
2401
|
if (tmp1_safe_receiver == null)
|
|
2410
2402
|
null;
|
|
2411
2403
|
else {
|
|
@@ -2413,16 +2405,16 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2413
2405
|
}
|
|
2414
2406
|
}
|
|
2415
2407
|
|
|
2416
|
-
appendAll(this_0, this.
|
|
2417
|
-
var headers = this_0.
|
|
2408
|
+
appendAll(this_0, this.lp5_1.j4s_1);
|
|
2409
|
+
var headers = this_0.d1s();
|
|
2418
2410
|
var tmp0_safe_receiver_0 = headers.de('Content-Length');
|
|
2419
2411
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2420
2412
|
var tmp_3;
|
|
2421
|
-
if (this.
|
|
2422
|
-
tmp_3 = '--> ' + this.
|
|
2413
|
+
if (this.lp5_1.i4s_1.equals(Companion_getInstance().y41_1) || this.lp5_1.i4s_1.equals(Companion_getInstance().d42_1) || ((invoke$isHeaders(this.ip5_1) || invoke$isBody(this.ip5_1)) && !(contentLength == null)) || (invoke$isHeaders(this.ip5_1) && contentLength == null) || headers.d3n('Content-Encoding')) {
|
|
2414
|
+
tmp_3 = '--> ' + this.lp5_1.i4s_1.i42_1 + ' ' + uri;
|
|
2423
2415
|
} else {
|
|
2424
|
-
if (invoke$isInfo(this.
|
|
2425
|
-
tmp_3 = '--> ' + this.
|
|
2416
|
+
if (invoke$isInfo(this.ip5_1) && !(contentLength == null)) {
|
|
2417
|
+
tmp_3 = '--> ' + this.lp5_1.i4s_1.i42_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2426
2418
|
} else {
|
|
2427
2419
|
var tmp_4;
|
|
2428
2420
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2431,32 +2423,32 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2431
2423
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2432
2424
|
}
|
|
2433
2425
|
if (tmp_4) {
|
|
2434
|
-
tmp_3 = '--> ' + this.
|
|
2426
|
+
tmp_3 = '--> ' + this.lp5_1.i4s_1.i42_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2435
2427
|
} else {
|
|
2436
|
-
var size = computeRequestBodySize(this.
|
|
2437
|
-
tmp_3 = '--> ' + this.
|
|
2428
|
+
var size = computeRequestBodySize(this.lp5_1.k4s_1);
|
|
2429
|
+
tmp_3 = '--> ' + this.lp5_1.i4s_1.i42_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2438
2430
|
}
|
|
2439
2431
|
}
|
|
2440
2432
|
}
|
|
2441
2433
|
|
|
2442
2434
|
var startLine = tmp_3;
|
|
2443
|
-
this.
|
|
2444
|
-
if (!invoke$isHeaders(this.
|
|
2435
|
+
this.mp5_1.e1(startLine);
|
|
2436
|
+
if (!invoke$isHeaders(this.ip5_1) && !invoke$isBody(this.ip5_1)) {
|
|
2445
2437
|
return null;
|
|
2446
2438
|
}
|
|
2447
2439
|
|
|
2448
|
-
var _iterator__ex2g4s = headers.
|
|
2440
|
+
var _iterator__ex2g4s = headers.g3o().t();
|
|
2449
2441
|
while (_iterator__ex2g4s.u()) {
|
|
2450
2442
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2451
2443
|
var name = _destruct__k2r9zo.m1();
|
|
2452
2444
|
var values = _destruct__k2r9zo.n1();
|
|
2453
|
-
var tmp0 = this.
|
|
2445
|
+
var tmp0 = this.hp5_1;
|
|
2454
2446
|
var tmp$ret$0 = Unit_instance;
|
|
2455
2447
|
l$ret$1: do {
|
|
2456
2448
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2457
2449
|
while (_iterator__ex2g4s_0.u()) {
|
|
2458
2450
|
var element = _iterator__ex2g4s_0.v();
|
|
2459
|
-
if (element.
|
|
2451
|
+
if (element.kp0_1(name)) {
|
|
2460
2452
|
tmp$ret$0 = element;
|
|
2461
2453
|
break l$ret$1;
|
|
2462
2454
|
}
|
|
@@ -2465,35 +2457,35 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2465
2457
|
}
|
|
2466
2458
|
while (false);
|
|
2467
2459
|
if (tmp$ret$0 == null) {
|
|
2468
|
-
this.
|
|
2460
|
+
this.mp5_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2469
2461
|
} else {
|
|
2470
|
-
this.
|
|
2462
|
+
this.mp5_1.e1(name + ': \u2588\u2588');
|
|
2471
2463
|
}
|
|
2472
2464
|
}
|
|
2473
2465
|
|
|
2474
|
-
if (!invoke$isBody(this.
|
|
2475
|
-
this.
|
|
2466
|
+
if (!invoke$isBody(this.ip5_1) || this.lp5_1.i4s_1.equals(Companion_getInstance().y41_1) || this.lp5_1.i4s_1.equals(Companion_getInstance().d42_1)) {
|
|
2467
|
+
this.mp5_1.e1('--> END ' + this.lp5_1.i4s_1.i42_1);
|
|
2476
2468
|
return null;
|
|
2477
2469
|
}
|
|
2478
2470
|
|
|
2479
|
-
this.
|
|
2471
|
+
this.mp5_1.e1('');
|
|
2480
2472
|
if (!(body instanceof OutgoingContent)) {
|
|
2481
|
-
this.
|
|
2473
|
+
this.mp5_1.e1('--> END ' + this.lp5_1.i4s_1.i42_1);
|
|
2482
2474
|
return null;
|
|
2483
2475
|
}
|
|
2484
2476
|
|
|
2485
|
-
if (this.
|
|
2477
|
+
if (this.lp5_1.j4s_1.de('Content-Encoding') === 'gzip') {
|
|
2486
2478
|
this.l9_1 = 2;
|
|
2487
|
-
var tmp_5 = this.
|
|
2488
|
-
var tmp_6 = this.
|
|
2489
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2479
|
+
var tmp_5 = this.lp5_1.h4s_1.d1s();
|
|
2480
|
+
var tmp_6 = this.lp5_1.i4s_1;
|
|
2481
|
+
suspendResult = invoke$logOutgoingContent(this.jp5_1, this.kp5_1, tmp_5, body, tmp_6, headers, this.mp5_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2490
2482
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2491
2483
|
return suspendResult;
|
|
2492
2484
|
}
|
|
2493
2485
|
continue $sm;
|
|
2494
2486
|
} else {
|
|
2495
2487
|
this.l9_1 = 1;
|
|
2496
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2488
|
+
suspendResult = invoke$logOutgoingContent(this.jp5_1, this.kp5_1, this.lp5_1.h4s_1.d1s(), body, this.lp5_1.i4s_1, headers, this.mp5_1, VOID, this);
|
|
2497
2489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2498
2490
|
return suspendResult;
|
|
2499
2491
|
}
|
|
@@ -2501,15 +2493,15 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2501
2493
|
}
|
|
2502
2494
|
|
|
2503
2495
|
case 1:
|
|
2504
|
-
this.
|
|
2496
|
+
this.np5_1 = suspendResult;
|
|
2505
2497
|
this.l9_1 = 3;
|
|
2506
2498
|
continue $sm;
|
|
2507
2499
|
case 2:
|
|
2508
|
-
this.
|
|
2500
|
+
this.np5_1 = suspendResult;
|
|
2509
2501
|
this.l9_1 = 3;
|
|
2510
2502
|
continue $sm;
|
|
2511
2503
|
case 3:
|
|
2512
|
-
var newContent = this.
|
|
2504
|
+
var newContent = this.np5_1;
|
|
2513
2505
|
return newContent;
|
|
2514
2506
|
case 4:
|
|
2515
2507
|
throw this.o9_1;
|
|
@@ -2527,10 +2519,10 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2527
2519
|
};
|
|
2528
2520
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2529
2521
|
CoroutineImpl.call(this, resultContinuation);
|
|
2530
|
-
this.
|
|
2531
|
-
this.
|
|
2532
|
-
this.
|
|
2533
|
-
this.
|
|
2522
|
+
this.wp5_1 = bodyFilter;
|
|
2523
|
+
this.xp5_1 = response;
|
|
2524
|
+
this.yp5_1 = body;
|
|
2525
|
+
this.zp5_1 = logLines;
|
|
2534
2526
|
}
|
|
2535
2527
|
protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
2536
2528
|
var suspendResult = this.n9_1;
|
|
@@ -2540,9 +2532,9 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2540
2532
|
switch (tmp) {
|
|
2541
2533
|
case 0:
|
|
2542
2534
|
this.m9_1 = 2;
|
|
2543
|
-
this.
|
|
2535
|
+
this.zp5_1.e1('');
|
|
2544
2536
|
this.l9_1 = 1;
|
|
2545
|
-
suspendResult = this.
|
|
2537
|
+
suspendResult = this.wp5_1.ooy(this.xp5_1.y4t().q4t().a4u(), contentLength(this.xp5_1), contentType(this.xp5_1), this.xp5_1.x41(), this.yp5_1, this);
|
|
2546
2538
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2547
2539
|
return suspendResult;
|
|
2548
2540
|
}
|
|
@@ -2550,33 +2542,33 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2550
2542
|
continue $sm;
|
|
2551
2543
|
case 1:
|
|
2552
2544
|
var filteredBody = suspendResult;
|
|
2553
|
-
var duration = subtract(this.
|
|
2545
|
+
var duration = subtract(this.xp5_1.j4u().e3q_1, this.xp5_1.i4u().e3q_1);
|
|
2554
2546
|
if (filteredBody instanceof Empty) {
|
|
2555
|
-
this.
|
|
2547
|
+
this.zp5_1.e1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2556
2548
|
} else {
|
|
2557
2549
|
if (filteredBody instanceof Skip) {
|
|
2558
2550
|
var this_0 = StringBuilder_init_$Create$();
|
|
2559
2551
|
this_0.q('<-- END HTTP (');
|
|
2560
2552
|
this_0.cd(duration);
|
|
2561
2553
|
this_0.q('ms, ');
|
|
2562
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2554
|
+
var tmp0_safe_receiver = filteredBody.qoy_1;
|
|
2563
2555
|
if (tmp0_safe_receiver == null)
|
|
2564
2556
|
null;
|
|
2565
2557
|
else {
|
|
2566
2558
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2567
2559
|
}
|
|
2568
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2560
|
+
var tmp1_safe_receiver = filteredBody.roy_1;
|
|
2569
2561
|
if (tmp1_safe_receiver == null)
|
|
2570
2562
|
null;
|
|
2571
2563
|
else {
|
|
2572
2564
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2573
2565
|
}
|
|
2574
2566
|
this_0.q('body omitted)');
|
|
2575
|
-
this.
|
|
2567
|
+
this.zp5_1.e1(this_0.toString());
|
|
2576
2568
|
} else {
|
|
2577
2569
|
if (isInterface(filteredBody, Content)) {
|
|
2578
|
-
this.
|
|
2579
|
-
this.
|
|
2570
|
+
this.zp5_1.e1(filteredBody.o1k());
|
|
2571
|
+
this.zp5_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.poy()) + '-byte body)');
|
|
2580
2572
|
} else {
|
|
2581
2573
|
noWhenBranchMatchedException();
|
|
2582
2574
|
}
|
|
@@ -2600,11 +2592,11 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2600
2592
|
};
|
|
2601
2593
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2602
2594
|
CoroutineImpl.call(this, resultContinuation);
|
|
2603
|
-
this.
|
|
2604
|
-
this.
|
|
2605
|
-
this.
|
|
2606
|
-
this.
|
|
2607
|
-
this.
|
|
2595
|
+
this.ip6_1 = sanitizedHeaders;
|
|
2596
|
+
this.jp6_1 = level;
|
|
2597
|
+
this.kp6_1 = bodyFilter;
|
|
2598
|
+
this.lp6_1 = response;
|
|
2599
|
+
this.mp6_1 = logLines;
|
|
2608
2600
|
}
|
|
2609
2601
|
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
2610
2602
|
var suspendResult = this.n9_1;
|
|
@@ -2614,30 +2606,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2614
2606
|
switch (tmp) {
|
|
2615
2607
|
case 0:
|
|
2616
2608
|
this.m9_1 = 4;
|
|
2617
|
-
if (invoke$isNone(this.
|
|
2618
|
-
return this.
|
|
2619
|
-
var tmp0_safe_receiver = this.
|
|
2609
|
+
if (invoke$isNone(this.jp6_1))
|
|
2610
|
+
return this.lp6_1;
|
|
2611
|
+
var tmp0_safe_receiver = this.lp6_1.x41().de('Content-Length');
|
|
2620
2612
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2621
|
-
var request = get_request(this.
|
|
2622
|
-
var duration = subtract(this.
|
|
2623
|
-
var startLine = this.
|
|
2624
|
-
this.
|
|
2625
|
-
if (!invoke$isHeaders(this.
|
|
2626
|
-
return this.
|
|
2613
|
+
var request = get_request(this.lp6_1);
|
|
2614
|
+
var duration = subtract(this.lp6_1.j4u().e3q_1, this.lp6_1.i4u().e3q_1);
|
|
2615
|
+
var startLine = this.lp6_1.x41().de('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.jp6_1) || invoke$isHeaders(this.jp6_1)) ? '<-- ' + this.lp6_1.x47().toString() + ' ' + request.a4u().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.jp6_1) && !(contentLength == null) ? '<-- ' + this.lp6_1.x47().toString() + ' ' + request.a4u().toString() + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.jp6_1) || (invoke$isInfo(this.jp6_1) && contentLength == null) || (invoke$isHeaders(this.jp6_1) && !(contentLength == null)) || this.lp6_1.x41().de('Content-Encoding') === 'gzip' ? '<-- ' + this.lp6_1.x47().toString() + ' ' + request.a4u().toString() + ' (' + duration.toString() + 'ms)' : '<-- ' + this.lp6_1.x47().toString() + ' ' + request.a4u().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2616
|
+
this.mp6_1.e1(startLine);
|
|
2617
|
+
if (!invoke$isHeaders(this.jp6_1) && !invoke$isBody(this.jp6_1)) {
|
|
2618
|
+
return this.lp6_1;
|
|
2627
2619
|
}
|
|
2628
2620
|
|
|
2629
|
-
var _iterator__ex2g4s = this.
|
|
2621
|
+
var _iterator__ex2g4s = this.lp6_1.x41().g3o().t();
|
|
2630
2622
|
while (_iterator__ex2g4s.u()) {
|
|
2631
2623
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2632
2624
|
var name = _destruct__k2r9zo.m1();
|
|
2633
2625
|
var values = _destruct__k2r9zo.n1();
|
|
2634
|
-
var tmp0 = this.
|
|
2626
|
+
var tmp0 = this.ip6_1;
|
|
2635
2627
|
var tmp$ret$0 = Unit_instance;
|
|
2636
2628
|
l$ret$1: do {
|
|
2637
2629
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2638
2630
|
while (_iterator__ex2g4s_0.u()) {
|
|
2639
2631
|
var element = _iterator__ex2g4s_0.v();
|
|
2640
|
-
if (element.
|
|
2632
|
+
if (element.kp0_1(name)) {
|
|
2641
2633
|
tmp$ret$0 = element;
|
|
2642
2634
|
break l$ret$1;
|
|
2643
2635
|
}
|
|
@@ -2646,30 +2638,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2646
2638
|
}
|
|
2647
2639
|
while (false);
|
|
2648
2640
|
if (tmp$ret$0 == null) {
|
|
2649
|
-
this.
|
|
2641
|
+
this.mp6_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2650
2642
|
} else {
|
|
2651
|
-
this.
|
|
2643
|
+
this.mp6_1.e1(name + ': \u2588\u2588');
|
|
2652
2644
|
}
|
|
2653
2645
|
}
|
|
2654
2646
|
|
|
2655
|
-
if (!invoke$isBody(this.
|
|
2656
|
-
this.
|
|
2657
|
-
return this.
|
|
2647
|
+
if (!invoke$isBody(this.jp6_1)) {
|
|
2648
|
+
this.mp6_1.e1('<-- END HTTP');
|
|
2649
|
+
return this.lp6_1;
|
|
2658
2650
|
}
|
|
2659
2651
|
|
|
2660
2652
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2661
|
-
this.
|
|
2662
|
-
return this.
|
|
2653
|
+
this.mp6_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2654
|
+
return this.lp6_1;
|
|
2663
2655
|
}
|
|
2664
2656
|
|
|
2665
|
-
if (equals(contentType(this.
|
|
2666
|
-
this.
|
|
2667
|
-
return this.
|
|
2657
|
+
if (equals(contentType(this.lp6_1), Text_getInstance().g3w_1)) {
|
|
2658
|
+
this.mp6_1.e1('<-- END HTTP (streaming)');
|
|
2659
|
+
return this.lp6_1;
|
|
2668
2660
|
}
|
|
2669
2661
|
|
|
2670
|
-
if (get_isSaved(this.
|
|
2662
|
+
if (get_isSaved(this.lp6_1)) {
|
|
2671
2663
|
this.l9_1 = 3;
|
|
2672
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2664
|
+
suspendResult = invoke$logResponseBody(this.kp6_1, this.lp6_1, this.lp6_1.g4u(), this.mp6_1, this);
|
|
2673
2665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2674
2666
|
return suspendResult;
|
|
2675
2667
|
}
|
|
@@ -2680,22 +2672,22 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2680
2672
|
}
|
|
2681
2673
|
|
|
2682
2674
|
case 1:
|
|
2683
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2684
|
-
this.
|
|
2685
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2675
|
+
var _destruct__k2r9zo_0 = split(this.lp6_1.g4u(), this.lp6_1);
|
|
2676
|
+
this.np6_1 = _destruct__k2r9zo_0.bh();
|
|
2677
|
+
var newChannel = _destruct__k2r9zo_0.ch();
|
|
2686
2678
|
this.l9_1 = 2;
|
|
2687
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2679
|
+
suspendResult = invoke$logResponseBody(this.kp6_1, this.lp6_1, newChannel, this.mp6_1, this);
|
|
2688
2680
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2689
2681
|
return suspendResult;
|
|
2690
2682
|
}
|
|
2691
2683
|
|
|
2692
2684
|
continue $sm;
|
|
2693
2685
|
case 2:
|
|
2694
|
-
var tmp_0 = this.
|
|
2695
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2696
|
-
return call.
|
|
2686
|
+
var tmp_0 = this.lp6_1.y4t();
|
|
2687
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.np6_1));
|
|
2688
|
+
return call.h4r();
|
|
2697
2689
|
case 3:
|
|
2698
|
-
return this.
|
|
2690
|
+
return this.lp6_1;
|
|
2699
2691
|
case 4:
|
|
2700
2692
|
throw this.o9_1;
|
|
2701
2693
|
}
|
|
@@ -2740,8 +2732,8 @@ function _init_properties_Logging_kt__66pui5() {
|
|
|
2740
2732
|
}
|
|
2741
2733
|
tmp_0 = tmp_1;
|
|
2742
2734
|
}
|
|
2743
|
-
var tmp$ret$
|
|
2744
|
-
var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$
|
|
2735
|
+
var tmp$ret$2 = tmp_0;
|
|
2736
|
+
var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$2);
|
|
2745
2737
|
ClientCallLogger = new AttributeKey(name, tmp$ret$1);
|
|
2746
2738
|
// Inline function 'io.ktor.util.AttributeKey' call
|
|
2747
2739
|
var name_0 = 'DisableLogging';
|
|
@@ -2761,8 +2753,8 @@ function _init_properties_Logging_kt__66pui5() {
|
|
|
2761
2753
|
}
|
|
2762
2754
|
tmp_3 = tmp_4;
|
|
2763
2755
|
}
|
|
2764
|
-
var tmp$ret$
|
|
2765
|
-
var tmp$ret$1_0 = new TypeInfo(tmp_2, tmp$ret$
|
|
2756
|
+
var tmp$ret$2_0 = tmp_3;
|
|
2757
|
+
var tmp$ret$1_0 = new TypeInfo(tmp_2, tmp$ret$2_0);
|
|
2766
2758
|
DisableLogging = new AttributeKey(name_0, tmp$ret$1_0);
|
|
2767
2759
|
var tmp_5 = LoggingConfig$_init_$ref_f1nb0k();
|
|
2768
2760
|
Logging = createClientPlugin('Logging', tmp_5, Logging$lambda);
|
|
@@ -2773,8 +2765,8 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2773
2765
|
var this_0 = toList(headers);
|
|
2774
2766
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
2775
2767
|
var tmp = logHeaders$lambda;
|
|
2776
|
-
var tmp$ret$
|
|
2777
|
-
var sortedHeaders = sortedWith(this_0, tmp$ret$
|
|
2768
|
+
var tmp$ret$1 = new sam$kotlin_Comparator$0(tmp);
|
|
2769
|
+
var sortedHeaders = sortedWith(this_0, tmp$ret$1);
|
|
2778
2770
|
// Inline function 'kotlin.collections.forEach' call
|
|
2779
2771
|
var _iterator__ex2g4s = sortedHeaders.t();
|
|
2780
2772
|
while (_iterator__ex2g4s.u()) {
|
|
@@ -2783,21 +2775,21 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2783
2775
|
var key = element.m1();
|
|
2784
2776
|
// Inline function 'kotlin.collections.component2' call
|
|
2785
2777
|
var values = element.n1();
|
|
2786
|
-
var tmp$ret$
|
|
2778
|
+
var tmp$ret$6;
|
|
2787
2779
|
$l$block: {
|
|
2788
2780
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
2789
2781
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2790
2782
|
while (_iterator__ex2g4s_0.u()) {
|
|
2791
2783
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2792
|
-
if (element_0.
|
|
2793
|
-
tmp$ret$
|
|
2784
|
+
if (element_0.kp0_1(key)) {
|
|
2785
|
+
tmp$ret$6 = element_0;
|
|
2794
2786
|
break $l$block;
|
|
2795
2787
|
}
|
|
2796
2788
|
}
|
|
2797
|
-
tmp$ret$
|
|
2789
|
+
tmp$ret$6 = null;
|
|
2798
2790
|
}
|
|
2799
|
-
var tmp0_safe_receiver = tmp$ret$
|
|
2800
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2791
|
+
var tmp0_safe_receiver = tmp$ret$6;
|
|
2792
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.jp0_1;
|
|
2801
2793
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2802
2794
|
}
|
|
2803
2795
|
}
|
|
@@ -2809,26 +2801,26 @@ function logHeader(_this__u8e3s4, key, value) {
|
|
|
2809
2801
|
}
|
|
2810
2802
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2811
2803
|
// Inline function 'kotlin.with' call
|
|
2812
|
-
if (level.
|
|
2804
|
+
if (level.qoz_1) {
|
|
2813
2805
|
// Inline function 'kotlin.text.appendLine' call
|
|
2814
|
-
var value = 'RESPONSE: ' + response.
|
|
2806
|
+
var value = 'RESPONSE: ' + response.x47().toString();
|
|
2815
2807
|
// Inline function 'kotlin.text.appendLine' call
|
|
2816
2808
|
log.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2817
2809
|
// Inline function 'kotlin.text.appendLine' call
|
|
2818
|
-
var value_0 = 'METHOD: ' + response.
|
|
2810
|
+
var value_0 = 'METHOD: ' + response.y4t().q4t().z4t().toString();
|
|
2819
2811
|
// Inline function 'kotlin.text.appendLine' call
|
|
2820
2812
|
log.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2821
2813
|
// Inline function 'kotlin.text.appendLine' call
|
|
2822
|
-
var value_1 = 'FROM: ' + response.
|
|
2814
|
+
var value_1 = 'FROM: ' + response.y4t().q4t().a4u().toString();
|
|
2823
2815
|
// Inline function 'kotlin.text.appendLine' call
|
|
2824
2816
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2825
2817
|
}
|
|
2826
|
-
if (level.
|
|
2818
|
+
if (level.roz_1) {
|
|
2827
2819
|
// Inline function 'kotlin.text.appendLine' call
|
|
2828
2820
|
var value_2 = 'COMMON HEADERS';
|
|
2829
2821
|
// Inline function 'kotlin.text.appendLine' call
|
|
2830
2822
|
log.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
2831
|
-
logHeaders(log, response.
|
|
2823
|
+
logHeaders(log, response.x41().g3o(), sanitizedHeaders);
|
|
2832
2824
|
}
|
|
2833
2825
|
}
|
|
2834
2826
|
function logResponseBody(_this__u8e3s4, response, $completion) {
|
|
@@ -2844,16 +2836,16 @@ function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
|
2844
2836
|
return tmp.t9();
|
|
2845
2837
|
}
|
|
2846
2838
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2847
|
-
this.
|
|
2839
|
+
this.cpb_1 = function_0;
|
|
2848
2840
|
}
|
|
2849
2841
|
protoOf(sam$kotlin_Comparator$0).te = function (a, b) {
|
|
2850
|
-
return this.
|
|
2842
|
+
return this.cpb_1(a, b);
|
|
2851
2843
|
};
|
|
2852
2844
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2853
2845
|
return this.te(a, b);
|
|
2854
2846
|
};
|
|
2855
2847
|
protoOf(sam$kotlin_Comparator$0).t3 = function () {
|
|
2856
|
-
return this.
|
|
2848
|
+
return this.cpb_1;
|
|
2857
2849
|
};
|
|
2858
2850
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2859
2851
|
var tmp;
|
|
@@ -2876,13 +2868,13 @@ protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
|
2876
2868
|
function logHeaders$lambda(a, b) {
|
|
2877
2869
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2878
2870
|
var tmp = a.m1();
|
|
2879
|
-
var tmp$ret$
|
|
2880
|
-
return compareValues(tmp, tmp$ret$
|
|
2871
|
+
var tmp$ret$2 = b.m1();
|
|
2872
|
+
return compareValues(tmp, tmp$ret$2);
|
|
2881
2873
|
}
|
|
2882
2874
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2883
2875
|
CoroutineImpl.call(this, resultContinuation);
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2876
|
+
this.lpa_1 = _this__u8e3s4;
|
|
2877
|
+
this.mpa_1 = response;
|
|
2886
2878
|
}
|
|
2887
2879
|
protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
2888
2880
|
var suspendResult = this.n9_1;
|
|
@@ -2892,14 +2884,14 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2892
2884
|
switch (tmp) {
|
|
2893
2885
|
case 0:
|
|
2894
2886
|
this.m9_1 = 8;
|
|
2895
|
-
this.
|
|
2887
|
+
this.npa_1 = StringBuilder_init_$Create$();
|
|
2896
2888
|
this.l9_1 = 1;
|
|
2897
2889
|
continue $sm;
|
|
2898
2890
|
case 1:
|
|
2899
2891
|
this.m9_1 = 4;
|
|
2900
2892
|
this.m9_1 = 3;
|
|
2901
2893
|
this.l9_1 = 2;
|
|
2902
|
-
suspendResult = appendResponseBody(this.
|
|
2894
|
+
suspendResult = appendResponseBody(this.npa_1, contentType(this.mpa_1), this.mpa_1.g4u(), this);
|
|
2903
2895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2904
2896
|
return suspendResult;
|
|
2905
2897
|
}
|
|
@@ -2923,22 +2915,22 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2923
2915
|
|
|
2924
2916
|
case 4:
|
|
2925
2917
|
this.m9_1 = 8;
|
|
2926
|
-
this.
|
|
2918
|
+
this.opa_1 = this.o9_1;
|
|
2927
2919
|
this.l9_1 = 5;
|
|
2928
|
-
var this_0 = this.
|
|
2929
|
-
suspendResult = this.
|
|
2920
|
+
var this_0 = this.npa_1.toString();
|
|
2921
|
+
suspendResult = this.lpa_1.joy(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2930
2922
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2931
2923
|
return suspendResult;
|
|
2932
2924
|
}
|
|
2933
2925
|
|
|
2934
2926
|
continue $sm;
|
|
2935
2927
|
case 5:
|
|
2936
|
-
throw this.
|
|
2928
|
+
throw this.opa_1;
|
|
2937
2929
|
case 6:
|
|
2938
2930
|
this.m9_1 = 8;
|
|
2939
2931
|
this.l9_1 = 7;
|
|
2940
|
-
var this_1 = this.
|
|
2941
|
-
suspendResult = this.
|
|
2932
|
+
var this_1 = this.npa_1.toString();
|
|
2933
|
+
suspendResult = this.lpa_1.joy(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2942
2934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2943
2935
|
return suspendResult;
|
|
2944
2936
|
}
|
|
@@ -2962,9 +2954,9 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2962
2954
|
};
|
|
2963
2955
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2964
2956
|
CoroutineImpl.call(this, resultContinuation);
|
|
2965
|
-
this.
|
|
2966
|
-
this.
|
|
2967
|
-
this.
|
|
2957
|
+
this.xpa_1 = _this__u8e3s4;
|
|
2958
|
+
this.ypa_1 = contentType;
|
|
2959
|
+
this.zpa_1 = content;
|
|
2968
2960
|
}
|
|
2969
2961
|
protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
2970
2962
|
var suspendResult = this.n9_1;
|
|
@@ -2974,16 +2966,16 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2974
2966
|
switch (tmp) {
|
|
2975
2967
|
case 0:
|
|
2976
2968
|
this.m9_1 = 3;
|
|
2977
|
-
var tmp0 = this.
|
|
2978
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2969
|
+
var tmp0 = this.xpa_1;
|
|
2970
|
+
var value = 'BODY Content-Type: ' + toString_0(this.ypa_1);
|
|
2979
2971
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2980
|
-
var tmp0_0 = this.
|
|
2972
|
+
var tmp0_0 = this.xpa_1;
|
|
2981
2973
|
var value_0 = 'BODY START';
|
|
2982
2974
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2983
|
-
var tmp0_1 = this.
|
|
2984
|
-
var tmp0_safe_receiver = this.
|
|
2975
|
+
var tmp0_1 = this.zpa_1;
|
|
2976
|
+
var tmp0_safe_receiver = this.ypa_1;
|
|
2985
2977
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2986
|
-
this.
|
|
2978
|
+
this.bpb_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().p3i_1 : tmp1_elvis_lhs;
|
|
2987
2979
|
this.m9_1 = 2;
|
|
2988
2980
|
this.l9_1 = 1;
|
|
2989
2981
|
suspendResult = readRemaining(tmp0_1, this);
|
|
@@ -2994,7 +2986,7 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2994
2986
|
continue $sm;
|
|
2995
2987
|
case 1:
|
|
2996
2988
|
var ARGUMENT = suspendResult;
|
|
2997
|
-
this.
|
|
2989
|
+
this.apb_1 = readText(ARGUMENT, this.bpb_1);
|
|
2998
2990
|
this.m9_1 = 3;
|
|
2999
2991
|
this.l9_1 = 4;
|
|
3000
2992
|
continue $sm;
|
|
@@ -3004,7 +2996,7 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
3004
2996
|
if (tmp_0 instanceof Error) {
|
|
3005
2997
|
var cause = this.o9_1;
|
|
3006
2998
|
var tmp_1 = this;
|
|
3007
|
-
tmp_1.
|
|
2999
|
+
tmp_1.apb_1 = null;
|
|
3008
3000
|
this.l9_1 = 4;
|
|
3009
3001
|
continue $sm;
|
|
3010
3002
|
} else {
|
|
@@ -3015,10 +3007,10 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
3015
3007
|
throw this.o9_1;
|
|
3016
3008
|
case 4:
|
|
3017
3009
|
this.m9_1 = 3;
|
|
3018
|
-
var tmp2_elvis_lhs = this.
|
|
3010
|
+
var tmp2_elvis_lhs = this.apb_1;
|
|
3019
3011
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
3020
|
-
this.
|
|
3021
|
-
this.
|
|
3012
|
+
this.xpa_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
3013
|
+
this.xpa_1.q('BODY END');
|
|
3022
3014
|
return Unit_instance;
|
|
3023
3015
|
}
|
|
3024
3016
|
} catch ($p) {
|
|
@@ -3040,21 +3032,21 @@ function observe(_this__u8e3s4, log, $completion) {
|
|
|
3040
3032
|
}
|
|
3041
3033
|
function toReadChannel(_this__u8e3s4) {
|
|
3042
3034
|
var tmp = GlobalScope_instance;
|
|
3043
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
3044
|
-
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).
|
|
3035
|
+
var tmp_0 = Dispatchers_getInstance().s2j_1;
|
|
3036
|
+
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).j3g_1;
|
|
3045
3037
|
}
|
|
3046
3038
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3047
|
-
this.
|
|
3039
|
+
this.xpb_1 = $this_toReadChannel;
|
|
3048
3040
|
CoroutineImpl.call(this, resultContinuation);
|
|
3049
3041
|
}
|
|
3050
|
-
protoOf(toReadChannel$slambda).
|
|
3051
|
-
var tmp = this.
|
|
3042
|
+
protoOf(toReadChannel$slambda).t4d = function ($this$writer, $completion) {
|
|
3043
|
+
var tmp = this.u4d($this$writer, $completion);
|
|
3052
3044
|
tmp.n9_1 = Unit_instance;
|
|
3053
3045
|
tmp.o9_1 = null;
|
|
3054
3046
|
return tmp.t9();
|
|
3055
3047
|
};
|
|
3056
3048
|
protoOf(toReadChannel$slambda).fa = function (p1, $completion) {
|
|
3057
|
-
return this.
|
|
3049
|
+
return this.t4d(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
3058
3050
|
};
|
|
3059
3051
|
protoOf(toReadChannel$slambda).t9 = function () {
|
|
3060
3052
|
var suspendResult = this.n9_1;
|
|
@@ -3065,7 +3057,7 @@ protoOf(toReadChannel$slambda).t9 = function () {
|
|
|
3065
3057
|
case 0:
|
|
3066
3058
|
this.m9_1 = 2;
|
|
3067
3059
|
this.l9_1 = 1;
|
|
3068
|
-
suspendResult = this.
|
|
3060
|
+
suspendResult = this.xpb_1.e48(this.ypb_1.l3g_1, this);
|
|
3069
3061
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3070
3062
|
return suspendResult;
|
|
3071
3063
|
}
|
|
@@ -3087,23 +3079,23 @@ protoOf(toReadChannel$slambda).t9 = function () {
|
|
|
3087
3079
|
}
|
|
3088
3080
|
while (true);
|
|
3089
3081
|
};
|
|
3090
|
-
protoOf(toReadChannel$slambda).
|
|
3091
|
-
var i = new toReadChannel$slambda(this.
|
|
3092
|
-
i.
|
|
3082
|
+
protoOf(toReadChannel$slambda).u4d = function ($this$writer, completion) {
|
|
3083
|
+
var i = new toReadChannel$slambda(this.xpb_1, completion);
|
|
3084
|
+
i.ypb_1 = $this$writer;
|
|
3093
3085
|
return i;
|
|
3094
3086
|
};
|
|
3095
3087
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
3096
3088
|
var i = new toReadChannel$slambda($this_toReadChannel, resultContinuation);
|
|
3097
3089
|
var l = function ($this$writer, $completion) {
|
|
3098
|
-
return i.
|
|
3090
|
+
return i.t4d($this$writer, $completion);
|
|
3099
3091
|
};
|
|
3100
3092
|
l.$arity = 1;
|
|
3101
3093
|
return l;
|
|
3102
3094
|
}
|
|
3103
3095
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3104
3096
|
CoroutineImpl.call(this, resultContinuation);
|
|
3105
|
-
this.
|
|
3106
|
-
this.
|
|
3097
|
+
this.lpb_1 = _this__u8e3s4;
|
|
3098
|
+
this.mpb_1 = log;
|
|
3107
3099
|
}
|
|
3108
3100
|
protoOf($observeCOROUTINE$).t9 = function () {
|
|
3109
3101
|
var suspendResult = this.n9_1;
|
|
@@ -3113,10 +3105,10 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3113
3105
|
switch (tmp) {
|
|
3114
3106
|
case 0:
|
|
3115
3107
|
this.m9_1 = 6;
|
|
3116
|
-
var tmp0_subject = this.
|
|
3108
|
+
var tmp0_subject = this.lpb_1;
|
|
3117
3109
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3118
3110
|
this.l9_1 = 3;
|
|
3119
|
-
suspendResult = writeFully_0(this.
|
|
3111
|
+
suspendResult = writeFully_0(this.mpb_1, this.lpb_1.z47(), VOID, VOID, this);
|
|
3120
3112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3121
3113
|
return suspendResult;
|
|
3122
3114
|
}
|
|
@@ -3125,25 +3117,25 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3125
3117
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3126
3118
|
var tmp_0 = this;
|
|
3127
3119
|
var responseChannel = new ByteChannel();
|
|
3128
|
-
var content = this.
|
|
3129
|
-
copyToBoth(content, this.
|
|
3130
|
-
tmp_0.
|
|
3120
|
+
var content = this.lpb_1.c48();
|
|
3121
|
+
copyToBoth(content, this.mpb_1, responseChannel);
|
|
3122
|
+
tmp_0.npb_1 = new LoggedContent(this.lpb_1, responseChannel);
|
|
3131
3123
|
this.l9_1 = 5;
|
|
3132
3124
|
continue $sm;
|
|
3133
3125
|
} else {
|
|
3134
3126
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3135
3127
|
var tmp_1 = this;
|
|
3136
3128
|
var responseChannel_0 = new ByteChannel();
|
|
3137
|
-
var content_0 = toReadChannel(this.
|
|
3138
|
-
copyToBoth(content_0, this.
|
|
3139
|
-
tmp_1.
|
|
3129
|
+
var content_0 = toReadChannel(this.lpb_1);
|
|
3130
|
+
copyToBoth(content_0, this.mpb_1, responseChannel_0);
|
|
3131
|
+
tmp_1.npb_1 = new LoggedContent(this.lpb_1, responseChannel_0);
|
|
3140
3132
|
this.l9_1 = 5;
|
|
3141
3133
|
continue $sm;
|
|
3142
3134
|
} else {
|
|
3143
3135
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3144
|
-
this.
|
|
3136
|
+
this.opb_1 = this.lpb_1;
|
|
3145
3137
|
this.l9_1 = 2;
|
|
3146
|
-
suspendResult = observe(this.
|
|
3138
|
+
suspendResult = observe(this.lpb_1.i48(), this.mpb_1, this);
|
|
3147
3139
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3148
3140
|
return suspendResult;
|
|
3149
3141
|
}
|
|
@@ -3157,7 +3149,7 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3157
3149
|
}
|
|
3158
3150
|
if (tmp_2) {
|
|
3159
3151
|
this.l9_1 = 1;
|
|
3160
|
-
suspendResult = this.
|
|
3152
|
+
suspendResult = this.mpb_1.l38(this);
|
|
3161
3153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3162
3154
|
return suspendResult;
|
|
3163
3155
|
}
|
|
@@ -3173,28 +3165,28 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3173
3165
|
|
|
3174
3166
|
break;
|
|
3175
3167
|
case 1:
|
|
3176
|
-
this.
|
|
3168
|
+
this.npb_1 = this.lpb_1;
|
|
3177
3169
|
this.l9_1 = 5;
|
|
3178
3170
|
continue $sm;
|
|
3179
3171
|
case 2:
|
|
3180
3172
|
var ARGUMENT = suspendResult;
|
|
3181
|
-
this.
|
|
3173
|
+
this.npb_1 = this.opb_1.j48(ARGUMENT);
|
|
3182
3174
|
this.l9_1 = 5;
|
|
3183
3175
|
continue $sm;
|
|
3184
3176
|
case 3:
|
|
3185
3177
|
this.l9_1 = 4;
|
|
3186
|
-
suspendResult = this.
|
|
3178
|
+
suspendResult = this.mpb_1.l38(this);
|
|
3187
3179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3188
3180
|
return suspendResult;
|
|
3189
3181
|
}
|
|
3190
3182
|
|
|
3191
3183
|
continue $sm;
|
|
3192
3184
|
case 4:
|
|
3193
|
-
this.
|
|
3185
|
+
this.npb_1 = this.lpb_1;
|
|
3194
3186
|
this.l9_1 = 5;
|
|
3195
3187
|
continue $sm;
|
|
3196
3188
|
case 5:
|
|
3197
|
-
return this.
|
|
3189
|
+
return this.npb_1;
|
|
3198
3190
|
case 6:
|
|
3199
3191
|
throw this.o9_1;
|
|
3200
3192
|
}
|
|
@@ -3234,13 +3226,13 @@ function get_DEFAULT(_this__u8e3s4) {
|
|
|
3234
3226
|
return get_SIMPLE(_this__u8e3s4);
|
|
3235
3227
|
}
|
|
3236
3228
|
//region block: post-declaration
|
|
3237
|
-
protoOf(Empty).
|
|
3238
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3239
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3229
|
+
protoOf(Empty).poy = get_byteSize;
|
|
3230
|
+
protoOf(BinaryLogBodyFilter$1).moy = filterRequest;
|
|
3231
|
+
protoOf(BinaryLogBodyFilter$1).ooy = filterResponse;
|
|
3240
3232
|
protoOf(MDCContextElement).y9 = get;
|
|
3241
|
-
protoOf(MDCContextElement).
|
|
3242
|
-
protoOf(MDCContextElement).
|
|
3243
|
-
protoOf(MDCContextElement).
|
|
3233
|
+
protoOf(MDCContextElement).tj = fold;
|
|
3234
|
+
protoOf(MDCContextElement).sj = minusKey;
|
|
3235
|
+
protoOf(MDCContextElement).uj = plus;
|
|
3244
3236
|
//endregion
|
|
3245
3237
|
//region block: init
|
|
3246
3238
|
Empty_instance = new Empty();
|
|
@@ -3255,7 +3247,7 @@ MDCContextElement_instance = new MDCContextElement();
|
|
|
3255
3247
|
//endregion
|
|
3256
3248
|
//region block: exports
|
|
3257
3249
|
export {
|
|
3258
|
-
LogLevel_NONE_getInstance as
|
|
3250
|
+
LogLevel_NONE_getInstance as LogLevel_NONE_getInstance19mfk0a2opve9,
|
|
3259
3251
|
get_Logging as get_Logging1ff3305q4akdl,
|
|
3260
3252
|
};
|
|
3261
3253
|
//endregion
|