@solibo/solibo-sdk 1.6.9 → 1.6.10
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 +76 -76
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/KotlinBigInteger-bignum.mjs +1104 -1104
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +5 -5
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-encoding.mjs +75 -75
- package/ktor-ktor-client-logging.mjs +520 -520
- package/ktor-ktor-client-mock.mjs +39 -39
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +13304 -13299
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +4 -4
- package/solibo-sdk-sdk.mjs +2808 -2808
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -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.lrr(contentLength, contentType, headers, body, $completion);
|
|
133
133
|
}
|
|
134
134
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
135
|
-
return this.
|
|
135
|
+
return this.lrr(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.brq_1 = _this__u8e3s4;
|
|
190
|
+
this.crq_1 = message;
|
|
191
191
|
}
|
|
192
192
|
protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
193
193
|
var suspendResult = this.o9_1;
|
|
@@ -198,15 +198,15 @@ protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
|
198
198
|
case 0:
|
|
199
199
|
this.n9_1 = 2;
|
|
200
200
|
this.m9_1 = 1;
|
|
201
|
-
suspendResult = this.
|
|
201
|
+
suspendResult = this.brq_1.grq_1.c1x(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.crq_1;
|
|
209
|
+
this.brq_1.drq_1.krq(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
210
210
|
return Unit_instance;
|
|
211
211
|
case 2:
|
|
212
212
|
throw this.p9_1;
|
|
@@ -224,8 +224,8 @@ protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
|
224
224
|
};
|
|
225
225
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
226
226
|
CoroutineImpl.call(this, resultContinuation);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.trq_1 = _this__u8e3s4;
|
|
228
|
+
this.urq_1 = message;
|
|
229
229
|
}
|
|
230
230
|
protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
231
231
|
var suspendResult = this.o9_1;
|
|
@@ -236,14 +236,14 @@ protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
236
236
|
case 0:
|
|
237
237
|
this.n9_1 = 2;
|
|
238
238
|
this.m9_1 = 1;
|
|
239
|
-
suspendResult = this.
|
|
239
|
+
suspendResult = this.trq_1.hrq_1.c1x(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.trq_1.frq_1.q(this.urq_1);
|
|
247
247
|
return Unit_instance;
|
|
248
248
|
case 2:
|
|
249
249
|
throw this.p9_1;
|
|
@@ -261,7 +261,7 @@ protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
261
261
|
};
|
|
262
262
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
263
263
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
|
-
this.
|
|
264
|
+
this.drr_1 = _this__u8e3s4;
|
|
265
265
|
}
|
|
266
266
|
protoOf($closeResponseLogCOROUTINE$).u9 = function () {
|
|
267
267
|
var suspendResult = this.o9_1;
|
|
@@ -271,19 +271,19 @@ protoOf($closeResponseLogCOROUTINE$).u9 = function () {
|
|
|
271
271
|
switch (tmp) {
|
|
272
272
|
case 0:
|
|
273
273
|
this.n9_1 = 2;
|
|
274
|
-
if (!this.
|
|
274
|
+
if (!this.drr_1.jrq_1.atomicfu$compareAndSet(false, true))
|
|
275
275
|
return Unit_instance;
|
|
276
276
|
this.m9_1 = 1;
|
|
277
|
-
suspendResult = this.
|
|
277
|
+
suspendResult = this.drr_1.grq_1.c1x(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.drr_1.frq_1));
|
|
285
285
|
if (charSequenceLength(message) > 0) {
|
|
286
|
-
this.
|
|
286
|
+
this.drr_1.drq_1.krq(message);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
return Unit_instance;
|
|
@@ -302,57 +302,57 @@ protoOf($closeResponseLogCOROUTINE$).u9 = 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.drq_1 = logger;
|
|
306
|
+
this.erq_1 = StringBuilder_init_$Create$();
|
|
307
|
+
this.frq_1 = StringBuilder_init_$Create$();
|
|
308
|
+
this.grq_1 = Job();
|
|
309
|
+
this.hrq_1 = Job();
|
|
310
|
+
this.irq_1 = atomic$boolean$1(false);
|
|
311
|
+
this.jrq_1 = atomic$boolean$1(false);
|
|
312
|
+
}
|
|
313
|
+
protoOf(HttpClientCallLogger).err = function (message) {
|
|
314
|
+
var tmp0 = this.erq_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).frr = function (message) {
|
|
322
|
+
var tmp0 = this.frq_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.hrq_1.e24();
|
|
329
329
|
};
|
|
330
|
-
protoOf(HttpClientCallLogger).
|
|
330
|
+
protoOf(HttpClientCallLogger).grr = function (message, $completion) {
|
|
331
331
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
332
332
|
tmp.o9_1 = Unit_instance;
|
|
333
333
|
tmp.p9_1 = null;
|
|
334
334
|
return tmp.u9();
|
|
335
335
|
};
|
|
336
|
-
protoOf(HttpClientCallLogger).
|
|
336
|
+
protoOf(HttpClientCallLogger).hrr = function (message, $completion) {
|
|
337
337
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
338
338
|
tmp.o9_1 = Unit_instance;
|
|
339
339
|
tmp.p9_1 = null;
|
|
340
340
|
return tmp.u9();
|
|
341
341
|
};
|
|
342
|
-
protoOf(HttpClientCallLogger).
|
|
343
|
-
if (!this.
|
|
342
|
+
protoOf(HttpClientCallLogger).irr = function () {
|
|
343
|
+
if (!this.irq_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.erq_1));
|
|
347
347
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
348
348
|
if (charSequenceLength(message) > 0) {
|
|
349
|
-
this.
|
|
349
|
+
this.drq_1.krq(message);
|
|
350
350
|
}
|
|
351
351
|
}finally {
|
|
352
|
-
this.
|
|
352
|
+
this.grq_1.e24();
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
|
-
protoOf(HttpClientCallLogger).
|
|
355
|
+
protoOf(HttpClientCallLogger).jrr = function ($completion) {
|
|
356
356
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
357
357
|
tmp.o9_1 = Unit_instance;
|
|
358
358
|
tmp.p9_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.orr_1 = reason;
|
|
378
|
+
this.prr_1 = byteSize;
|
|
379
379
|
}
|
|
380
|
-
protoOf(Skip).
|
|
381
|
-
return this.
|
|
380
|
+
protoOf(Skip).nrr = function () {
|
|
381
|
+
return this.prr_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.qrr_1 = buffer;
|
|
388
|
+
this.rrr_1 = charset;
|
|
389
|
+
this.srr_1 = byteSize;
|
|
390
390
|
}
|
|
391
|
-
protoOf(BufferContent).
|
|
392
|
-
return this.
|
|
391
|
+
protoOf(BufferContent).nrr = function () {
|
|
392
|
+
return this.srr_1;
|
|
393
393
|
};
|
|
394
394
|
protoOf(BufferContent).w6g = function () {
|
|
395
|
-
return readText(this.
|
|
395
|
+
return readText(this.qrr_1, this.rrr_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.brs_1 = _this__u8e3s4;
|
|
402
|
+
this.crs_1 = contentLength;
|
|
403
|
+
this.drs_1 = contentType;
|
|
404
|
+
this.ers_1 = headers;
|
|
405
|
+
this.frs_1 = body;
|
|
406
406
|
}
|
|
407
407
|
protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
408
408
|
var suspendResult = this.o9_1;
|
|
@@ -412,13 +412,13 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
412
412
|
switch (tmp) {
|
|
413
413
|
case 0:
|
|
414
414
|
this.n9_1 = 6;
|
|
415
|
-
if (this.
|
|
416
|
-
return new Skip('encoded', this.
|
|
415
|
+
if (this.ers_1.y3b('Content-Encoding')) {
|
|
416
|
+
return new Skip('encoded', this.crs_1);
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
if (!(this.
|
|
419
|
+
if (!(this.drs_1 == null) && isTextType(this.drs_1)) {
|
|
420
420
|
this.m9_1 = 5;
|
|
421
|
-
suspendResult = readBuffer(this.
|
|
421
|
+
suspendResult = readBuffer(this.frs_1, this);
|
|
422
422
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
423
423
|
return suspendResult;
|
|
424
424
|
}
|
|
@@ -431,18 +431,18 @@ protoOf($filterAllCOROUTINE$).u9 = 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.
|
|
434
|
+
if (!(this.drs_1 == null)) {
|
|
435
|
+
var tmp1_elvis_lhs = charset(this.drs_1);
|
|
436
436
|
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp1_elvis_lhs;
|
|
437
437
|
} else {
|
|
438
438
|
tmp_1 = Charsets_getInstance().k37_1;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
tmp_0.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
441
|
+
tmp_0.lrs_1 = tmp_1;
|
|
442
|
+
this.krs_1 = false;
|
|
443
|
+
this.jrs_1 = new Int8Array(1024);
|
|
444
444
|
this.m9_1 = 2;
|
|
445
|
-
suspendResult = readAvailable(this.
|
|
445
|
+
suspendResult = readAvailable(this.frs_1, this.jrs_1, VOID, VOID, this);
|
|
446
446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
447
447
|
return suspendResult;
|
|
448
448
|
}
|
|
@@ -455,16 +455,16 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
var this_0 = new Buffer();
|
|
458
|
-
writeFully(this_0, this.
|
|
458
|
+
writeFully(this_0, this.jrs_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.lrs_1.n37(), 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.krs_1 = true;
|
|
468
468
|
tmp_3 = '';
|
|
469
469
|
} else {
|
|
470
470
|
throw $p;
|
|
@@ -473,7 +473,7 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
var firstChunkText = tmp_2;
|
|
476
|
-
if (!this.
|
|
476
|
+
if (!this.krs_1) {
|
|
477
477
|
var lastCharIndex = -1;
|
|
478
478
|
var inductionVariable = 0;
|
|
479
479
|
var last = firstChunkText.length;
|
|
@@ -489,23 +489,23 @@ protoOf($filterAllCOROUTINE$).u9 = 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.krs_1 = true;
|
|
493
493
|
break $l$loop;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
if (this.
|
|
498
|
+
if (this.krs_1) {
|
|
499
499
|
var tmp_4 = this;
|
|
500
|
-
tmp_4.
|
|
500
|
+
tmp_4.grs_1 = new Skip('binary', this.crs_1);
|
|
501
501
|
this.m9_1 = 4;
|
|
502
502
|
continue $sm;
|
|
503
503
|
} else {
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
506
|
-
writeFully(this.
|
|
504
|
+
this.hrs_1 = new Buffer();
|
|
505
|
+
this.irs_1 = this.hrs_1;
|
|
506
|
+
writeFully(this.irs_1, this.jrs_1, 0, firstReadSize);
|
|
507
507
|
this.m9_1 = 3;
|
|
508
|
-
suspendResult = readBuffer(this.
|
|
508
|
+
suspendResult = readBuffer(this.frs_1, this);
|
|
509
509
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
510
|
return suspendResult;
|
|
511
511
|
}
|
|
@@ -514,19 +514,19 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
514
514
|
|
|
515
515
|
case 3:
|
|
516
516
|
var ARGUMENT = suspendResult;
|
|
517
|
-
this.
|
|
518
|
-
var ARGUMENT_0 = this.
|
|
517
|
+
this.irs_1.m2t(ARGUMENT);
|
|
518
|
+
var ARGUMENT_0 = this.hrs_1;
|
|
519
519
|
var tmp_5 = this;
|
|
520
|
-
var tmp2_safe_receiver = this.
|
|
520
|
+
var tmp2_safe_receiver = this.drs_1;
|
|
521
521
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
522
|
-
tmp_5.
|
|
522
|
+
tmp_5.grs_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp3_elvis_lhs);
|
|
523
523
|
this.m9_1 = 4;
|
|
524
524
|
continue $sm;
|
|
525
525
|
case 4:
|
|
526
|
-
return this.
|
|
526
|
+
return this.grs_1;
|
|
527
527
|
case 5:
|
|
528
528
|
var ARGUMENT_1 = suspendResult;
|
|
529
|
-
var tmp0_elvis_lhs = charset(this.
|
|
529
|
+
var tmp0_elvis_lhs = charset(this.drs_1);
|
|
530
530
|
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp0_elvis_lhs);
|
|
531
531
|
case 6:
|
|
532
532
|
throw this.p9_1;
|
|
@@ -544,7 +544,7 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
544
544
|
};
|
|
545
545
|
function BinaryLogBodyFilter$1() {
|
|
546
546
|
}
|
|
547
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
547
|
+
protoOf(BinaryLogBodyFilter$1).lrr = function (contentLength, contentType, headers, body, $completion) {
|
|
548
548
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
549
549
|
tmp.o9_1 = Unit_instance;
|
|
550
550
|
tmp.p9_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.ors_1 = info;
|
|
579
|
+
this.prs_1 = headers;
|
|
580
|
+
this.qrs_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.srs_1 = originalContent;
|
|
605
|
+
this.trs_1 = channel;
|
|
606
|
+
this.urs_1 = this.srs_1.z3w();
|
|
607
|
+
this.vrs_1 = this.srs_1.b3x();
|
|
608
|
+
this.wrs_1 = this.srs_1.a3x();
|
|
609
|
+
this.xrs_1 = this.srs_1.a3r();
|
|
610
610
|
}
|
|
611
611
|
protoOf(LoggedContent).z3w = function () {
|
|
612
|
-
return this.
|
|
612
|
+
return this.urs_1;
|
|
613
613
|
};
|
|
614
614
|
protoOf(LoggedContent).b3x = function () {
|
|
615
|
-
return this.
|
|
615
|
+
return this.vrs_1;
|
|
616
616
|
};
|
|
617
617
|
protoOf(LoggedContent).a3x = function () {
|
|
618
|
-
return this.
|
|
618
|
+
return this.wrs_1;
|
|
619
619
|
};
|
|
620
620
|
protoOf(LoggedContent).a3r = function () {
|
|
621
|
-
return this.
|
|
621
|
+
return this.xrs_1;
|
|
622
622
|
};
|
|
623
623
|
protoOf(LoggedContent).n3x = function () {
|
|
624
|
-
return this.
|
|
624
|
+
return this.trs_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).krq = 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.yrs_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.zrs_1 = ArrayList_init_$Create$();
|
|
666
|
+
this.art_1 = null;
|
|
667
|
+
this.brt_1 = LoggingFormat_Default_getInstance();
|
|
668
|
+
this.crt_1 = LogLevel_HEADERS_getInstance();
|
|
669
|
+
this.drt_1 = get_BinaryLogBodyFilter();
|
|
670
|
+
}
|
|
671
|
+
protoOf(LoggingConfig).ert = function () {
|
|
672
|
+
var tmp0_elvis_lhs = this.art_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).frt = function (placeholder, predicate) {
|
|
676
|
+
this.zrs_1.e1(new SanitizedHeader(placeholder, predicate));
|
|
677
677
|
};
|
|
678
|
-
protoOf(LoggingConfig).
|
|
678
|
+
protoOf(LoggingConfig).grt = function (placeholder, predicate, $super) {
|
|
679
679
|
placeholder = placeholder === VOID ? '***' : placeholder;
|
|
680
680
|
var tmp;
|
|
681
681
|
if ($super === VOID) {
|
|
682
|
-
this.
|
|
682
|
+
this.frt(placeholder, predicate);
|
|
683
683
|
tmp = Unit_instance;
|
|
684
684
|
} else {
|
|
685
|
-
tmp = $super.
|
|
685
|
+
tmp = $super.frt.call(this, placeholder, predicate);
|
|
686
686
|
}
|
|
687
687
|
return tmp;
|
|
688
688
|
};
|
|
689
689
|
function SanitizedHeader(placeholder, predicate) {
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
690
|
+
this.hrt_1 = placeholder;
|
|
691
|
+
this.irt_1 = predicate;
|
|
692
692
|
}
|
|
693
693
|
var LoggingFormat_Default_instance;
|
|
694
694
|
var LoggingFormat_OkHttp_instance;
|
|
@@ -732,16 +732,16 @@ function computeRequestBodySize(content) {
|
|
|
732
732
|
return tmp;
|
|
733
733
|
}
|
|
734
734
|
function Context(context) {
|
|
735
|
-
this.
|
|
735
|
+
this.jrt_1 = context;
|
|
736
736
|
}
|
|
737
|
-
protoOf(Context).
|
|
738
|
-
return this.
|
|
737
|
+
protoOf(Context).krt = function (content, $completion) {
|
|
738
|
+
return this.jrt_1.b3h(content, $completion);
|
|
739
739
|
};
|
|
740
|
-
protoOf(Context).
|
|
741
|
-
return this.
|
|
740
|
+
protoOf(Context).lrt = function ($completion) {
|
|
741
|
+
return this.jrt_1.c3h($completion);
|
|
742
742
|
};
|
|
743
743
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
744
|
-
this.
|
|
744
|
+
this.urt_1 = $handler;
|
|
745
745
|
CoroutineImpl.call(this, resultContinuation);
|
|
746
746
|
}
|
|
747
747
|
protoOf(SendHook$install$slambda).f4h = function ($this$intercept, it, $completion) {
|
|
@@ -763,7 +763,7 @@ protoOf(SendHook$install$slambda).u9 = function () {
|
|
|
763
763
|
case 0:
|
|
764
764
|
this.n9_1 = 2;
|
|
765
765
|
this.m9_1 = 1;
|
|
766
|
-
suspendResult = this.
|
|
766
|
+
suspendResult = this.urt_1(new Context(this.vrt_1), this.vrt_1.x3h_1, this);
|
|
767
767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
768
768
|
return suspendResult;
|
|
769
769
|
}
|
|
@@ -786,9 +786,9 @@ protoOf(SendHook$install$slambda).u9 = function () {
|
|
|
786
786
|
while (true);
|
|
787
787
|
};
|
|
788
788
|
protoOf(SendHook$install$slambda).g4h = function ($this$intercept, it, completion) {
|
|
789
|
-
var i = new SendHook$install$slambda(this.
|
|
790
|
-
i.
|
|
791
|
-
i.
|
|
789
|
+
var i = new SendHook$install$slambda(this.urt_1, completion);
|
|
790
|
+
i.vrt_1 = $this$intercept;
|
|
791
|
+
i.wrt_1 = it;
|
|
792
792
|
return i;
|
|
793
793
|
};
|
|
794
794
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -801,25 +801,25 @@ function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
|
801
801
|
}
|
|
802
802
|
function SendHook() {
|
|
803
803
|
}
|
|
804
|
-
protoOf(SendHook).
|
|
804
|
+
protoOf(SendHook).xrt = function (client, handler) {
|
|
805
805
|
var tmp = Phases_getInstance().w4i_1;
|
|
806
806
|
client.j4g_1.b3i(tmp, SendHook$install$slambda_0(handler, null));
|
|
807
807
|
};
|
|
808
808
|
protoOf(SendHook).e4q = function (client, handler) {
|
|
809
|
-
return this.
|
|
809
|
+
return this.xrt(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
810
810
|
};
|
|
811
811
|
var SendHook_instance;
|
|
812
812
|
function SendHook_getInstance() {
|
|
813
813
|
return SendHook_instance;
|
|
814
814
|
}
|
|
815
815
|
function Context_0(context) {
|
|
816
|
-
this.
|
|
816
|
+
this.yrt_1 = context;
|
|
817
817
|
}
|
|
818
818
|
protoOf(Context_0).m5t = function (response, $completion) {
|
|
819
|
-
return this.
|
|
819
|
+
return this.yrt_1.b3h(response, $completion);
|
|
820
820
|
};
|
|
821
821
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
822
|
-
this.
|
|
822
|
+
this.hru_1 = $handler;
|
|
823
823
|
CoroutineImpl.call(this, resultContinuation);
|
|
824
824
|
}
|
|
825
825
|
protoOf(ResponseAfterEncodingHook$install$slambda).q4q = function ($this$intercept, it, $completion) {
|
|
@@ -841,7 +841,7 @@ protoOf(ResponseAfterEncodingHook$install$slambda).u9 = function () {
|
|
|
841
841
|
case 0:
|
|
842
842
|
this.n9_1 = 2;
|
|
843
843
|
this.m9_1 = 1;
|
|
844
|
-
suspendResult = this.
|
|
844
|
+
suspendResult = this.hru_1(new Context_0(this.iru_1), this.iru_1.a3h(), this);
|
|
845
845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
846
846
|
return suspendResult;
|
|
847
847
|
}
|
|
@@ -864,9 +864,9 @@ protoOf(ResponseAfterEncodingHook$install$slambda).u9 = function () {
|
|
|
864
864
|
while (true);
|
|
865
865
|
};
|
|
866
866
|
protoOf(ResponseAfterEncodingHook$install$slambda).r4q = function ($this$intercept, it, completion) {
|
|
867
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
868
|
-
i.
|
|
869
|
-
i.
|
|
867
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.hru_1, completion);
|
|
868
|
+
i.iru_1 = $this$intercept;
|
|
869
|
+
i.jru_1 = it;
|
|
870
870
|
return i;
|
|
871
871
|
};
|
|
872
872
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -879,26 +879,26 @@ function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuatio
|
|
|
879
879
|
}
|
|
880
880
|
function ResponseAfterEncodingHook() {
|
|
881
881
|
}
|
|
882
|
-
protoOf(ResponseAfterEncodingHook).
|
|
882
|
+
protoOf(ResponseAfterEncodingHook).kru = function (client, handler) {
|
|
883
883
|
var afterState = new PipelinePhase('AfterState');
|
|
884
884
|
client.k4g_1.y3h(Phases_getInstance_0().u4q_1, afterState);
|
|
885
885
|
client.k4g_1.b3i(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
886
886
|
};
|
|
887
887
|
protoOf(ResponseAfterEncodingHook).e4q = function (client, handler) {
|
|
888
|
-
return this.
|
|
888
|
+
return this.kru(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
889
889
|
};
|
|
890
890
|
var ResponseAfterEncodingHook_instance;
|
|
891
891
|
function ResponseAfterEncodingHook_getInstance() {
|
|
892
892
|
return ResponseAfterEncodingHook_instance;
|
|
893
893
|
}
|
|
894
894
|
function Context_1(context) {
|
|
895
|
-
this.
|
|
895
|
+
this.lru_1 = context;
|
|
896
896
|
}
|
|
897
|
-
protoOf(Context_1).
|
|
898
|
-
return this.
|
|
897
|
+
protoOf(Context_1).mru = function ($completion) {
|
|
898
|
+
return this.lru_1.c3h($completion);
|
|
899
899
|
};
|
|
900
900
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
901
|
-
this.
|
|
901
|
+
this.vru_1 = $handler;
|
|
902
902
|
CoroutineImpl.call(this, resultContinuation);
|
|
903
903
|
}
|
|
904
904
|
protoOf(ResponseHook$install$slambda).q4q = function ($this$intercept, it, $completion) {
|
|
@@ -920,7 +920,7 @@ protoOf(ResponseHook$install$slambda).u9 = function () {
|
|
|
920
920
|
case 0:
|
|
921
921
|
this.n9_1 = 2;
|
|
922
922
|
this.m9_1 = 1;
|
|
923
|
-
suspendResult = this.
|
|
923
|
+
suspendResult = this.vru_1(new Context_1(this.wru_1), this.wru_1.a3h(), this);
|
|
924
924
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
925
925
|
return suspendResult;
|
|
926
926
|
}
|
|
@@ -943,9 +943,9 @@ protoOf(ResponseHook$install$slambda).u9 = function () {
|
|
|
943
943
|
while (true);
|
|
944
944
|
};
|
|
945
945
|
protoOf(ResponseHook$install$slambda).r4q = function ($this$intercept, it, completion) {
|
|
946
|
-
var i = new ResponseHook$install$slambda(this.
|
|
947
|
-
i.
|
|
948
|
-
i.
|
|
946
|
+
var i = new ResponseHook$install$slambda(this.vru_1, completion);
|
|
947
|
+
i.wru_1 = $this$intercept;
|
|
948
|
+
i.xru_1 = it;
|
|
949
949
|
return i;
|
|
950
950
|
};
|
|
951
951
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -958,25 +958,25 @@ function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
|
958
958
|
}
|
|
959
959
|
function ResponseHook() {
|
|
960
960
|
}
|
|
961
|
-
protoOf(ResponseHook).
|
|
961
|
+
protoOf(ResponseHook).yru = function (client, handler) {
|
|
962
962
|
var tmp = Phases_getInstance_0().u4q_1;
|
|
963
963
|
client.k4g_1.b3i(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
964
964
|
};
|
|
965
965
|
protoOf(ResponseHook).e4q = function (client, handler) {
|
|
966
|
-
return this.
|
|
966
|
+
return this.yru(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
967
967
|
};
|
|
968
968
|
var ResponseHook_instance;
|
|
969
969
|
function ResponseHook_getInstance() {
|
|
970
970
|
return ResponseHook_instance;
|
|
971
971
|
}
|
|
972
972
|
function Context_2(context) {
|
|
973
|
-
this.
|
|
973
|
+
this.zru_1 = context;
|
|
974
974
|
}
|
|
975
|
-
protoOf(Context_2).
|
|
976
|
-
return this.
|
|
975
|
+
protoOf(Context_2).arv = function ($completion) {
|
|
976
|
+
return this.zru_1.c3h($completion);
|
|
977
977
|
};
|
|
978
978
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
979
|
-
this.
|
|
979
|
+
this.jrv_1 = $handler;
|
|
980
980
|
CoroutineImpl.call(this, resultContinuation);
|
|
981
981
|
}
|
|
982
982
|
protoOf(ReceiveHook$install$slambda).a4i = function ($this$intercept, it, $completion) {
|
|
@@ -998,7 +998,7 @@ protoOf(ReceiveHook$install$slambda).u9 = function () {
|
|
|
998
998
|
case 0:
|
|
999
999
|
this.n9_1 = 2;
|
|
1000
1000
|
this.m9_1 = 1;
|
|
1001
|
-
suspendResult = this.
|
|
1001
|
+
suspendResult = this.jrv_1(new Context_2(this.krv_1), this.krv_1.x3h_1, this);
|
|
1002
1002
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1003
1003
|
return suspendResult;
|
|
1004
1004
|
}
|
|
@@ -1021,9 +1021,9 @@ protoOf(ReceiveHook$install$slambda).u9 = function () {
|
|
|
1021
1021
|
while (true);
|
|
1022
1022
|
};
|
|
1023
1023
|
protoOf(ReceiveHook$install$slambda).b4i = function ($this$intercept, it, completion) {
|
|
1024
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1025
|
-
i.
|
|
1026
|
-
i.
|
|
1024
|
+
var i = new ReceiveHook$install$slambda(this.jrv_1, completion);
|
|
1025
|
+
i.krv_1 = $this$intercept;
|
|
1026
|
+
i.lrv_1 = it;
|
|
1027
1027
|
return i;
|
|
1028
1028
|
};
|
|
1029
1029
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -1036,12 +1036,12 @@ function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
function ReceiveHook() {
|
|
1038
1038
|
}
|
|
1039
|
-
protoOf(ReceiveHook).
|
|
1039
|
+
protoOf(ReceiveHook).mrv = function (client, handler) {
|
|
1040
1040
|
var tmp = Phases_getInstance_1().k4j_1;
|
|
1041
1041
|
client.i4g_1.b3i(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1042
1042
|
};
|
|
1043
1043
|
protoOf(ReceiveHook).e4q = function (client, handler) {
|
|
1044
|
-
return this.
|
|
1044
|
+
return this.mrv(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1045
1045
|
};
|
|
1046
1046
|
var ReceiveHook_instance;
|
|
1047
1047
|
function ReceiveHook_getInstance() {
|
|
@@ -1056,12 +1056,12 @@ function LoggingConfig$_init_$ref_f1nb0k() {
|
|
|
1056
1056
|
}
|
|
1057
1057
|
function Logging$lambda($this$createClientPlugin) {
|
|
1058
1058
|
_init_properties_Logging_kt__66pui5();
|
|
1059
|
-
var logger = $this$createClientPlugin.y4q_1.
|
|
1060
|
-
var level = $this$createClientPlugin.y4q_1.
|
|
1061
|
-
var filters = $this$createClientPlugin.y4q_1.
|
|
1062
|
-
var sanitizedHeaders = $this$createClientPlugin.y4q_1.
|
|
1063
|
-
var okHttpFormat = $this$createClientPlugin.y4q_1.
|
|
1064
|
-
var bodyFilter = $this$createClientPlugin.y4q_1.
|
|
1059
|
+
var logger = $this$createClientPlugin.y4q_1.ert();
|
|
1060
|
+
var level = $this$createClientPlugin.y4q_1.crt_1;
|
|
1061
|
+
var filters = $this$createClientPlugin.y4q_1.yrs_1;
|
|
1062
|
+
var sanitizedHeaders = $this$createClientPlugin.y4q_1.zrs_1;
|
|
1063
|
+
var okHttpFormat = $this$createClientPlugin.y4q_1.brt_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1064
|
+
var bodyFilter = $this$createClientPlugin.y4q_1.drt_1;
|
|
1065
1065
|
var tmp = SendHook_instance;
|
|
1066
1066
|
$this$createClientPlugin.b4r(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1067
1067
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
@@ -1072,7 +1072,7 @@ function Logging$lambda($this$createClientPlugin) {
|
|
|
1072
1072
|
$this$createClientPlugin.b4r(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, logger, null));
|
|
1073
1073
|
if (okHttpFormat)
|
|
1074
1074
|
return Unit_instance;
|
|
1075
|
-
if (!level.
|
|
1075
|
+
if (!level.qrs_1)
|
|
1076
1076
|
return Unit_instance;
|
|
1077
1077
|
var tmp_3 = get_ResponseObserver();
|
|
1078
1078
|
var responseObserver = tmp_3.r4j(Logging$lambda$lambda(level));
|
|
@@ -1084,8 +1084,8 @@ function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
|
1084
1084
|
return it;
|
|
1085
1085
|
}
|
|
1086
1086
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1087
|
-
this.
|
|
1088
|
-
this.
|
|
1087
|
+
this.vrv_1 = $content;
|
|
1088
|
+
this.wrv_1 = $channel;
|
|
1089
1089
|
CoroutineImpl.call(this, resultContinuation);
|
|
1090
1090
|
}
|
|
1091
1091
|
protoOf(Logging$lambda$logOutgoingContent$slambda).g2j = function ($this$launch, $completion) {
|
|
@@ -1106,14 +1106,14 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function () {
|
|
|
1106
1106
|
case 0:
|
|
1107
1107
|
this.n9_1 = 2;
|
|
1108
1108
|
this.m9_1 = 1;
|
|
1109
|
-
suspendResult = this.
|
|
1109
|
+
suspendResult = this.vrv_1.g3y(this.wrv_1, this);
|
|
1110
1110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1111
1111
|
return suspendResult;
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
1114
|
continue $sm;
|
|
1115
1115
|
case 1:
|
|
1116
|
-
this.
|
|
1116
|
+
this.wrv_1.c5();
|
|
1117
1117
|
return Unit_instance;
|
|
1118
1118
|
case 2:
|
|
1119
1119
|
throw this.p9_1;
|
|
@@ -1130,8 +1130,8 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function () {
|
|
|
1130
1130
|
while (true);
|
|
1131
1131
|
};
|
|
1132
1132
|
protoOf(Logging$lambda$logOutgoingContent$slambda).h2j = function ($this$launch, completion) {
|
|
1133
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1134
|
-
i.
|
|
1133
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.vrv_1, this.wrv_1, completion);
|
|
1134
|
+
i.xrv_1 = $this$launch;
|
|
1135
1135
|
return i;
|
|
1136
1136
|
};
|
|
1137
1137
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
@@ -1152,10 +1152,10 @@ function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
|
1152
1152
|
};
|
|
1153
1153
|
}
|
|
1154
1154
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1155
|
-
this.
|
|
1156
|
-
this.
|
|
1157
|
-
this.
|
|
1158
|
-
this.
|
|
1155
|
+
this.grw_1 = $channel;
|
|
1156
|
+
this.hrw_1 = $charset;
|
|
1157
|
+
this.irw_1 = $requestLog;
|
|
1158
|
+
this.jrw_1 = $logger;
|
|
1159
1159
|
CoroutineImpl.call(this, resultContinuation);
|
|
1160
1160
|
}
|
|
1161
1161
|
protoOf(Logging$lambda$logRequestBody$slambda).g2j = function ($this$launch, $completion) {
|
|
@@ -1179,8 +1179,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1179
1179
|
continue $sm;
|
|
1180
1180
|
case 1:
|
|
1181
1181
|
this.n9_1 = 6;
|
|
1182
|
-
var tmp0 = this.
|
|
1183
|
-
this.
|
|
1182
|
+
var tmp0 = this.grw_1;
|
|
1183
|
+
this.nrw_1 = this.hrw_1;
|
|
1184
1184
|
this.n9_1 = 3;
|
|
1185
1185
|
this.m9_1 = 2;
|
|
1186
1186
|
suspendResult = readRemaining(tmp0, this);
|
|
@@ -1191,7 +1191,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1191
1191
|
continue $sm;
|
|
1192
1192
|
case 2:
|
|
1193
1193
|
var ARGUMENT = suspendResult;
|
|
1194
|
-
this.
|
|
1194
|
+
this.mrw_1 = readText(ARGUMENT, this.nrw_1);
|
|
1195
1195
|
this.n9_1 = 6;
|
|
1196
1196
|
this.m9_1 = 4;
|
|
1197
1197
|
continue $sm;
|
|
@@ -1201,7 +1201,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1201
1201
|
if (tmp_0 instanceof Error) {
|
|
1202
1202
|
var cause = this.p9_1;
|
|
1203
1203
|
var tmp_1 = this;
|
|
1204
|
-
tmp_1.
|
|
1204
|
+
tmp_1.mrw_1 = null;
|
|
1205
1205
|
this.m9_1 = 4;
|
|
1206
1206
|
continue $sm;
|
|
1207
1207
|
} else {
|
|
@@ -1210,27 +1210,27 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1210
1210
|
|
|
1211
1211
|
case 4:
|
|
1212
1212
|
this.n9_1 = 6;
|
|
1213
|
-
var tmp0_elvis_lhs = this.
|
|
1213
|
+
var tmp0_elvis_lhs = this.mrw_1;
|
|
1214
1214
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1215
|
-
var tmp0_0 = this.
|
|
1215
|
+
var tmp0_0 = this.irw_1;
|
|
1216
1216
|
var value = 'BODY START';
|
|
1217
1217
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1218
|
-
this.
|
|
1219
|
-
this.
|
|
1218
|
+
this.irw_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1219
|
+
this.lrw_1 = this.irw_1.q('BODY END');
|
|
1220
1220
|
this.n9_1 = 7;
|
|
1221
1221
|
this.m9_1 = 5;
|
|
1222
1222
|
continue $sm;
|
|
1223
1223
|
case 5:
|
|
1224
|
-
this.
|
|
1224
|
+
this.lrw_1;
|
|
1225
1225
|
this.n9_1 = 7;
|
|
1226
|
-
this.
|
|
1227
|
-
this.
|
|
1226
|
+
this.jrw_1.err(this.irw_1.toString());
|
|
1227
|
+
this.jrw_1.irr();
|
|
1228
1228
|
return Unit_instance;
|
|
1229
1229
|
case 6:
|
|
1230
1230
|
this.n9_1 = 7;
|
|
1231
1231
|
var t = this.p9_1;
|
|
1232
|
-
this.
|
|
1233
|
-
this.
|
|
1232
|
+
this.jrw_1.err(this.irw_1.toString());
|
|
1233
|
+
this.jrw_1.irr();
|
|
1234
1234
|
throw t;
|
|
1235
1235
|
case 7:
|
|
1236
1236
|
throw this.p9_1;
|
|
@@ -1247,8 +1247,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1247
1247
|
while (true);
|
|
1248
1248
|
};
|
|
1249
1249
|
protoOf(Logging$lambda$logRequestBody$slambda).h2j = function ($this$launch, completion) {
|
|
1250
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1251
|
-
i.
|
|
1250
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.grw_1, this.hrw_1, this.irw_1, this.jrw_1, completion);
|
|
1251
|
+
i.krw_1 = $this$launch;
|
|
1252
1252
|
return i;
|
|
1253
1253
|
};
|
|
1254
1254
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
@@ -1356,8 +1356,8 @@ function invoke$logRequestBody_0(content, logger, $completion) {
|
|
|
1356
1356
|
return observe(content, channel, $completion);
|
|
1357
1357
|
}
|
|
1358
1358
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1359
|
-
if (level.
|
|
1360
|
-
logger.
|
|
1359
|
+
if (level.ors_1) {
|
|
1360
|
+
logger.krq('REQUEST ' + Url(context.m4i_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1361
1361
|
}
|
|
1362
1362
|
}
|
|
1363
1363
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
@@ -1368,7 +1368,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1368
1368
|
// Inline function 'kotlin.text.buildString' call
|
|
1369
1369
|
// Inline function 'kotlin.apply' call
|
|
1370
1370
|
var this_0 = StringBuilder_init_$Create$();
|
|
1371
|
-
if (level.
|
|
1371
|
+
if (level.ors_1) {
|
|
1372
1372
|
// Inline function 'kotlin.text.appendLine' call
|
|
1373
1373
|
var value = 'REQUEST: ' + Url(request.m4i_1).toString();
|
|
1374
1374
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1378,7 +1378,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1378
1378
|
// Inline function 'kotlin.text.appendLine' call
|
|
1379
1379
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1380
1380
|
}
|
|
1381
|
-
if (level.
|
|
1381
|
+
if (level.prs_1) {
|
|
1382
1382
|
// Inline function 'kotlin.text.appendLine' call
|
|
1383
1383
|
var value_1 = 'COMMON HEADERS';
|
|
1384
1384
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1394,7 +1394,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1394
1394
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1395
1395
|
while (_iterator__ex2g4s.u()) {
|
|
1396
1396
|
var element = _iterator__ex2g4s.v();
|
|
1397
|
-
if (element.
|
|
1397
|
+
if (element.irt_1('Content-Length')) {
|
|
1398
1398
|
tmp$ret$11 = element;
|
|
1399
1399
|
break $l$block;
|
|
1400
1400
|
}
|
|
@@ -1402,14 +1402,14 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1402
1402
|
tmp$ret$11 = null;
|
|
1403
1403
|
}
|
|
1404
1404
|
var tmp0_safe_receiver = tmp$ret$11;
|
|
1405
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1405
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.hrt_1;
|
|
1406
1406
|
var tmp$ret$13;
|
|
1407
1407
|
$l$block_0: {
|
|
1408
1408
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1409
1409
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1410
1410
|
while (_iterator__ex2g4s_0.u()) {
|
|
1411
1411
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1412
|
-
if (element_0.
|
|
1412
|
+
if (element_0.irt_1('Content-Type')) {
|
|
1413
1413
|
tmp$ret$13 = element_0;
|
|
1414
1414
|
break $l$block_0;
|
|
1415
1415
|
}
|
|
@@ -1417,7 +1417,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1417
1417
|
tmp$ret$13 = null;
|
|
1418
1418
|
}
|
|
1419
1419
|
var tmp1_safe_receiver = tmp$ret$13;
|
|
1420
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1420
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.hrt_1;
|
|
1421
1421
|
var tmp2_safe_receiver = content.b3x();
|
|
1422
1422
|
if (tmp2_safe_receiver == null)
|
|
1423
1423
|
null;
|
|
@@ -1437,45 +1437,45 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1437
1437
|
var message = this_0.toString();
|
|
1438
1438
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1439
1439
|
if (charSequenceLength(message) > 0) {
|
|
1440
|
-
callLogger.
|
|
1440
|
+
callLogger.err(message);
|
|
1441
1441
|
}
|
|
1442
1442
|
var tmp_0;
|
|
1443
1443
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1444
1444
|
if (charSequenceLength(message) === 0) {
|
|
1445
1445
|
tmp_0 = true;
|
|
1446
1446
|
} else {
|
|
1447
|
-
tmp_0 = !level.
|
|
1447
|
+
tmp_0 = !level.qrs_1;
|
|
1448
1448
|
}
|
|
1449
1449
|
if (tmp_0) {
|
|
1450
|
-
callLogger.
|
|
1450
|
+
callLogger.irr();
|
|
1451
1451
|
return null;
|
|
1452
1452
|
}
|
|
1453
1453
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1454
1454
|
}
|
|
1455
1455
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1456
|
-
if (!level.
|
|
1456
|
+
if (!level.ors_1)
|
|
1457
1457
|
return Unit_instance;
|
|
1458
1458
|
log.q('RESPONSE ' + request.f4k().toString() + ' failed with exception: ' + cause.toString());
|
|
1459
1459
|
}
|
|
1460
1460
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1463
|
-
this.
|
|
1464
|
-
this.
|
|
1465
|
-
this.
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1461
|
+
this.urz_1 = $okHttpFormat;
|
|
1462
|
+
this.vrz_1 = $logger;
|
|
1463
|
+
this.wrz_1 = $filters;
|
|
1464
|
+
this.xrz_1 = $sanitizedHeaders;
|
|
1465
|
+
this.yrz_1 = $level;
|
|
1466
|
+
this.zrz_1 = $this_createClientPlugin;
|
|
1467
|
+
this.as0_1 = $bodyFilter;
|
|
1468
1468
|
CoroutineImpl.call(this, resultContinuation);
|
|
1469
1469
|
}
|
|
1470
|
-
protoOf(Logging$lambda$slambda).
|
|
1471
|
-
var tmp = this.
|
|
1470
|
+
protoOf(Logging$lambda$slambda).js0 = function ($this$on, request, $completion) {
|
|
1471
|
+
var tmp = this.ks0($this$on, request, $completion);
|
|
1472
1472
|
tmp.o9_1 = Unit_instance;
|
|
1473
1473
|
tmp.p9_1 = null;
|
|
1474
1474
|
return tmp.u9();
|
|
1475
1475
|
};
|
|
1476
1476
|
protoOf(Logging$lambda$slambda).ha = function (p1, p2, $completion) {
|
|
1477
1477
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1478
|
-
return this.
|
|
1478
|
+
return this.js0(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1479
1479
|
};
|
|
1480
1480
|
protoOf(Logging$lambda$slambda).u9 = function () {
|
|
1481
1481
|
var suspendResult = this.o9_1;
|
|
@@ -1485,16 +1485,16 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1485
1485
|
switch (tmp) {
|
|
1486
1486
|
case 0:
|
|
1487
1487
|
this.n9_1 = 16;
|
|
1488
|
-
if (!invoke$shouldBeLogged(this.
|
|
1489
|
-
this.
|
|
1488
|
+
if (!invoke$shouldBeLogged(this.wrz_1, this.cs0_1)) {
|
|
1489
|
+
this.cs0_1.r4i_1.q38(get_DisableLogging(), Unit_instance);
|
|
1490
1490
|
return Unit_instance;
|
|
1491
1491
|
}
|
|
1492
1492
|
|
|
1493
|
-
if (this.
|
|
1493
|
+
if (this.urz_1) {
|
|
1494
1494
|
var tmp_0 = this;
|
|
1495
|
-
tmp_0.
|
|
1495
|
+
tmp_0.fs0_1 = ArrayList_init_$Create$();
|
|
1496
1496
|
this.m9_1 = 10;
|
|
1497
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1497
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.xrz_1, this.yrz_1, this.zrz_1, this.as0_1, this.cs0_1, this.fs0_1, this);
|
|
1498
1498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1499
1499
|
return suspendResult;
|
|
1500
1500
|
}
|
|
@@ -1507,14 +1507,14 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1507
1507
|
case 1:
|
|
1508
1508
|
this.n9_1 = 3;
|
|
1509
1509
|
this.m9_1 = 2;
|
|
1510
|
-
suspendResult = invoke$logRequest(this.
|
|
1510
|
+
suspendResult = invoke$logRequest(this.vrz_1, this.yrz_1, this.xrz_1, this.cs0_1, this);
|
|
1511
1511
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1512
1512
|
return suspendResult;
|
|
1513
1513
|
}
|
|
1514
1514
|
|
|
1515
1515
|
continue $sm;
|
|
1516
1516
|
case 2:
|
|
1517
|
-
this.
|
|
1517
|
+
this.is0_1 = suspendResult;
|
|
1518
1518
|
this.n9_1 = 16;
|
|
1519
1519
|
this.m9_1 = 4;
|
|
1520
1520
|
continue $sm;
|
|
@@ -1524,7 +1524,7 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1524
1524
|
if (tmp_1 instanceof Error) {
|
|
1525
1525
|
var _unused_var__etf5q3 = this.p9_1;
|
|
1526
1526
|
var tmp_2 = this;
|
|
1527
|
-
tmp_2.
|
|
1527
|
+
tmp_2.is0_1 = null;
|
|
1528
1528
|
this.m9_1 = 4;
|
|
1529
1529
|
continue $sm;
|
|
1530
1530
|
} else {
|
|
@@ -1533,23 +1533,23 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1533
1533
|
|
|
1534
1534
|
case 4:
|
|
1535
1535
|
this.n9_1 = 16;
|
|
1536
|
-
this.
|
|
1537
|
-
this.
|
|
1536
|
+
this.hs0_1 = this.is0_1;
|
|
1537
|
+
this.gs0_1 = Unit_instance;
|
|
1538
1538
|
this.m9_1 = 5;
|
|
1539
1539
|
continue $sm;
|
|
1540
1540
|
case 5:
|
|
1541
1541
|
this.n9_1 = 8;
|
|
1542
1542
|
this.n9_1 = 7;
|
|
1543
1543
|
this.m9_1 = 6;
|
|
1544
|
-
var tmp0_elvis_lhs = this.
|
|
1545
|
-
suspendResult = this.
|
|
1544
|
+
var tmp0_elvis_lhs = this.hs0_1;
|
|
1545
|
+
suspendResult = this.bs0_1.krt(tmp0_elvis_lhs == null ? this.cs0_1.p4i_1 : tmp0_elvis_lhs, this);
|
|
1546
1546
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1547
1547
|
return suspendResult;
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
1550
|
continue $sm;
|
|
1551
1551
|
case 6:
|
|
1552
|
-
this.
|
|
1552
|
+
this.gs0_1 = suspendResult;
|
|
1553
1553
|
this.n9_1 = 16;
|
|
1554
1554
|
this.m9_1 = 9;
|
|
1555
1555
|
continue $sm;
|
|
@@ -1559,7 +1559,7 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1559
1559
|
if (tmp_3 instanceof Error) {
|
|
1560
1560
|
var cause = this.p9_1;
|
|
1561
1561
|
var tmp_4 = this;
|
|
1562
|
-
invoke$logRequestException(this.
|
|
1562
|
+
invoke$logRequestException(this.yrz_1, this.vrz_1, this.cs0_1, cause);
|
|
1563
1563
|
throw cause;
|
|
1564
1564
|
} else {
|
|
1565
1565
|
throw this.p9_1;
|
|
@@ -1570,26 +1570,26 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1570
1570
|
var t = this.p9_1;
|
|
1571
1571
|
throw t;
|
|
1572
1572
|
case 9:
|
|
1573
|
-
this.
|
|
1573
|
+
this.gs0_1;
|
|
1574
1574
|
this.n9_1 = 16;
|
|
1575
1575
|
return Unit_instance;
|
|
1576
1576
|
case 10:
|
|
1577
1577
|
var content = suspendResult;
|
|
1578
|
-
if (this.
|
|
1579
|
-
this.
|
|
1578
|
+
if (this.fs0_1.g1() > 0) {
|
|
1579
|
+
this.vrz_1.krq(joinToString(this.fs0_1, '\n'));
|
|
1580
1580
|
}
|
|
1581
1581
|
|
|
1582
1582
|
this.n9_1 = 14;
|
|
1583
1583
|
if (!(content == null)) {
|
|
1584
1584
|
this.m9_1 = 12;
|
|
1585
|
-
suspendResult = this.
|
|
1585
|
+
suspendResult = this.bs0_1.krt(content, this);
|
|
1586
1586
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1587
1587
|
return suspendResult;
|
|
1588
1588
|
}
|
|
1589
1589
|
continue $sm;
|
|
1590
1590
|
} else {
|
|
1591
1591
|
this.m9_1 = 11;
|
|
1592
|
-
suspendResult = this.
|
|
1592
|
+
suspendResult = this.bs0_1.lrt(this);
|
|
1593
1593
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1594
1594
|
return suspendResult;
|
|
1595
1595
|
}
|
|
@@ -1597,15 +1597,15 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
1599
|
case 11:
|
|
1600
|
-
this.
|
|
1600
|
+
this.es0_1 = suspendResult;
|
|
1601
1601
|
this.m9_1 = 13;
|
|
1602
1602
|
continue $sm;
|
|
1603
1603
|
case 12:
|
|
1604
|
-
this.
|
|
1604
|
+
this.es0_1 = suspendResult;
|
|
1605
1605
|
this.m9_1 = 13;
|
|
1606
1606
|
continue $sm;
|
|
1607
1607
|
case 13:
|
|
1608
|
-
this.
|
|
1608
|
+
this.ds0_1 = this.es0_1;
|
|
1609
1609
|
this.n9_1 = 16;
|
|
1610
1610
|
this.m9_1 = 15;
|
|
1611
1611
|
continue $sm;
|
|
@@ -1615,7 +1615,7 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1615
1615
|
if (tmp_5 instanceof Error) {
|
|
1616
1616
|
var cause_0 = this.p9_1;
|
|
1617
1617
|
var tmp_6 = this;
|
|
1618
|
-
this.
|
|
1618
|
+
this.vrz_1.krq('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1619
1619
|
throw cause_0;
|
|
1620
1620
|
} else {
|
|
1621
1621
|
throw this.p9_1;
|
|
@@ -1638,37 +1638,37 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
while (true);
|
|
1640
1640
|
};
|
|
1641
|
-
protoOf(Logging$lambda$slambda).
|
|
1642
|
-
var i = new Logging$lambda$slambda(this.
|
|
1643
|
-
i.
|
|
1644
|
-
i.
|
|
1641
|
+
protoOf(Logging$lambda$slambda).ks0 = function ($this$on, request, completion) {
|
|
1642
|
+
var i = new Logging$lambda$slambda(this.urz_1, this.vrz_1, this.wrz_1, this.xrz_1, this.yrz_1, this.zrz_1, this.as0_1, completion);
|
|
1643
|
+
i.bs0_1 = $this$on;
|
|
1644
|
+
i.cs0_1 = request;
|
|
1645
1645
|
return i;
|
|
1646
1646
|
};
|
|
1647
1647
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1648
1648
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1649
1649
|
var l = function ($this$on, request, $completion) {
|
|
1650
|
-
return i.
|
|
1650
|
+
return i.js0($this$on, request, $completion);
|
|
1651
1651
|
};
|
|
1652
1652
|
l.$arity = 2;
|
|
1653
1653
|
return l;
|
|
1654
1654
|
}
|
|
1655
1655
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1660
|
-
this.
|
|
1656
|
+
this.ts0_1 = $okHttpFormat;
|
|
1657
|
+
this.us0_1 = $logger;
|
|
1658
|
+
this.vs0_1 = $sanitizedHeaders;
|
|
1659
|
+
this.ws0_1 = $level;
|
|
1660
|
+
this.xs0_1 = $bodyFilter;
|
|
1661
1661
|
CoroutineImpl.call(this, resultContinuation);
|
|
1662
1662
|
}
|
|
1663
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1664
|
-
var tmp = this.
|
|
1663
|
+
protoOf(Logging$lambda$slambda_1).bs1 = function ($this$on, response, $completion) {
|
|
1664
|
+
var tmp = this.cs1($this$on, response, $completion);
|
|
1665
1665
|
tmp.o9_1 = Unit_instance;
|
|
1666
1666
|
tmp.p9_1 = null;
|
|
1667
1667
|
return tmp.u9();
|
|
1668
1668
|
};
|
|
1669
1669
|
protoOf(Logging$lambda$slambda_1).ha = function (p1, p2, $completion) {
|
|
1670
1670
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1671
|
-
return this.
|
|
1671
|
+
return this.bs1(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1672
1672
|
};
|
|
1673
1673
|
protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
1674
1674
|
var suspendResult = this.o9_1;
|
|
@@ -1678,11 +1678,11 @@ protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
|
1678
1678
|
switch (tmp) {
|
|
1679
1679
|
case 0:
|
|
1680
1680
|
this.n9_1 = 5;
|
|
1681
|
-
if (this.
|
|
1681
|
+
if (this.ts0_1) {
|
|
1682
1682
|
var tmp_0 = this;
|
|
1683
|
-
tmp_0.
|
|
1683
|
+
tmp_0.as1_1 = ArrayList_init_$Create$();
|
|
1684
1684
|
this.m9_1 = 1;
|
|
1685
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1685
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.vs0_1, this.ws0_1, this.xs0_1, this.zs0_1, this.as1_1, this);
|
|
1686
1686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1687
1687
|
return suspendResult;
|
|
1688
1688
|
}
|
|
@@ -1694,13 +1694,13 @@ protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
|
1694
1694
|
|
|
1695
1695
|
case 1:
|
|
1696
1696
|
var newResponse = suspendResult;
|
|
1697
|
-
if (this.
|
|
1698
|
-
this.
|
|
1697
|
+
if (this.as1_1.g1() > 0) {
|
|
1698
|
+
this.us0_1.krq(joinToString(this.as1_1, '\n'));
|
|
1699
1699
|
}
|
|
1700
1700
|
|
|
1701
|
-
if (!equals(newResponse, this.
|
|
1701
|
+
if (!equals(newResponse, this.zs0_1)) {
|
|
1702
1702
|
this.m9_1 = 2;
|
|
1703
|
-
suspendResult = this.
|
|
1703
|
+
suspendResult = this.ys0_1.m5t(newResponse, this);
|
|
1704
1704
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1705
1705
|
return suspendResult;
|
|
1706
1706
|
}
|
|
@@ -1732,35 +1732,35 @@ protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
while (true);
|
|
1734
1734
|
};
|
|
1735
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1736
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1737
|
-
i.
|
|
1738
|
-
i.
|
|
1735
|
+
protoOf(Logging$lambda$slambda_1).cs1 = function ($this$on, response, completion) {
|
|
1736
|
+
var i = new Logging$lambda$slambda_1(this.ts0_1, this.us0_1, this.vs0_1, this.ws0_1, this.xs0_1, completion);
|
|
1737
|
+
i.ys0_1 = $this$on;
|
|
1738
|
+
i.zs0_1 = response;
|
|
1739
1739
|
return i;
|
|
1740
1740
|
};
|
|
1741
1741
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1742
1742
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1743
1743
|
var l = function ($this$on, response, $completion) {
|
|
1744
|
-
return i.
|
|
1744
|
+
return i.bs1($this$on, response, $completion);
|
|
1745
1745
|
};
|
|
1746
1746
|
l.$arity = 2;
|
|
1747
1747
|
return l;
|
|
1748
1748
|
}
|
|
1749
1749
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1750
|
-
this.
|
|
1751
|
-
this.
|
|
1752
|
-
this.
|
|
1750
|
+
this.ls1_1 = $okHttpFormat;
|
|
1751
|
+
this.ms1_1 = $level;
|
|
1752
|
+
this.ns1_1 = $sanitizedHeaders;
|
|
1753
1753
|
CoroutineImpl.call(this, resultContinuation);
|
|
1754
1754
|
}
|
|
1755
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1756
|
-
var tmp = this.
|
|
1755
|
+
protoOf(Logging$lambda$slambda_3).ws1 = function ($this$on, response, $completion) {
|
|
1756
|
+
var tmp = this.xs1($this$on, response, $completion);
|
|
1757
1757
|
tmp.o9_1 = Unit_instance;
|
|
1758
1758
|
tmp.p9_1 = null;
|
|
1759
1759
|
return tmp.u9();
|
|
1760
1760
|
};
|
|
1761
1761
|
protoOf(Logging$lambda$slambda_3).ha = function (p1, p2, $completion) {
|
|
1762
1762
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1763
|
-
return this.
|
|
1763
|
+
return this.ws1(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1764
1764
|
};
|
|
1765
1765
|
protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
1766
1766
|
var suspendResult = this.o9_1;
|
|
@@ -1770,28 +1770,28 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1770
1770
|
switch (tmp) {
|
|
1771
1771
|
case 0:
|
|
1772
1772
|
this.n9_1 = 14;
|
|
1773
|
-
if (this.
|
|
1773
|
+
if (this.ls1_1)
|
|
1774
1774
|
return Unit_instance;
|
|
1775
|
-
if (this.
|
|
1775
|
+
if (this.ms1_1.equals(LogLevel_NONE_getInstance()) || this.ps1_1.d4k().w4j().p38(get_DisableLogging()))
|
|
1776
1776
|
return Unit_instance;
|
|
1777
|
-
this.
|
|
1778
|
-
this.
|
|
1779
|
-
this.
|
|
1777
|
+
this.rs1_1 = this.ps1_1.d4k().w4j().n38(get_ClientCallLogger());
|
|
1778
|
+
this.ts1_1 = StringBuilder_init_$Create$();
|
|
1779
|
+
this.ss1_1 = false;
|
|
1780
1780
|
this.m9_1 = 1;
|
|
1781
1781
|
continue $sm;
|
|
1782
1782
|
case 1:
|
|
1783
1783
|
this.n9_1 = 4;
|
|
1784
1784
|
this.n9_1 = 3;
|
|
1785
|
-
logResponseHeader(this.
|
|
1785
|
+
logResponseHeader(this.ts1_1, this.ps1_1.d4k().m4h(), this.ms1_1, this.ns1_1);
|
|
1786
1786
|
this.m9_1 = 2;
|
|
1787
|
-
suspendResult = this.
|
|
1787
|
+
suspendResult = this.os1_1.mru(this);
|
|
1788
1788
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1789
1789
|
return suspendResult;
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
1792
|
continue $sm;
|
|
1793
1793
|
case 2:
|
|
1794
|
-
this.
|
|
1794
|
+
this.us1_1 = suspendResult;
|
|
1795
1795
|
this.n9_1 = 14;
|
|
1796
1796
|
this.m9_1 = 9;
|
|
1797
1797
|
continue $sm;
|
|
@@ -1801,8 +1801,8 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1801
1801
|
if (tmp_0 instanceof Error) {
|
|
1802
1802
|
var cause = this.p9_1;
|
|
1803
1803
|
var tmp_1 = this;
|
|
1804
|
-
invoke$logResponseException(this.
|
|
1805
|
-
this.
|
|
1804
|
+
invoke$logResponseException(this.ms1_1, this.ts1_1, this.ps1_1.d4k().v4j(), cause);
|
|
1805
|
+
this.ss1_1 = true;
|
|
1806
1806
|
throw cause;
|
|
1807
1807
|
} else {
|
|
1808
1808
|
throw this.p9_1;
|
|
@@ -1810,19 +1810,19 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1810
1810
|
|
|
1811
1811
|
case 4:
|
|
1812
1812
|
this.n9_1 = 14;
|
|
1813
|
-
this.
|
|
1814
|
-
this.
|
|
1815
|
-
if (this.
|
|
1813
|
+
this.vs1_1 = this.p9_1;
|
|
1814
|
+
this.rs1_1.frr(this.ts1_1.toString());
|
|
1815
|
+
if (this.ss1_1 || !this.ms1_1.qrs_1) {
|
|
1816
1816
|
this.m9_1 = 7;
|
|
1817
|
-
suspendResult = this.
|
|
1817
|
+
suspendResult = this.rs1_1.jrr(this);
|
|
1818
1818
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1819
1819
|
return suspendResult;
|
|
1820
1820
|
}
|
|
1821
1821
|
continue $sm;
|
|
1822
1822
|
} else {
|
|
1823
|
-
if (this.
|
|
1823
|
+
if (this.ms1_1.qrs_1 && get_isSaved(this.ps1_1)) {
|
|
1824
1824
|
this.m9_1 = 5;
|
|
1825
|
-
suspendResult = logResponseBody(this.
|
|
1825
|
+
suspendResult = logResponseBody(this.rs1_1, this.ps1_1, this);
|
|
1826
1826
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1827
1827
|
return suspendResult;
|
|
1828
1828
|
}
|
|
@@ -1835,7 +1835,7 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1835
1835
|
|
|
1836
1836
|
case 5:
|
|
1837
1837
|
this.m9_1 = 6;
|
|
1838
|
-
suspendResult = this.
|
|
1838
|
+
suspendResult = this.rs1_1.jrr(this);
|
|
1839
1839
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1840
1840
|
return suspendResult;
|
|
1841
1841
|
}
|
|
@@ -1848,22 +1848,22 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1848
1848
|
this.m9_1 = 8;
|
|
1849
1849
|
continue $sm;
|
|
1850
1850
|
case 8:
|
|
1851
|
-
throw this.
|
|
1851
|
+
throw this.vs1_1;
|
|
1852
1852
|
case 9:
|
|
1853
|
-
this.
|
|
1853
|
+
this.qs1_1 = this.us1_1;
|
|
1854
1854
|
this.n9_1 = 14;
|
|
1855
|
-
this.
|
|
1856
|
-
if (this.
|
|
1855
|
+
this.rs1_1.frr(this.ts1_1.toString());
|
|
1856
|
+
if (this.ss1_1 || !this.ms1_1.qrs_1) {
|
|
1857
1857
|
this.m9_1 = 12;
|
|
1858
|
-
suspendResult = this.
|
|
1858
|
+
suspendResult = this.rs1_1.jrr(this);
|
|
1859
1859
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1860
1860
|
return suspendResult;
|
|
1861
1861
|
}
|
|
1862
1862
|
continue $sm;
|
|
1863
1863
|
} else {
|
|
1864
|
-
if (this.
|
|
1864
|
+
if (this.ms1_1.qrs_1 && get_isSaved(this.ps1_1)) {
|
|
1865
1865
|
this.m9_1 = 10;
|
|
1866
|
-
suspendResult = logResponseBody(this.
|
|
1866
|
+
suspendResult = logResponseBody(this.rs1_1, this.ps1_1, this);
|
|
1867
1867
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1868
1868
|
return suspendResult;
|
|
1869
1869
|
}
|
|
@@ -1876,7 +1876,7 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1876
1876
|
|
|
1877
1877
|
case 10:
|
|
1878
1878
|
this.m9_1 = 11;
|
|
1879
|
-
suspendResult = this.
|
|
1879
|
+
suspendResult = this.rs1_1.jrr(this);
|
|
1880
1880
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1881
1881
|
return suspendResult;
|
|
1882
1882
|
}
|
|
@@ -1904,35 +1904,35 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
while (true);
|
|
1906
1906
|
};
|
|
1907
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1908
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1909
|
-
i.
|
|
1910
|
-
i.
|
|
1907
|
+
protoOf(Logging$lambda$slambda_3).xs1 = function ($this$on, response, completion) {
|
|
1908
|
+
var i = new Logging$lambda$slambda_3(this.ls1_1, this.ms1_1, this.ns1_1, completion);
|
|
1909
|
+
i.os1_1 = $this$on;
|
|
1910
|
+
i.ps1_1 = response;
|
|
1911
1911
|
return i;
|
|
1912
1912
|
};
|
|
1913
1913
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1914
1914
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1915
1915
|
var l = function ($this$on, response, $completion) {
|
|
1916
|
-
return i.
|
|
1916
|
+
return i.ws1($this$on, response, $completion);
|
|
1917
1917
|
};
|
|
1918
1918
|
l.$arity = 2;
|
|
1919
1919
|
return l;
|
|
1920
1920
|
}
|
|
1921
1921
|
function Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation) {
|
|
1922
|
-
this.
|
|
1923
|
-
this.
|
|
1924
|
-
this.
|
|
1922
|
+
this.gs2_1 = $okHttpFormat;
|
|
1923
|
+
this.hs2_1 = $level;
|
|
1924
|
+
this.is2_1 = $logger;
|
|
1925
1925
|
CoroutineImpl.call(this, resultContinuation);
|
|
1926
1926
|
}
|
|
1927
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1928
|
-
var tmp = this.
|
|
1927
|
+
protoOf(Logging$lambda$slambda_5).os2 = function ($this$on, call, $completion) {
|
|
1928
|
+
var tmp = this.ps2($this$on, call, $completion);
|
|
1929
1929
|
tmp.o9_1 = Unit_instance;
|
|
1930
1930
|
tmp.p9_1 = null;
|
|
1931
1931
|
return tmp.u9();
|
|
1932
1932
|
};
|
|
1933
1933
|
protoOf(Logging$lambda$slambda_5).ha = function (p1, p2, $completion) {
|
|
1934
1934
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1935
|
-
return this.
|
|
1935
|
+
return this.os2(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1936
1936
|
};
|
|
1937
1937
|
protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
1938
1938
|
var suspendResult = this.o9_1;
|
|
@@ -1942,22 +1942,22 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1942
1942
|
switch (tmp) {
|
|
1943
1943
|
case 0:
|
|
1944
1944
|
this.n9_1 = 6;
|
|
1945
|
-
if (this.
|
|
1945
|
+
if (this.gs2_1)
|
|
1946
1946
|
return Unit_instance;
|
|
1947
|
-
if (this.
|
|
1947
|
+
if (this.hs2_1.equals(LogLevel_NONE_getInstance()) || this.ks2_1.w4j().p38(get_DisableLogging())) {
|
|
1948
1948
|
return Unit_instance;
|
|
1949
1949
|
}
|
|
1950
1950
|
|
|
1951
1951
|
this.n9_1 = 2;
|
|
1952
1952
|
this.m9_1 = 1;
|
|
1953
|
-
suspendResult = this.
|
|
1953
|
+
suspendResult = this.js2_1.arv(this);
|
|
1954
1954
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1955
1955
|
return suspendResult;
|
|
1956
1956
|
}
|
|
1957
1957
|
|
|
1958
1958
|
continue $sm;
|
|
1959
1959
|
case 1:
|
|
1960
|
-
this.
|
|
1960
|
+
this.ls2_1 = suspendResult;
|
|
1961
1961
|
this.n9_1 = 6;
|
|
1962
1962
|
this.m9_1 = 5;
|
|
1963
1963
|
continue $sm;
|
|
@@ -1965,22 +1965,22 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1965
1965
|
this.n9_1 = 6;
|
|
1966
1966
|
var tmp_0 = this.p9_1;
|
|
1967
1967
|
if (tmp_0 instanceof Error) {
|
|
1968
|
-
this.
|
|
1968
|
+
this.ms2_1 = this.p9_1;
|
|
1969
1969
|
var log = StringBuilder_init_$Create$();
|
|
1970
1970
|
var tmp_1 = this;
|
|
1971
|
-
var tmp0_elvis_lhs = this.
|
|
1971
|
+
var tmp0_elvis_lhs = this.ks2_1.w4j().o38(get_ClientCallLogger());
|
|
1972
1972
|
var tmp_2;
|
|
1973
1973
|
if (tmp0_elvis_lhs == null) {
|
|
1974
|
-
var this_0 = new HttpClientCallLogger(this.
|
|
1975
|
-
this_0.
|
|
1974
|
+
var this_0 = new HttpClientCallLogger(this.is2_1);
|
|
1975
|
+
this_0.irr();
|
|
1976
1976
|
tmp_2 = this_0;
|
|
1977
1977
|
} else {
|
|
1978
1978
|
tmp_2 = tmp0_elvis_lhs;
|
|
1979
1979
|
}
|
|
1980
|
-
tmp_1.
|
|
1981
|
-
invoke$logResponseException(this.
|
|
1980
|
+
tmp_1.ns2_1 = tmp_2;
|
|
1981
|
+
invoke$logResponseException(this.hs2_1, log, this.ks2_1.v4j(), this.ms2_1);
|
|
1982
1982
|
this.m9_1 = 3;
|
|
1983
|
-
suspendResult = this.
|
|
1983
|
+
suspendResult = this.ns2_1.grr(log.toString(), this);
|
|
1984
1984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1985
1985
|
return suspendResult;
|
|
1986
1986
|
}
|
|
@@ -1991,7 +1991,7 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1991
1991
|
|
|
1992
1992
|
case 3:
|
|
1993
1993
|
this.m9_1 = 4;
|
|
1994
|
-
suspendResult = this.
|
|
1994
|
+
suspendResult = this.ns2_1.jrr(this);
|
|
1995
1995
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1996
1996
|
return suspendResult;
|
|
1997
1997
|
}
|
|
@@ -1999,7 +1999,7 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1999
1999
|
continue $sm;
|
|
2000
2000
|
case 4:
|
|
2001
2001
|
var tmp_3 = this;
|
|
2002
|
-
throw this.
|
|
2002
|
+
throw this.ms2_1;
|
|
2003
2003
|
case 5:
|
|
2004
2004
|
this.n9_1 = 6;
|
|
2005
2005
|
return Unit_instance;
|
|
@@ -2017,16 +2017,16 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
2017
2017
|
}
|
|
2018
2018
|
while (true);
|
|
2019
2019
|
};
|
|
2020
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2021
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2022
|
-
i.
|
|
2023
|
-
i.
|
|
2020
|
+
protoOf(Logging$lambda$slambda_5).ps2 = function ($this$on, call, completion) {
|
|
2021
|
+
var i = new Logging$lambda$slambda_5(this.gs2_1, this.hs2_1, this.is2_1, completion);
|
|
2022
|
+
i.js2_1 = $this$on;
|
|
2023
|
+
i.ks2_1 = call;
|
|
2024
2024
|
return i;
|
|
2025
2025
|
};
|
|
2026
2026
|
function Logging$lambda$slambda_6($okHttpFormat, $level, $logger, resultContinuation) {
|
|
2027
2027
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation);
|
|
2028
2028
|
var l = function ($this$on, call, $completion) {
|
|
2029
|
-
return i.
|
|
2029
|
+
return i.os2($this$on, call, $completion);
|
|
2030
2030
|
};
|
|
2031
2031
|
l.$arity = 2;
|
|
2032
2032
|
return l;
|
|
@@ -2036,7 +2036,7 @@ function Logging$lambda$lambda$lambda(it) {
|
|
|
2036
2036
|
return !get_isSaved(it.m4h());
|
|
2037
2037
|
}
|
|
2038
2038
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2039
|
-
this.
|
|
2039
|
+
this.ys2_1 = $level;
|
|
2040
2040
|
CoroutineImpl.call(this, resultContinuation);
|
|
2041
2041
|
}
|
|
2042
2042
|
protoOf(Logging$lambda$lambda$slambda).k4t = function (response, $completion) {
|
|
@@ -2056,11 +2056,11 @@ protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
|
2056
2056
|
switch (tmp) {
|
|
2057
2057
|
case 0:
|
|
2058
2058
|
this.n9_1 = 3;
|
|
2059
|
-
if (this.
|
|
2059
|
+
if (this.ys2_1.equals(LogLevel_NONE_getInstance()) || this.zs2_1.d4k().w4j().p38(get_DisableLogging()))
|
|
2060
2060
|
return Unit_instance;
|
|
2061
|
-
this.
|
|
2061
|
+
this.as3_1 = this.zs2_1.d4k().w4j().n38(get_ClientCallLogger());
|
|
2062
2062
|
this.m9_1 = 1;
|
|
2063
|
-
suspendResult = logResponseBody(this.
|
|
2063
|
+
suspendResult = logResponseBody(this.as3_1, this.zs2_1, this);
|
|
2064
2064
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2065
2065
|
return suspendResult;
|
|
2066
2066
|
}
|
|
@@ -2068,7 +2068,7 @@ protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
|
2068
2068
|
continue $sm;
|
|
2069
2069
|
case 1:
|
|
2070
2070
|
this.m9_1 = 2;
|
|
2071
|
-
suspendResult = this.
|
|
2071
|
+
suspendResult = this.as3_1.jrr(this);
|
|
2072
2072
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2073
2073
|
return suspendResult;
|
|
2074
2074
|
}
|
|
@@ -2091,8 +2091,8 @@ protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
|
2091
2091
|
while (true);
|
|
2092
2092
|
};
|
|
2093
2093
|
protoOf(Logging$lambda$lambda$slambda).y4r = function (response, completion) {
|
|
2094
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2095
|
-
i.
|
|
2094
|
+
var i = new Logging$lambda$lambda$slambda(this.ys2_1, completion);
|
|
2095
|
+
i.zs2_1 = response;
|
|
2096
2096
|
return i;
|
|
2097
2097
|
};
|
|
2098
2098
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
@@ -2112,14 +2112,14 @@ function Logging$lambda$lambda($level) {
|
|
|
2112
2112
|
}
|
|
2113
2113
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2114
2114
|
CoroutineImpl.call(this, resultContinuation);
|
|
2115
|
-
this.
|
|
2116
|
-
this.
|
|
2117
|
-
this.
|
|
2118
|
-
this.
|
|
2119
|
-
this.
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2122
|
-
this.
|
|
2115
|
+
this.wrw_1 = bodyFilter;
|
|
2116
|
+
this.xrw_1 = url;
|
|
2117
|
+
this.yrw_1 = content;
|
|
2118
|
+
this.zrw_1 = contentLength;
|
|
2119
|
+
this.arx_1 = headers;
|
|
2120
|
+
this.brx_1 = method;
|
|
2121
|
+
this.crx_1 = logLines;
|
|
2122
|
+
this.drx_1 = body;
|
|
2123
2123
|
}
|
|
2124
2124
|
protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
2125
2125
|
var suspendResult = this.o9_1;
|
|
@@ -2130,7 +2130,7 @@ protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
|
2130
2130
|
case 0:
|
|
2131
2131
|
this.n9_1 = 2;
|
|
2132
2132
|
this.m9_1 = 1;
|
|
2133
|
-
suspendResult = this.
|
|
2133
|
+
suspendResult = this.wrw_1.krr(this.xrw_1, this.zrw_1, this.yrw_1.z3w(), this.arx_1, this.drx_1, this);
|
|
2134
2134
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2135
2135
|
return suspendResult;
|
|
2136
2136
|
}
|
|
@@ -2139,29 +2139,29 @@ protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
|
2139
2139
|
case 1:
|
|
2140
2140
|
var filteredBody = suspendResult;
|
|
2141
2141
|
if (filteredBody instanceof Empty) {
|
|
2142
|
-
this.
|
|
2142
|
+
this.crx_1.e1('--> END ' + this.brx_1.l3r_1 + ' (0-byte body)');
|
|
2143
2143
|
} else {
|
|
2144
2144
|
if (filteredBody instanceof Skip) {
|
|
2145
2145
|
var this_0 = StringBuilder_init_$Create$();
|
|
2146
|
-
this_0.q('--> END ' + this.
|
|
2147
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2146
|
+
this_0.q('--> END ' + this.brx_1.l3r_1 + ' (');
|
|
2147
|
+
var tmp0_safe_receiver = filteredBody.orr_1;
|
|
2148
2148
|
if (tmp0_safe_receiver == null)
|
|
2149
2149
|
null;
|
|
2150
2150
|
else {
|
|
2151
2151
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2152
2152
|
}
|
|
2153
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2153
|
+
var tmp1_safe_receiver = filteredBody.prr_1;
|
|
2154
2154
|
if (tmp1_safe_receiver == null)
|
|
2155
2155
|
null;
|
|
2156
2156
|
else {
|
|
2157
2157
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2158
2158
|
}
|
|
2159
2159
|
this_0.q('body omitted)');
|
|
2160
|
-
this.
|
|
2160
|
+
this.crx_1.e1(this_0.toString());
|
|
2161
2161
|
} else {
|
|
2162
2162
|
if (isInterface(filteredBody, Content)) {
|
|
2163
|
-
this.
|
|
2164
|
-
this.
|
|
2163
|
+
this.crx_1.e1(filteredBody.w6g());
|
|
2164
|
+
this.crx_1.e1('--> END ' + this.brx_1.l3r_1 + ' (' + toString_0(filteredBody.nrr()) + '-byte body)');
|
|
2165
2165
|
} else {
|
|
2166
2166
|
noWhenBranchMatchedException();
|
|
2167
2167
|
}
|
|
@@ -2185,14 +2185,14 @@ protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
|
2185
2185
|
};
|
|
2186
2186
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2187
2187
|
CoroutineImpl.call(this, resultContinuation);
|
|
2188
|
-
this.
|
|
2189
|
-
this.
|
|
2190
|
-
this.
|
|
2191
|
-
this.
|
|
2192
|
-
this.
|
|
2193
|
-
this.
|
|
2194
|
-
this.
|
|
2195
|
-
this.
|
|
2188
|
+
this.mrx_1 = $this_createClientPlugin;
|
|
2189
|
+
this.nrx_1 = bodyFilter;
|
|
2190
|
+
this.orx_1 = url;
|
|
2191
|
+
this.prx_1 = content;
|
|
2192
|
+
this.qrx_1 = method;
|
|
2193
|
+
this.rrx_1 = headers;
|
|
2194
|
+
this.srx_1 = logLines;
|
|
2195
|
+
this.trx_1 = process;
|
|
2196
2196
|
}
|
|
2197
2197
|
protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
2198
2198
|
var suspendResult = this.o9_1;
|
|
@@ -2202,10 +2202,10 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2202
2202
|
switch (tmp) {
|
|
2203
2203
|
case 0:
|
|
2204
2204
|
this.n9_1 = 7;
|
|
2205
|
-
var tmp0_subject = this.
|
|
2205
|
+
var tmp0_subject = this.prx_1;
|
|
2206
2206
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2207
2207
|
this.m9_1 = 5;
|
|
2208
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2208
|
+
suspendResult = invoke$logOutgoingContent(this.mrx_1, this.nrx_1, this.orx_1, this.prx_1.y4m_1, this.qrx_1, this.rrx_1, this.srx_1, this.trx_1, this);
|
|
2209
2209
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2210
2210
|
return suspendResult;
|
|
2211
2211
|
}
|
|
@@ -2213,41 +2213,41 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2213
2213
|
} else {
|
|
2214
2214
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2215
2215
|
var tmp_0 = this;
|
|
2216
|
-
var _iterator__ex2g4s = this.
|
|
2216
|
+
var _iterator__ex2g4s = this.prx_1.v60_1.t();
|
|
2217
2217
|
while (_iterator__ex2g4s.u()) {
|
|
2218
2218
|
var part = _iterator__ex2g4s.v();
|
|
2219
|
-
this.
|
|
2219
|
+
this.srx_1.e1('--' + this.prx_1.w60_1);
|
|
2220
2220
|
var _iterator__ex2g4s_0 = part.m61_1.h3d().t();
|
|
2221
2221
|
while (_iterator__ex2g4s_0.u()) {
|
|
2222
2222
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2223
2223
|
var key = _destruct__k2r9zo.m1();
|
|
2224
2224
|
var values = _destruct__k2r9zo.n1();
|
|
2225
|
-
this.
|
|
2225
|
+
this.srx_1.e1(key + ': ' + joinToString(values, '; '));
|
|
2226
2226
|
}
|
|
2227
2227
|
if (part instanceof FormItem) {
|
|
2228
|
-
this.
|
|
2229
|
-
this.
|
|
2230
|
-
this.
|
|
2228
|
+
this.srx_1.e1('Content-Length: ' + part.q61_1.length);
|
|
2229
|
+
this.srx_1.e1('');
|
|
2230
|
+
this.srx_1.e1(part.q61_1);
|
|
2231
2231
|
} else {
|
|
2232
|
-
this.
|
|
2232
|
+
this.srx_1.e1('');
|
|
2233
2233
|
var contentLength = part.m61_1.ee('Content-Length');
|
|
2234
2234
|
if (!(contentLength == null)) {
|
|
2235
|
-
this.
|
|
2235
|
+
this.srx_1.e1('binary ' + contentLength + '-byte body omitted');
|
|
2236
2236
|
} else {
|
|
2237
|
-
this.
|
|
2237
|
+
this.srx_1.e1('binary body omitted');
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
2240
2240
|
}
|
|
2241
|
-
this.
|
|
2242
|
-
this.
|
|
2243
|
-
tmp_0.
|
|
2241
|
+
this.srx_1.e1('--' + this.prx_1.w60_1 + '--');
|
|
2242
|
+
this.srx_1.e1('--> END ' + this.qrx_1.l3r_1);
|
|
2243
|
+
tmp_0.urx_1 = null;
|
|
2244
2244
|
this.m9_1 = 6;
|
|
2245
2245
|
continue $sm;
|
|
2246
2246
|
} else {
|
|
2247
2247
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2248
|
-
var bytes = this.
|
|
2248
|
+
var bytes = this.prx_1.c3x();
|
|
2249
2249
|
this.m9_1 = 4;
|
|
2250
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2250
|
+
suspendResult = invoke$logRequestBody(this.nrx_1, this.orx_1, this.prx_1, fromInt(bytes.length), this.rrx_1, this.qrx_1, this.srx_1, ByteReadChannel(bytes), this);
|
|
2251
2251
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2252
2252
|
return suspendResult;
|
|
2253
2253
|
}
|
|
@@ -2255,7 +2255,7 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2255
2255
|
} else {
|
|
2256
2256
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2257
2257
|
this.m9_1 = 3;
|
|
2258
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2258
|
+
suspendResult = invoke$logOutgoingContent(this.mrx_1, this.nrx_1, this.orx_1, this.prx_1.g3x(), this.qrx_1, this.rrx_1, this.srx_1, this.trx_1, this);
|
|
2259
2259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2260
2260
|
return suspendResult;
|
|
2261
2261
|
}
|
|
@@ -2263,24 +2263,24 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2263
2263
|
} else {
|
|
2264
2264
|
if (tmp0_subject instanceof NoContent) {
|
|
2265
2265
|
var tmp_1 = this;
|
|
2266
|
-
this.
|
|
2267
|
-
tmp_1.
|
|
2266
|
+
this.srx_1.e1('--> END ' + this.qrx_1.l3r_1);
|
|
2267
|
+
tmp_1.urx_1 = null;
|
|
2268
2268
|
this.m9_1 = 6;
|
|
2269
2269
|
continue $sm;
|
|
2270
2270
|
} else {
|
|
2271
2271
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2272
2272
|
var tmp_2 = this;
|
|
2273
|
-
this.
|
|
2274
|
-
tmp_2.
|
|
2273
|
+
this.srx_1.e1('--> END ' + this.qrx_1.l3r_1);
|
|
2274
|
+
tmp_2.urx_1 = null;
|
|
2275
2275
|
this.m9_1 = 6;
|
|
2276
2276
|
continue $sm;
|
|
2277
2277
|
} else {
|
|
2278
2278
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2279
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2280
|
-
this.
|
|
2279
|
+
var _destruct__k2r9zo_0 = split(this.prx_1.n3x(), this.mrx_1.x4q_1);
|
|
2280
|
+
this.vrx_1 = _destruct__k2r9zo_0.ch();
|
|
2281
2281
|
var newChannel = _destruct__k2r9zo_0.dh();
|
|
2282
2282
|
this.m9_1 = 2;
|
|
2283
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2283
|
+
suspendResult = invoke$logRequestBody(this.nrx_1, this.orx_1, this.prx_1, this.prx_1.b3x(), this.rrx_1, this.qrx_1, this.srx_1, newChannel, this);
|
|
2284
2284
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2285
2285
|
return suspendResult;
|
|
2286
2286
|
}
|
|
@@ -2288,12 +2288,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2288
2288
|
} else {
|
|
2289
2289
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2290
2290
|
var channel = new ByteChannel();
|
|
2291
|
-
launch(this.
|
|
2292
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2293
|
-
this.
|
|
2291
|
+
launch(this.mrx_1.x4q_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.prx_1, channel, null));
|
|
2292
|
+
var _destruct__k2r9zo_1 = split(channel, this.mrx_1.x4q_1);
|
|
2293
|
+
this.wrx_1 = _destruct__k2r9zo_1.ch();
|
|
2294
2294
|
var newChannel_0 = _destruct__k2r9zo_1.dh();
|
|
2295
2295
|
this.m9_1 = 1;
|
|
2296
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2296
|
+
suspendResult = invoke$logRequestBody(this.nrx_1, this.orx_1, this.prx_1, this.prx_1.b3x(), this.rrx_1, this.qrx_1, this.srx_1, newChannel_0, this);
|
|
2297
2297
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2298
2298
|
return suspendResult;
|
|
2299
2299
|
}
|
|
@@ -2312,27 +2312,27 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2312
2312
|
|
|
2313
2313
|
break;
|
|
2314
2314
|
case 1:
|
|
2315
|
-
this.
|
|
2315
|
+
this.urx_1 = new LoggedContent(this.prx_1, this.wrx_1);
|
|
2316
2316
|
this.m9_1 = 6;
|
|
2317
2317
|
continue $sm;
|
|
2318
2318
|
case 2:
|
|
2319
|
-
this.
|
|
2319
|
+
this.urx_1 = new LoggedContent(this.prx_1, this.vrx_1);
|
|
2320
2320
|
this.m9_1 = 6;
|
|
2321
2321
|
continue $sm;
|
|
2322
2322
|
case 3:
|
|
2323
|
-
this.
|
|
2323
|
+
this.urx_1 = suspendResult;
|
|
2324
2324
|
this.m9_1 = 6;
|
|
2325
2325
|
continue $sm;
|
|
2326
2326
|
case 4:
|
|
2327
|
-
this.
|
|
2327
|
+
this.urx_1 = null;
|
|
2328
2328
|
this.m9_1 = 6;
|
|
2329
2329
|
continue $sm;
|
|
2330
2330
|
case 5:
|
|
2331
|
-
this.
|
|
2331
|
+
this.urx_1 = suspendResult;
|
|
2332
2332
|
this.m9_1 = 6;
|
|
2333
2333
|
continue $sm;
|
|
2334
2334
|
case 6:
|
|
2335
|
-
return this.
|
|
2335
|
+
return this.urx_1;
|
|
2336
2336
|
case 7:
|
|
2337
2337
|
throw this.p9_1;
|
|
2338
2338
|
}
|
|
@@ -2349,12 +2349,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2349
2349
|
};
|
|
2350
2350
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2351
2351
|
CoroutineImpl.call(this, resultContinuation);
|
|
2352
|
-
this.
|
|
2353
|
-
this.
|
|
2354
|
-
this.
|
|
2355
|
-
this.
|
|
2356
|
-
this.
|
|
2357
|
-
this.
|
|
2352
|
+
this.fry_1 = sanitizedHeaders;
|
|
2353
|
+
this.gry_1 = level;
|
|
2354
|
+
this.hry_1 = $this_createClientPlugin;
|
|
2355
|
+
this.iry_1 = bodyFilter;
|
|
2356
|
+
this.jry_1 = request;
|
|
2357
|
+
this.kry_1 = logLines;
|
|
2358
2358
|
}
|
|
2359
2359
|
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
2360
2360
|
var suspendResult = this.o9_1;
|
|
@@ -2364,22 +2364,22 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2364
2364
|
switch (tmp) {
|
|
2365
2365
|
case 0:
|
|
2366
2366
|
this.n9_1 = 4;
|
|
2367
|
-
if (invoke$isNone(this.
|
|
2367
|
+
if (invoke$isNone(this.gry_1))
|
|
2368
2368
|
return null;
|
|
2369
|
-
var uri = takeFrom(new URLBuilder(), this.
|
|
2370
|
-
var body = this.
|
|
2369
|
+
var uri = takeFrom(new URLBuilder(), this.jry_1.m4i_1).v1g().toString();
|
|
2370
|
+
var body = this.jry_1.p4i_1;
|
|
2371
2371
|
var this_0 = new HeadersBuilder();
|
|
2372
2372
|
var tmp_0;
|
|
2373
2373
|
var tmp_1;
|
|
2374
2374
|
var tmp_2;
|
|
2375
2375
|
if (body instanceof OutgoingContent) {
|
|
2376
|
-
tmp_2 = !this.
|
|
2376
|
+
tmp_2 = !this.jry_1.n4i_1.equals(Companion_getInstance().b3r_1);
|
|
2377
2377
|
} else {
|
|
2378
2378
|
tmp_2 = false;
|
|
2379
2379
|
}
|
|
2380
2380
|
|
|
2381
2381
|
if (tmp_2) {
|
|
2382
|
-
tmp_1 = !this.
|
|
2382
|
+
tmp_1 = !this.jry_1.n4i_1.equals(Companion_getInstance().g3r_1);
|
|
2383
2383
|
} else {
|
|
2384
2384
|
tmp_1 = false;
|
|
2385
2385
|
}
|
|
@@ -2405,16 +2405,16 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2405
2405
|
}
|
|
2406
2406
|
}
|
|
2407
2407
|
|
|
2408
|
-
appendAll(this_0, this.
|
|
2408
|
+
appendAll(this_0, this.jry_1.o4i_1);
|
|
2409
2409
|
var headers = this_0.v1g();
|
|
2410
2410
|
var tmp0_safe_receiver_0 = headers.ee('Content-Length');
|
|
2411
2411
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2412
2412
|
var tmp_3;
|
|
2413
|
-
if (this.
|
|
2414
|
-
tmp_3 = '--> ' + this.
|
|
2413
|
+
if (this.jry_1.n4i_1.equals(Companion_getInstance().b3r_1) || this.jry_1.n4i_1.equals(Companion_getInstance().g3r_1) || ((invoke$isHeaders(this.gry_1) || invoke$isBody(this.gry_1)) && !(contentLength == null)) || (invoke$isHeaders(this.gry_1) && contentLength == null) || headers.y3b('Content-Encoding')) {
|
|
2414
|
+
tmp_3 = '--> ' + this.jry_1.n4i_1.l3r_1 + ' ' + uri;
|
|
2415
2415
|
} else {
|
|
2416
|
-
if (invoke$isInfo(this.
|
|
2417
|
-
tmp_3 = '--> ' + this.
|
|
2416
|
+
if (invoke$isInfo(this.gry_1) && !(contentLength == null)) {
|
|
2417
|
+
tmp_3 = '--> ' + this.jry_1.n4i_1.l3r_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2418
2418
|
} else {
|
|
2419
2419
|
var tmp_4;
|
|
2420
2420
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2423,17 +2423,17 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2423
2423
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2424
2424
|
}
|
|
2425
2425
|
if (tmp_4) {
|
|
2426
|
-
tmp_3 = '--> ' + this.
|
|
2426
|
+
tmp_3 = '--> ' + this.jry_1.n4i_1.l3r_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2427
2427
|
} else {
|
|
2428
|
-
var size = computeRequestBodySize(this.
|
|
2429
|
-
tmp_3 = '--> ' + this.
|
|
2428
|
+
var size = computeRequestBodySize(this.jry_1.p4i_1);
|
|
2429
|
+
tmp_3 = '--> ' + this.jry_1.n4i_1.l3r_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2430
2430
|
}
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
2434
|
var startLine = tmp_3;
|
|
2435
|
-
this.
|
|
2436
|
-
if (!invoke$isHeaders(this.
|
|
2435
|
+
this.kry_1.e1(startLine);
|
|
2436
|
+
if (!invoke$isHeaders(this.gry_1) && !invoke$isBody(this.gry_1)) {
|
|
2437
2437
|
return null;
|
|
2438
2438
|
}
|
|
2439
2439
|
|
|
@@ -2442,13 +2442,13 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2442
2442
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2443
2443
|
var name = _destruct__k2r9zo.m1();
|
|
2444
2444
|
var values = _destruct__k2r9zo.n1();
|
|
2445
|
-
var tmp0 = this.
|
|
2445
|
+
var tmp0 = this.fry_1;
|
|
2446
2446
|
var tmp$ret$0 = Unit_instance;
|
|
2447
2447
|
l$ret$1: do {
|
|
2448
2448
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2449
2449
|
while (_iterator__ex2g4s_0.u()) {
|
|
2450
2450
|
var element = _iterator__ex2g4s_0.v();
|
|
2451
|
-
if (element.
|
|
2451
|
+
if (element.irt_1(name)) {
|
|
2452
2452
|
tmp$ret$0 = element;
|
|
2453
2453
|
break l$ret$1;
|
|
2454
2454
|
}
|
|
@@ -2457,35 +2457,35 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
while (false);
|
|
2459
2459
|
if (tmp$ret$0 == null) {
|
|
2460
|
-
this.
|
|
2460
|
+
this.kry_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2461
2461
|
} else {
|
|
2462
|
-
this.
|
|
2462
|
+
this.kry_1.e1(name + ': \u2588\u2588');
|
|
2463
2463
|
}
|
|
2464
2464
|
}
|
|
2465
2465
|
|
|
2466
|
-
if (!invoke$isBody(this.
|
|
2467
|
-
this.
|
|
2466
|
+
if (!invoke$isBody(this.gry_1) || this.jry_1.n4i_1.equals(Companion_getInstance().b3r_1) || this.jry_1.n4i_1.equals(Companion_getInstance().g3r_1)) {
|
|
2467
|
+
this.kry_1.e1('--> END ' + this.jry_1.n4i_1.l3r_1);
|
|
2468
2468
|
return null;
|
|
2469
2469
|
}
|
|
2470
2470
|
|
|
2471
|
-
this.
|
|
2471
|
+
this.kry_1.e1('');
|
|
2472
2472
|
if (!(body instanceof OutgoingContent)) {
|
|
2473
|
-
this.
|
|
2473
|
+
this.kry_1.e1('--> END ' + this.jry_1.n4i_1.l3r_1);
|
|
2474
2474
|
return null;
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
|
-
if (this.
|
|
2477
|
+
if (this.jry_1.o4i_1.ee('Content-Encoding') === 'gzip') {
|
|
2478
2478
|
this.m9_1 = 2;
|
|
2479
|
-
var tmp_5 = this.
|
|
2480
|
-
var tmp_6 = this.
|
|
2481
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2479
|
+
var tmp_5 = this.jry_1.m4i_1.v1g();
|
|
2480
|
+
var tmp_6 = this.jry_1.n4i_1;
|
|
2481
|
+
suspendResult = invoke$logOutgoingContent(this.hry_1, this.iry_1, tmp_5, body, tmp_6, headers, this.kry_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2482
2482
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2483
2483
|
return suspendResult;
|
|
2484
2484
|
}
|
|
2485
2485
|
continue $sm;
|
|
2486
2486
|
} else {
|
|
2487
2487
|
this.m9_1 = 1;
|
|
2488
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2488
|
+
suspendResult = invoke$logOutgoingContent(this.hry_1, this.iry_1, this.jry_1.m4i_1.v1g(), body, this.jry_1.n4i_1, headers, this.kry_1, VOID, this);
|
|
2489
2489
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2490
2490
|
return suspendResult;
|
|
2491
2491
|
}
|
|
@@ -2493,15 +2493,15 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
2495
|
case 1:
|
|
2496
|
-
this.
|
|
2496
|
+
this.lry_1 = suspendResult;
|
|
2497
2497
|
this.m9_1 = 3;
|
|
2498
2498
|
continue $sm;
|
|
2499
2499
|
case 2:
|
|
2500
|
-
this.
|
|
2500
|
+
this.lry_1 = suspendResult;
|
|
2501
2501
|
this.m9_1 = 3;
|
|
2502
2502
|
continue $sm;
|
|
2503
2503
|
case 3:
|
|
2504
|
-
var newContent = this.
|
|
2504
|
+
var newContent = this.lry_1;
|
|
2505
2505
|
return newContent;
|
|
2506
2506
|
case 4:
|
|
2507
2507
|
throw this.p9_1;
|
|
@@ -2519,10 +2519,10 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2519
2519
|
};
|
|
2520
2520
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2521
2521
|
CoroutineImpl.call(this, resultContinuation);
|
|
2522
|
-
this.
|
|
2523
|
-
this.
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2522
|
+
this.ury_1 = bodyFilter;
|
|
2523
|
+
this.vry_1 = response;
|
|
2524
|
+
this.wry_1 = body;
|
|
2525
|
+
this.xry_1 = logLines;
|
|
2526
2526
|
}
|
|
2527
2527
|
protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
2528
2528
|
var suspendResult = this.o9_1;
|
|
@@ -2532,9 +2532,9 @@ protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2532
2532
|
switch (tmp) {
|
|
2533
2533
|
case 0:
|
|
2534
2534
|
this.n9_1 = 2;
|
|
2535
|
-
this.
|
|
2535
|
+
this.xry_1.e1('');
|
|
2536
2536
|
this.m9_1 = 1;
|
|
2537
|
-
suspendResult = this.
|
|
2537
|
+
suspendResult = this.ury_1.mrr(this.vry_1.d4k().v4j().f4k(), contentLength(this.vry_1), contentType(this.vry_1), this.vry_1.a3r(), this.wry_1, this);
|
|
2538
2538
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2539
2539
|
return suspendResult;
|
|
2540
2540
|
}
|
|
@@ -2542,33 +2542,33 @@ protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2542
2542
|
continue $sm;
|
|
2543
2543
|
case 1:
|
|
2544
2544
|
var filteredBody = suspendResult;
|
|
2545
|
-
var duration = subtract(this.
|
|
2545
|
+
var duration = subtract(this.vry_1.p4k().f3f_1, this.vry_1.o4k().f3f_1);
|
|
2546
2546
|
if (filteredBody instanceof Empty) {
|
|
2547
|
-
this.
|
|
2547
|
+
this.xry_1.e1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2548
2548
|
} else {
|
|
2549
2549
|
if (filteredBody instanceof Skip) {
|
|
2550
2550
|
var this_0 = StringBuilder_init_$Create$();
|
|
2551
2551
|
this_0.q('<-- END HTTP (');
|
|
2552
2552
|
this_0.dd(duration);
|
|
2553
2553
|
this_0.q('ms, ');
|
|
2554
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2554
|
+
var tmp0_safe_receiver = filteredBody.orr_1;
|
|
2555
2555
|
if (tmp0_safe_receiver == null)
|
|
2556
2556
|
null;
|
|
2557
2557
|
else {
|
|
2558
2558
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2559
2559
|
}
|
|
2560
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2560
|
+
var tmp1_safe_receiver = filteredBody.prr_1;
|
|
2561
2561
|
if (tmp1_safe_receiver == null)
|
|
2562
2562
|
null;
|
|
2563
2563
|
else {
|
|
2564
2564
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2565
2565
|
}
|
|
2566
2566
|
this_0.q('body omitted)');
|
|
2567
|
-
this.
|
|
2567
|
+
this.xry_1.e1(this_0.toString());
|
|
2568
2568
|
} else {
|
|
2569
2569
|
if (isInterface(filteredBody, Content)) {
|
|
2570
|
-
this.
|
|
2571
|
-
this.
|
|
2570
|
+
this.xry_1.e1(filteredBody.w6g());
|
|
2571
|
+
this.xry_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.nrr()) + '-byte body)');
|
|
2572
2572
|
} else {
|
|
2573
2573
|
noWhenBranchMatchedException();
|
|
2574
2574
|
}
|
|
@@ -2592,11 +2592,11 @@ protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2592
2592
|
};
|
|
2593
2593
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2594
2594
|
CoroutineImpl.call(this, resultContinuation);
|
|
2595
|
-
this.
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2598
|
-
this.
|
|
2599
|
-
this.
|
|
2595
|
+
this.grz_1 = sanitizedHeaders;
|
|
2596
|
+
this.hrz_1 = level;
|
|
2597
|
+
this.irz_1 = bodyFilter;
|
|
2598
|
+
this.jrz_1 = response;
|
|
2599
|
+
this.krz_1 = logLines;
|
|
2600
2600
|
}
|
|
2601
2601
|
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
2602
2602
|
var suspendResult = this.o9_1;
|
|
@@ -2606,30 +2606,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2606
2606
|
switch (tmp) {
|
|
2607
2607
|
case 0:
|
|
2608
2608
|
this.n9_1 = 4;
|
|
2609
|
-
if (invoke$isNone(this.
|
|
2610
|
-
return this.
|
|
2611
|
-
var tmp0_safe_receiver = this.
|
|
2609
|
+
if (invoke$isNone(this.hrz_1))
|
|
2610
|
+
return this.jrz_1;
|
|
2611
|
+
var tmp0_safe_receiver = this.jrz_1.a3r().ee('Content-Length');
|
|
2612
2612
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2613
|
-
var request = get_request(this.
|
|
2614
|
-
var duration = subtract(this.
|
|
2615
|
-
var startLine = this.
|
|
2616
|
-
this.
|
|
2617
|
-
if (!invoke$isHeaders(this.
|
|
2618
|
-
return this.
|
|
2613
|
+
var request = get_request(this.jrz_1);
|
|
2614
|
+
var duration = subtract(this.jrz_1.p4k().f3f_1, this.jrz_1.o4k().f3f_1);
|
|
2615
|
+
var startLine = this.jrz_1.a3r().ee('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.hrz_1) || invoke$isHeaders(this.hrz_1)) ? '<-- ' + this.jrz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.hrz_1) && !(contentLength == null) ? '<-- ' + this.jrz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.hrz_1) || (invoke$isInfo(this.hrz_1) && contentLength == null) || (invoke$isHeaders(this.hrz_1) && !(contentLength == null)) || this.jrz_1.a3r().ee('Content-Encoding') === 'gzip' ? '<-- ' + this.jrz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms)' : '<-- ' + this.jrz_1.a3x().toString() + ' ' + request.f4k().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2616
|
+
this.krz_1.e1(startLine);
|
|
2617
|
+
if (!invoke$isHeaders(this.hrz_1) && !invoke$isBody(this.hrz_1)) {
|
|
2618
|
+
return this.jrz_1;
|
|
2619
2619
|
}
|
|
2620
2620
|
|
|
2621
|
-
var _iterator__ex2g4s = this.
|
|
2621
|
+
var _iterator__ex2g4s = this.jrz_1.a3r().h3d().t();
|
|
2622
2622
|
while (_iterator__ex2g4s.u()) {
|
|
2623
2623
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2624
2624
|
var name = _destruct__k2r9zo.m1();
|
|
2625
2625
|
var values = _destruct__k2r9zo.n1();
|
|
2626
|
-
var tmp0 = this.
|
|
2626
|
+
var tmp0 = this.grz_1;
|
|
2627
2627
|
var tmp$ret$0 = Unit_instance;
|
|
2628
2628
|
l$ret$1: do {
|
|
2629
2629
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2630
2630
|
while (_iterator__ex2g4s_0.u()) {
|
|
2631
2631
|
var element = _iterator__ex2g4s_0.v();
|
|
2632
|
-
if (element.
|
|
2632
|
+
if (element.irt_1(name)) {
|
|
2633
2633
|
tmp$ret$0 = element;
|
|
2634
2634
|
break l$ret$1;
|
|
2635
2635
|
}
|
|
@@ -2638,30 +2638,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2638
2638
|
}
|
|
2639
2639
|
while (false);
|
|
2640
2640
|
if (tmp$ret$0 == null) {
|
|
2641
|
-
this.
|
|
2641
|
+
this.krz_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2642
2642
|
} else {
|
|
2643
|
-
this.
|
|
2643
|
+
this.krz_1.e1(name + ': \u2588\u2588');
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
2646
|
|
|
2647
|
-
if (!invoke$isBody(this.
|
|
2648
|
-
this.
|
|
2649
|
-
return this.
|
|
2647
|
+
if (!invoke$isBody(this.hrz_1)) {
|
|
2648
|
+
this.krz_1.e1('<-- END HTTP');
|
|
2649
|
+
return this.jrz_1;
|
|
2650
2650
|
}
|
|
2651
2651
|
|
|
2652
2652
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2653
|
-
this.
|
|
2654
|
-
return this.
|
|
2653
|
+
this.krz_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2654
|
+
return this.jrz_1;
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
|
-
if (equals(contentType(this.
|
|
2658
|
-
this.
|
|
2659
|
-
return this.
|
|
2657
|
+
if (equals(contentType(this.jrz_1), Text_getInstance().j3l_1)) {
|
|
2658
|
+
this.krz_1.e1('<-- END HTTP (streaming)');
|
|
2659
|
+
return this.jrz_1;
|
|
2660
2660
|
}
|
|
2661
2661
|
|
|
2662
|
-
if (get_isSaved(this.
|
|
2662
|
+
if (get_isSaved(this.jrz_1)) {
|
|
2663
2663
|
this.m9_1 = 3;
|
|
2664
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2664
|
+
suspendResult = invoke$logResponseBody(this.irz_1, this.jrz_1, this.jrz_1.m4k(), this.krz_1, this);
|
|
2665
2665
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2666
2666
|
return suspendResult;
|
|
2667
2667
|
}
|
|
@@ -2672,22 +2672,22 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2672
2672
|
}
|
|
2673
2673
|
|
|
2674
2674
|
case 1:
|
|
2675
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2676
|
-
this.
|
|
2675
|
+
var _destruct__k2r9zo_0 = split(this.jrz_1.m4k(), this.jrz_1);
|
|
2676
|
+
this.lrz_1 = _destruct__k2r9zo_0.ch();
|
|
2677
2677
|
var newChannel = _destruct__k2r9zo_0.dh();
|
|
2678
2678
|
this.m9_1 = 2;
|
|
2679
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2679
|
+
suspendResult = invoke$logResponseBody(this.irz_1, this.jrz_1, newChannel, this.krz_1, this);
|
|
2680
2680
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2681
2681
|
return suspendResult;
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
2684
|
continue $sm;
|
|
2685
2685
|
case 2:
|
|
2686
|
-
var tmp_0 = this.
|
|
2687
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2686
|
+
var tmp_0 = this.jrz_1.d4k();
|
|
2687
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.lrz_1));
|
|
2688
2688
|
return call.m4h();
|
|
2689
2689
|
case 3:
|
|
2690
|
-
return this.
|
|
2690
|
+
return this.jrz_1;
|
|
2691
2691
|
case 4:
|
|
2692
2692
|
throw this.p9_1;
|
|
2693
2693
|
}
|
|
@@ -2781,7 +2781,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2781
2781
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2782
2782
|
while (_iterator__ex2g4s_0.u()) {
|
|
2783
2783
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2784
|
-
if (element_0.
|
|
2784
|
+
if (element_0.irt_1(key)) {
|
|
2785
2785
|
tmp$ret$6 = element_0;
|
|
2786
2786
|
break $l$block;
|
|
2787
2787
|
}
|
|
@@ -2789,7 +2789,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2789
2789
|
tmp$ret$6 = null;
|
|
2790
2790
|
}
|
|
2791
2791
|
var tmp0_safe_receiver = tmp$ret$6;
|
|
2792
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2792
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.hrt_1;
|
|
2793
2793
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2794
2794
|
}
|
|
2795
2795
|
}
|
|
@@ -2801,7 +2801,7 @@ function logHeader(_this__u8e3s4, key, value) {
|
|
|
2801
2801
|
}
|
|
2802
2802
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2803
2803
|
// Inline function 'kotlin.with' call
|
|
2804
|
-
if (level.
|
|
2804
|
+
if (level.ors_1) {
|
|
2805
2805
|
// Inline function 'kotlin.text.appendLine' call
|
|
2806
2806
|
var value = 'RESPONSE: ' + response.a3x().toString();
|
|
2807
2807
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2815,7 +2815,7 @@ function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
|
2815
2815
|
// Inline function 'kotlin.text.appendLine' call
|
|
2816
2816
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2817
2817
|
}
|
|
2818
|
-
if (level.
|
|
2818
|
+
if (level.prs_1) {
|
|
2819
2819
|
// Inline function 'kotlin.text.appendLine' call
|
|
2820
2820
|
var value_2 = 'COMMON HEADERS';
|
|
2821
2821
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2836,16 +2836,16 @@ function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
|
2836
2836
|
return tmp.u9();
|
|
2837
2837
|
}
|
|
2838
2838
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2839
|
-
this.
|
|
2839
|
+
this.as4_1 = function_0;
|
|
2840
2840
|
}
|
|
2841
2841
|
protoOf(sam$kotlin_Comparator$0).ue = function (a, b) {
|
|
2842
|
-
return this.
|
|
2842
|
+
return this.as4_1(a, b);
|
|
2843
2843
|
};
|
|
2844
2844
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2845
2845
|
return this.ue(a, b);
|
|
2846
2846
|
};
|
|
2847
2847
|
protoOf(sam$kotlin_Comparator$0).t3 = function () {
|
|
2848
|
-
return this.
|
|
2848
|
+
return this.as4_1;
|
|
2849
2849
|
};
|
|
2850
2850
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2851
2851
|
var tmp;
|
|
@@ -2873,8 +2873,8 @@ function logHeaders$lambda(a, b) {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2875
2875
|
CoroutineImpl.call(this, resultContinuation);
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2876
|
+
this.js3_1 = _this__u8e3s4;
|
|
2877
|
+
this.ks3_1 = response;
|
|
2878
2878
|
}
|
|
2879
2879
|
protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
2880
2880
|
var suspendResult = this.o9_1;
|
|
@@ -2884,14 +2884,14 @@ protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
|
2884
2884
|
switch (tmp) {
|
|
2885
2885
|
case 0:
|
|
2886
2886
|
this.n9_1 = 8;
|
|
2887
|
-
this.
|
|
2887
|
+
this.ls3_1 = StringBuilder_init_$Create$();
|
|
2888
2888
|
this.m9_1 = 1;
|
|
2889
2889
|
continue $sm;
|
|
2890
2890
|
case 1:
|
|
2891
2891
|
this.n9_1 = 4;
|
|
2892
2892
|
this.n9_1 = 3;
|
|
2893
2893
|
this.m9_1 = 2;
|
|
2894
|
-
suspendResult = appendResponseBody(this.
|
|
2894
|
+
suspendResult = appendResponseBody(this.ls3_1, contentType(this.ks3_1), this.ks3_1.m4k(), this);
|
|
2895
2895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2896
2896
|
return suspendResult;
|
|
2897
2897
|
}
|
|
@@ -2915,22 +2915,22 @@ protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
|
2915
2915
|
|
|
2916
2916
|
case 4:
|
|
2917
2917
|
this.n9_1 = 8;
|
|
2918
|
-
this.
|
|
2918
|
+
this.ms3_1 = this.p9_1;
|
|
2919
2919
|
this.m9_1 = 5;
|
|
2920
|
-
var this_0 = this.
|
|
2921
|
-
suspendResult = this.
|
|
2920
|
+
var this_0 = this.ls3_1.toString();
|
|
2921
|
+
suspendResult = this.js3_1.hrr(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2922
2922
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2923
2923
|
return suspendResult;
|
|
2924
2924
|
}
|
|
2925
2925
|
|
|
2926
2926
|
continue $sm;
|
|
2927
2927
|
case 5:
|
|
2928
|
-
throw this.
|
|
2928
|
+
throw this.ms3_1;
|
|
2929
2929
|
case 6:
|
|
2930
2930
|
this.n9_1 = 8;
|
|
2931
2931
|
this.m9_1 = 7;
|
|
2932
|
-
var this_1 = this.
|
|
2933
|
-
suspendResult = this.
|
|
2932
|
+
var this_1 = this.ls3_1.toString();
|
|
2933
|
+
suspendResult = this.js3_1.hrr(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2934
2934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2935
2935
|
return suspendResult;
|
|
2936
2936
|
}
|
|
@@ -2954,9 +2954,9 @@ protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
|
2954
2954
|
};
|
|
2955
2955
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2956
2956
|
CoroutineImpl.call(this, resultContinuation);
|
|
2957
|
-
this.
|
|
2958
|
-
this.
|
|
2959
|
-
this.
|
|
2957
|
+
this.vs3_1 = _this__u8e3s4;
|
|
2958
|
+
this.ws3_1 = contentType;
|
|
2959
|
+
this.xs3_1 = content;
|
|
2960
2960
|
}
|
|
2961
2961
|
protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
2962
2962
|
var suspendResult = this.o9_1;
|
|
@@ -2966,16 +2966,16 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2966
2966
|
switch (tmp) {
|
|
2967
2967
|
case 0:
|
|
2968
2968
|
this.n9_1 = 3;
|
|
2969
|
-
var tmp0 = this.
|
|
2970
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2969
|
+
var tmp0 = this.vs3_1;
|
|
2970
|
+
var value = 'BODY Content-Type: ' + toString_0(this.ws3_1);
|
|
2971
2971
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2972
|
-
var tmp0_0 = this.
|
|
2972
|
+
var tmp0_0 = this.vs3_1;
|
|
2973
2973
|
var value_0 = 'BODY START';
|
|
2974
2974
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2975
|
-
var tmp0_1 = this.
|
|
2976
|
-
var tmp0_safe_receiver = this.
|
|
2975
|
+
var tmp0_1 = this.xs3_1;
|
|
2976
|
+
var tmp0_safe_receiver = this.ws3_1;
|
|
2977
2977
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2978
|
-
this.
|
|
2978
|
+
this.zs3_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().k37_1 : tmp1_elvis_lhs;
|
|
2979
2979
|
this.n9_1 = 2;
|
|
2980
2980
|
this.m9_1 = 1;
|
|
2981
2981
|
suspendResult = readRemaining(tmp0_1, this);
|
|
@@ -2986,7 +2986,7 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2986
2986
|
continue $sm;
|
|
2987
2987
|
case 1:
|
|
2988
2988
|
var ARGUMENT = suspendResult;
|
|
2989
|
-
this.
|
|
2989
|
+
this.ys3_1 = readText(ARGUMENT, this.zs3_1);
|
|
2990
2990
|
this.n9_1 = 3;
|
|
2991
2991
|
this.m9_1 = 4;
|
|
2992
2992
|
continue $sm;
|
|
@@ -2996,7 +2996,7 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2996
2996
|
if (tmp_0 instanceof Error) {
|
|
2997
2997
|
var cause = this.p9_1;
|
|
2998
2998
|
var tmp_1 = this;
|
|
2999
|
-
tmp_1.
|
|
2999
|
+
tmp_1.ys3_1 = null;
|
|
3000
3000
|
this.m9_1 = 4;
|
|
3001
3001
|
continue $sm;
|
|
3002
3002
|
} else {
|
|
@@ -3007,10 +3007,10 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
3007
3007
|
throw this.p9_1;
|
|
3008
3008
|
case 4:
|
|
3009
3009
|
this.n9_1 = 3;
|
|
3010
|
-
var tmp2_elvis_lhs = this.
|
|
3010
|
+
var tmp2_elvis_lhs = this.ys3_1;
|
|
3011
3011
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
3012
|
-
this.
|
|
3013
|
-
this.
|
|
3012
|
+
this.vs3_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
3013
|
+
this.vs3_1.q('BODY END');
|
|
3014
3014
|
return Unit_instance;
|
|
3015
3015
|
}
|
|
3016
3016
|
} catch ($p) {
|
|
@@ -3036,7 +3036,7 @@ function toReadChannel(_this__u8e3s4) {
|
|
|
3036
3036
|
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).f35_1;
|
|
3037
3037
|
}
|
|
3038
3038
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3039
|
-
this.
|
|
3039
|
+
this.vs4_1 = $this_toReadChannel;
|
|
3040
3040
|
CoroutineImpl.call(this, resultContinuation);
|
|
3041
3041
|
}
|
|
3042
3042
|
protoOf(toReadChannel$slambda).t43 = function ($this$writer, $completion) {
|
|
@@ -3057,7 +3057,7 @@ protoOf(toReadChannel$slambda).u9 = function () {
|
|
|
3057
3057
|
case 0:
|
|
3058
3058
|
this.n9_1 = 2;
|
|
3059
3059
|
this.m9_1 = 1;
|
|
3060
|
-
suspendResult = this.
|
|
3060
|
+
suspendResult = this.vs4_1.g3y(this.ws4_1.h35_1, this);
|
|
3061
3061
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3062
3062
|
return suspendResult;
|
|
3063
3063
|
}
|
|
@@ -3080,8 +3080,8 @@ protoOf(toReadChannel$slambda).u9 = function () {
|
|
|
3080
3080
|
while (true);
|
|
3081
3081
|
};
|
|
3082
3082
|
protoOf(toReadChannel$slambda).u43 = function ($this$writer, completion) {
|
|
3083
|
-
var i = new toReadChannel$slambda(this.
|
|
3084
|
-
i.
|
|
3083
|
+
var i = new toReadChannel$slambda(this.vs4_1, completion);
|
|
3084
|
+
i.ws4_1 = $this$writer;
|
|
3085
3085
|
return i;
|
|
3086
3086
|
};
|
|
3087
3087
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
@@ -3094,8 +3094,8 @@ function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
|
3094
3094
|
}
|
|
3095
3095
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3096
3096
|
CoroutineImpl.call(this, resultContinuation);
|
|
3097
|
-
this.
|
|
3098
|
-
this.
|
|
3097
|
+
this.js4_1 = _this__u8e3s4;
|
|
3098
|
+
this.ks4_1 = log;
|
|
3099
3099
|
}
|
|
3100
3100
|
protoOf($observeCOROUTINE$).u9 = function () {
|
|
3101
3101
|
var suspendResult = this.o9_1;
|
|
@@ -3105,10 +3105,10 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3105
3105
|
switch (tmp) {
|
|
3106
3106
|
case 0:
|
|
3107
3107
|
this.n9_1 = 6;
|
|
3108
|
-
var tmp0_subject = this.
|
|
3108
|
+
var tmp0_subject = this.js4_1;
|
|
3109
3109
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3110
3110
|
this.m9_1 = 3;
|
|
3111
|
-
suspendResult = writeFully_0(this.
|
|
3111
|
+
suspendResult = writeFully_0(this.ks4_1, this.js4_1.c3x(), VOID, VOID, this);
|
|
3112
3112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3113
3113
|
return suspendResult;
|
|
3114
3114
|
}
|
|
@@ -3117,25 +3117,25 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3117
3117
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3118
3118
|
var tmp_0 = this;
|
|
3119
3119
|
var responseChannel = new ByteChannel();
|
|
3120
|
-
var content = this.
|
|
3121
|
-
copyToBoth(content, this.
|
|
3122
|
-
tmp_0.
|
|
3120
|
+
var content = this.js4_1.n3x();
|
|
3121
|
+
copyToBoth(content, this.ks4_1, responseChannel);
|
|
3122
|
+
tmp_0.ls4_1 = new LoggedContent(this.js4_1, responseChannel);
|
|
3123
3123
|
this.m9_1 = 5;
|
|
3124
3124
|
continue $sm;
|
|
3125
3125
|
} else {
|
|
3126
3126
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3127
3127
|
var tmp_1 = this;
|
|
3128
3128
|
var responseChannel_0 = new ByteChannel();
|
|
3129
|
-
var content_0 = toReadChannel(this.
|
|
3130
|
-
copyToBoth(content_0, this.
|
|
3131
|
-
tmp_1.
|
|
3129
|
+
var content_0 = toReadChannel(this.js4_1);
|
|
3130
|
+
copyToBoth(content_0, this.ks4_1, responseChannel_0);
|
|
3131
|
+
tmp_1.ls4_1 = new LoggedContent(this.js4_1, responseChannel_0);
|
|
3132
3132
|
this.m9_1 = 5;
|
|
3133
3133
|
continue $sm;
|
|
3134
3134
|
} else {
|
|
3135
3135
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3136
|
-
this.
|
|
3136
|
+
this.ms4_1 = this.js4_1;
|
|
3137
3137
|
this.m9_1 = 2;
|
|
3138
|
-
suspendResult = observe(this.
|
|
3138
|
+
suspendResult = observe(this.js4_1.g3x(), this.ks4_1, this);
|
|
3139
3139
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3140
3140
|
return suspendResult;
|
|
3141
3141
|
}
|
|
@@ -3149,7 +3149,7 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3149
3149
|
}
|
|
3150
3150
|
if (tmp_2) {
|
|
3151
3151
|
this.m9_1 = 1;
|
|
3152
|
-
suspendResult = this.
|
|
3152
|
+
suspendResult = this.ks4_1.f2x(this);
|
|
3153
3153
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3154
3154
|
return suspendResult;
|
|
3155
3155
|
}
|
|
@@ -3165,28 +3165,28 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3165
3165
|
|
|
3166
3166
|
break;
|
|
3167
3167
|
case 1:
|
|
3168
|
-
this.
|
|
3168
|
+
this.ls4_1 = this.js4_1;
|
|
3169
3169
|
this.m9_1 = 5;
|
|
3170
3170
|
continue $sm;
|
|
3171
3171
|
case 2:
|
|
3172
3172
|
var ARGUMENT = suspendResult;
|
|
3173
|
-
this.
|
|
3173
|
+
this.ls4_1 = this.ms4_1.j3y(ARGUMENT);
|
|
3174
3174
|
this.m9_1 = 5;
|
|
3175
3175
|
continue $sm;
|
|
3176
3176
|
case 3:
|
|
3177
3177
|
this.m9_1 = 4;
|
|
3178
|
-
suspendResult = this.
|
|
3178
|
+
suspendResult = this.ks4_1.f2x(this);
|
|
3179
3179
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3180
3180
|
return suspendResult;
|
|
3181
3181
|
}
|
|
3182
3182
|
|
|
3183
3183
|
continue $sm;
|
|
3184
3184
|
case 4:
|
|
3185
|
-
this.
|
|
3185
|
+
this.ls4_1 = this.js4_1;
|
|
3186
3186
|
this.m9_1 = 5;
|
|
3187
3187
|
continue $sm;
|
|
3188
3188
|
case 5:
|
|
3189
|
-
return this.
|
|
3189
|
+
return this.ls4_1;
|
|
3190
3190
|
case 6:
|
|
3191
3191
|
throw this.p9_1;
|
|
3192
3192
|
}
|
|
@@ -3226,9 +3226,9 @@ function get_DEFAULT(_this__u8e3s4) {
|
|
|
3226
3226
|
return get_SIMPLE(_this__u8e3s4);
|
|
3227
3227
|
}
|
|
3228
3228
|
//region block: post-declaration
|
|
3229
|
-
protoOf(Empty).
|
|
3230
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3231
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3229
|
+
protoOf(Empty).nrr = get_byteSize;
|
|
3230
|
+
protoOf(BinaryLogBodyFilter$1).krr = filterRequest;
|
|
3231
|
+
protoOf(BinaryLogBodyFilter$1).mrr = filterResponse;
|
|
3232
3232
|
protoOf(MDCContextElement).z9 = get;
|
|
3233
3233
|
protoOf(MDCContextElement).xj = fold;
|
|
3234
3234
|
protoOf(MDCContextElement).wj = minusKey;
|