-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHttp.pas
1378 lines (922 loc) · 66.2 KB
/
Http.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
unit Http;
interface
type
HCkPrivateKey = Pointer;
HCkSecureString = Pointer;
HCkStringBuilder = Pointer;
HCkCert = Pointer;
HCkHttpResponse = Pointer;
HCkHttpRequest = Pointer;
HCkHashtable = Pointer;
HCkString = Pointer;
HCkByteData = Pointer;
HCkDateTime = Pointer;
HCkHttp = Pointer;
HCkStringArray = Pointer;
HCkTask = Pointer;
HCkJsonObject = Pointer;
HCkBinData = Pointer;
// Note: The callback functions use the cdecl calling convention, while all other functions use stdcall.
THttpAbortCheck = function(): Integer; cdecl;
THttpProgressInfo = procedure(name: PWideChar; value: PWideChar); cdecl;
THttpPercentDone = function(pctDone: Integer): Integer; cdecl;
THttpTaskCompleted = procedure(task: HCkTask); cdecl;
function CkHttp_Create: HCkHttp; stdcall;
procedure CkHttp_Dispose(handle: HCkHttp); stdcall;
procedure CkHttp_SetAbortCheck(objHandle: HCkHttp; fn: THttpAbortCheck) stdcall;
procedure CkHttp_SetProgressInfo(objHandle: HCkHttp; fn: THttpProgressInfo) stdcall;
procedure CkHttp_SetPercentDone(objHandle: HCkHttp; fn: THttpPercentDone) stdcall;
procedure CkHttp_SetTaskCompleted(objHandle: HCkHttp; fn: THttpTaskCompleted) stdcall;
function CkHttp_getAbortCurrent(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putAbortCurrent(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getAccept(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAccept(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__accept(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAcceptCharset(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAcceptCharset(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__acceptCharset(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAcceptLanguage(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAcceptLanguage(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__acceptLanguage(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getAllowGzip(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putAllowGzip(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getAllowHeaderFolding(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putAllowHeaderFolding(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getAuthSignature(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAuthSignature(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__authSignature(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAuthToken(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAuthToken(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__authToken(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getAutoAddHostHeader(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putAutoAddHostHeader(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getAwsAccessKey(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAwsAccessKey(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__awsAccessKey(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAwsEndpoint(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAwsEndpoint(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__awsEndpoint(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAwsRegion(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAwsRegion(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__awsRegion(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAwsSecretKey(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAwsSecretKey(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__awsSecretKey(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getAwsSessionToken(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAwsSessionToken(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__awsSessionToken(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getAwsSignatureVersion(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putAwsSignatureVersion(objHandle: HCkHttp; newPropVal: Integer); stdcall;
procedure CkHttp_getAwsSubResources(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putAwsSubResources(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__awsSubResources(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getBandwidthThrottleDown(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putBandwidthThrottleDown(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getBandwidthThrottleUp(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putBandwidthThrottleUp(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getBasicAuth(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putBasicAuth(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getClientIpAddress(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putClientIpAddress(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__clientIpAddress(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getConnectFailReason(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_getConnection(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putConnection(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__connection(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getConnectTimeout(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putConnectTimeout(objHandle: HCkHttp; newPropVal: Integer); stdcall;
procedure CkHttp_getCookieDir(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putCookieDir(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__cookieDir(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getDebugLogFilePath(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putDebugLogFilePath(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__debugLogFilePath(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getDefaultFreshPeriod(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putDefaultFreshPeriod(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getDigestAuth(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putDigestAuth(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getFetchFromCache(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putFetchFromCache(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getFinalRedirectUrl(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__finalRedirectUrl(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getFollowRedirects(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putFollowRedirects(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getFreshnessAlgorithm(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putFreshnessAlgorithm(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getHeartbeatMs(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putHeartbeatMs(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getIgnoreMustRevalidate(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putIgnoreMustRevalidate(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getIgnoreNoCache(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putIgnoreNoCache(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getKeepResponseBody(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putKeepResponseBody(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getLastContentType(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastContentType(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getLastErrorHtml(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastErrorHtml(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getLastErrorText(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastErrorText(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getLastErrorXml(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastErrorXml(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getLastFromCache(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_getLastHeader(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastHeader(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getLastMethodSuccess(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putLastMethodSuccess(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getLastModDate(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastModDate(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getLastResponseBody(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastResponseBody(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getLastResponseHeader(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastResponseHeader(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getLastStatus(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_getLastStatusText(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__lastStatusText(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getLMFactor(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putLMFactor(objHandle: HCkHttp; newPropVal: Integer); stdcall;
procedure CkHttp_getLogin(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putLogin(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__login(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getLoginDomain(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putLoginDomain(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__loginDomain(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getMaxConnections(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putMaxConnections(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getMaxFreshPeriod(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putMaxFreshPeriod(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getMaxResponseSize(objHandle: HCkHttp): LongWord; stdcall;
procedure CkHttp_putMaxResponseSize(objHandle: HCkHttp; newPropVal: LongWord); stdcall;
function CkHttp_getMaxUrlLen(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putMaxUrlLen(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getMimicFireFox(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putMimicFireFox(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getMimicIE(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putMimicIE(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getMinFreshPeriod(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putMinFreshPeriod(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getNegotiateAuth(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putNegotiateAuth(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getNtlmAuth(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putNtlmAuth(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getNumCacheLevels(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putNumCacheLevels(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getNumCacheRoots(objHandle: HCkHttp): Integer; stdcall;
function CkHttp_getOAuth1(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putOAuth1(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getOAuthBodyHash(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putOAuthBodyHash(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getOAuthCallback(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthCallback(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthCallback(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthConsumerKey(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthConsumerKey(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthConsumerKey(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthConsumerSecret(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthConsumerSecret(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthConsumerSecret(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthRealm(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthRealm(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthRealm(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthSigMethod(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthSigMethod(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthSigMethod(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthToken(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthToken(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthToken(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthTokenSecret(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthTokenSecret(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthTokenSecret(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getOAuthVerifier(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putOAuthVerifier(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__oAuthVerifier(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getPassword(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putPassword(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__password(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getPercentDoneScale(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putPercentDoneScale(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getPreferIpv6(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putPreferIpv6(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getProxyAuthMethod(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putProxyAuthMethod(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__proxyAuthMethod(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getProxyDirectTls(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putProxyDirectTls(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getProxyDomain(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putProxyDomain(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__proxyDomain(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getProxyLogin(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putProxyLogin(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__proxyLogin(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getProxyLoginDomain(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putProxyLoginDomain(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__proxyLoginDomain(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getProxyPassword(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putProxyPassword(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__proxyPassword(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getProxyPort(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putProxyPort(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getReadTimeout(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putReadTimeout(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getReceivedCertReq(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_getRedirectVerb(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putRedirectVerb(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__redirectVerb(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getReferer(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putReferer(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__referer(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getRequiredContentType(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putRequiredContentType(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__requiredContentType(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getRequireSslCertVerify(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putRequireSslCertVerify(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getS3Ssl(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putS3Ssl(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getSaveCookies(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putSaveCookies(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getSendBufferSize(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putSendBufferSize(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getSendCookies(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putSendCookies(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getSessionLogFilename(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSessionLogFilename(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__sessionLogFilename(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getSniHostname(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSniHostname(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__sniHostname(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getSocksHostname(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSocksHostname(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__socksHostname(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getSocksPassword(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSocksPassword(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__socksPassword(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getSocksPort(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putSocksPort(objHandle: HCkHttp; newPropVal: Integer); stdcall;
procedure CkHttp_getSocksUsername(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSocksUsername(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__socksUsername(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getSocksVersion(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putSocksVersion(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getSoRcvBuf(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putSoRcvBuf(objHandle: HCkHttp; newPropVal: Integer); stdcall;
function CkHttp_getSoSndBuf(objHandle: HCkHttp): Integer; stdcall;
procedure CkHttp_putSoSndBuf(objHandle: HCkHttp; newPropVal: Integer); stdcall;
procedure CkHttp_getSslAllowedCiphers(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSslAllowedCiphers(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__sslAllowedCiphers(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getSslProtocol(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putSslProtocol(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__sslProtocol(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getStreamResponseBodyPath(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putStreamResponseBodyPath(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__streamResponseBodyPath(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getTlsCipherSuite(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__tlsCipherSuite(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getTlsPinSet(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putTlsPinSet(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__tlsPinSet(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getTlsVersion(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__tlsVersion(objHandle: HCkHttp): PWideChar; stdcall;
procedure CkHttp_getUncommonOptions(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putUncommonOptions(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__uncommonOptions(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getUpdateCache(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putUpdateCache(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
function CkHttp_getUseIEProxy(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putUseIEProxy(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getUserAgent(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
procedure CkHttp_putUserAgent(objHandle: HCkHttp; newPropVal: PWideChar); stdcall;
function CkHttp__userAgent(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getVerboseLogging(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_putVerboseLogging(objHandle: HCkHttp; newPropVal: wordbool); stdcall;
procedure CkHttp_getVersion(objHandle: HCkHttp; outPropVal: HCkString); stdcall;
function CkHttp__version(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_getWasRedirected(objHandle: HCkHttp): wordbool; stdcall;
procedure CkHttp_AddCacheRoot(objHandle: HCkHttp; dir: PWideChar); stdcall;
procedure CkHttp_ClearHeaders(objHandle: HCkHttp); stdcall;
procedure CkHttp_ClearInMemoryCookies(objHandle: HCkHttp); stdcall;
procedure CkHttp_ClearUrlVars(objHandle: HCkHttp); stdcall;
function CkHttp_CloseAllConnections(objHandle: HCkHttp): wordbool; stdcall;
function CkHttp_CloseAllConnectionsAsync(objHandle: HCkHttp): HCkTask; stdcall;
function CkHttp_CreateOcspRequest(objHandle: HCkHttp; requestDetails: HCkJsonObject; ocspRequest: HCkBinData): wordbool; stdcall;
function CkHttp_CreateTimestampRequest(objHandle: HCkHttp; hashAlg: PWideChar; hashVal: PWideChar; reqPolicyOid: PWideChar; addNonce: wordbool; reqTsaCert: wordbool; timestampToken: HCkBinData): wordbool; stdcall;
procedure CkHttp_DnsCacheClear(objHandle: HCkHttp); stdcall;
function CkHttp_Download(objHandle: HCkHttp; url: PWideChar; localFilePath: PWideChar): wordbool; stdcall;
function CkHttp_DownloadAsync(objHandle: HCkHttp; url: PWideChar; localFilePath: PWideChar): HCkTask; stdcall;
function CkHttp_DownloadAppend(objHandle: HCkHttp; url: PWideChar; filename: PWideChar): wordbool; stdcall;
function CkHttp_DownloadAppendAsync(objHandle: HCkHttp; url: PWideChar; filename: PWideChar): HCkTask; stdcall;
function CkHttp_DownloadBd(objHandle: HCkHttp; url: PWideChar; binData: HCkBinData): wordbool; stdcall;
function CkHttp_DownloadBdAsync(objHandle: HCkHttp; url: PWideChar; binData: HCkBinData): HCkTask; stdcall;
function CkHttp_DownloadHash(objHandle: HCkHttp; url: PWideChar; hashAlgorithm: PWideChar; encoding: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__downloadHash(objHandle: HCkHttp; url: PWideChar; hashAlgorithm: PWideChar; encoding: PWideChar): PWideChar; stdcall;
function CkHttp_DownloadHashAsync(objHandle: HCkHttp; url: PWideChar; hashAlgorithm: PWideChar; encoding: PWideChar): HCkTask; stdcall;
function CkHttp_DownloadSb(objHandle: HCkHttp; url: PWideChar; charset: PWideChar; sb: HCkStringBuilder): wordbool; stdcall;
function CkHttp_DownloadSbAsync(objHandle: HCkHttp; url: PWideChar; charset: PWideChar; sb: HCkStringBuilder): HCkTask; stdcall;
function CkHttp_ExtractMetaRefreshUrl(objHandle: HCkHttp; htmlContent: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__extractMetaRefreshUrl(objHandle: HCkHttp; htmlContent: PWideChar): PWideChar; stdcall;
function CkHttp_G_SvcOauthAccessToken(objHandle: HCkHttp; iss: PWideChar; scope: PWideChar; subEmail: PWideChar; numSec: Integer; cert: HCkCert; outStr: HCkString): wordbool; stdcall;
function CkHttp__g_SvcOauthAccessToken(objHandle: HCkHttp; iss: PWideChar; scope: PWideChar; subEmail: PWideChar; numSec: Integer; cert: HCkCert): PWideChar; stdcall;
function CkHttp_G_SvcOauthAccessTokenAsync(objHandle: HCkHttp; iss: PWideChar; scope: PWideChar; subEmail: PWideChar; numSec: Integer; cert: HCkCert): HCkTask; stdcall;
function CkHttp_G_SvcOauthAccessToken2(objHandle: HCkHttp; claimParams: HCkHashtable; numSec: Integer; cert: HCkCert; outStr: HCkString): wordbool; stdcall;
function CkHttp__g_SvcOauthAccessToken2(objHandle: HCkHttp; claimParams: HCkHashtable; numSec: Integer; cert: HCkCert): PWideChar; stdcall;
function CkHttp_G_SvcOauthAccessToken2Async(objHandle: HCkHttp; claimParams: HCkHashtable; numSec: Integer; cert: HCkCert): HCkTask; stdcall;
function CkHttp_GenTimeStamp(objHandle: HCkHttp; outStr: HCkString): wordbool; stdcall;
function CkHttp__genTimeStamp(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_GetCacheRoot(objHandle: HCkHttp; index: Integer; outStr: HCkString): wordbool; stdcall;
function CkHttp__getCacheRoot(objHandle: HCkHttp; index: Integer): PWideChar; stdcall;
function CkHttp_GetCookieXml(objHandle: HCkHttp; domain: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__getCookieXml(objHandle: HCkHttp; domain: PWideChar): PWideChar; stdcall;
function CkHttp_GetDomain(objHandle: HCkHttp; url: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__getDomain(objHandle: HCkHttp; url: PWideChar): PWideChar; stdcall;
function CkHttp_GetHead(objHandle: HCkHttp; url: PWideChar): HCkHttpResponse; stdcall;
function CkHttp_GetHeadAsync(objHandle: HCkHttp; url: PWideChar): HCkTask; stdcall;
function CkHttp_GetRequestHeader(objHandle: HCkHttp; name: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__getRequestHeader(objHandle: HCkHttp; name: PWideChar): PWideChar; stdcall;
function CkHttp_GetServerSslCert(objHandle: HCkHttp; domain: PWideChar; port: Integer): HCkCert; stdcall;
function CkHttp_GetServerSslCertAsync(objHandle: HCkHttp; domain: PWideChar; port: Integer): HCkTask; stdcall;
function CkHttp_GetUrlPath(objHandle: HCkHttp; url: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__getUrlPath(objHandle: HCkHttp; url: PWideChar): PWideChar; stdcall;
function CkHttp_HasRequestHeader(objHandle: HCkHttp; name: PWideChar): wordbool; stdcall;
function CkHttp_IsUnlocked(objHandle: HCkHttp): wordbool; stdcall;
function CkHttp_LastJsonData(objHandle: HCkHttp): HCkJsonObject; stdcall;
function CkHttp_LoadTaskCaller(objHandle: HCkHttp; task: HCkTask): wordbool; stdcall;
function CkHttp_OcspCheck(objHandle: HCkHttp; domain: PWideChar; port: Integer): Integer; stdcall;
function CkHttp_OcspCheckAsync(objHandle: HCkHttp; domain: PWideChar; port: Integer): HCkTask; stdcall;
function CkHttp_ParseOcspReply(objHandle: HCkHttp; ocspReply: HCkBinData; replyData: HCkJsonObject): Integer; stdcall;
function CkHttp_PBinary(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkHttpResponse; stdcall;
function CkHttp_PBinaryAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PBinaryBd(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; data: HCkBinData; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkHttpResponse; stdcall;
function CkHttp_PBinaryBdAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; data: HCkBinData; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PFile(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; localFilePath: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkHttpResponse; stdcall;
function CkHttp_PFileAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; localFilePath: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PostBinary(objHandle: HCkHttp; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool; outStr: HCkString): wordbool; stdcall;
function CkHttp__postBinary(objHandle: HCkHttp; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool): PWideChar; stdcall;
function CkHttp_PostBinaryAsync(objHandle: HCkHttp; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PostJson(objHandle: HCkHttp; url: PWideChar; jsonText: PWideChar): HCkHttpResponse; stdcall;
function CkHttp_PostJsonAsync(objHandle: HCkHttp; url: PWideChar; jsonText: PWideChar): HCkTask; stdcall;
function CkHttp_PostJson2(objHandle: HCkHttp; url: PWideChar; contentType: PWideChar; jsonText: PWideChar): HCkHttpResponse; stdcall;
function CkHttp_PostJson2Async(objHandle: HCkHttp; url: PWideChar; contentType: PWideChar; jsonText: PWideChar): HCkTask; stdcall;
function CkHttp_PostJson3(objHandle: HCkHttp; url: PWideChar; contentType: PWideChar; json: HCkJsonObject): HCkHttpResponse; stdcall;
function CkHttp_PostJson3Async(objHandle: HCkHttp; url: PWideChar; contentType: PWideChar; json: HCkJsonObject): HCkTask; stdcall;
function CkHttp_PostUrlEncoded(objHandle: HCkHttp; url: PWideChar; req: HCkHttpRequest): HCkHttpResponse; stdcall;
function CkHttp_PostUrlEncodedAsync(objHandle: HCkHttp; url: PWideChar; req: HCkHttpRequest): HCkTask; stdcall;
function CkHttp_PostXml(objHandle: HCkHttp; endpointUrl: PWideChar; xmlContent: PWideChar; xmlCharset: PWideChar): HCkHttpResponse; stdcall;
function CkHttp_PostXmlAsync(objHandle: HCkHttp; endpointUrl: PWideChar; xmlContent: PWideChar; xmlCharset: PWideChar): HCkTask; stdcall;
function CkHttp_PText(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; textData: PWideChar; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkHttpResponse; stdcall;
function CkHttp_PTextAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; textData: PWideChar; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PTextSb(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; textData: HCkStringBuilder; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkHttpResponse; stdcall;
function CkHttp_PTextSbAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; textData: HCkStringBuilder; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PutBinary(objHandle: HCkHttp; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool; outStr: HCkString): wordbool; stdcall;
function CkHttp__putBinary(objHandle: HCkHttp; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool): PWideChar; stdcall;
function CkHttp_PutBinaryAsync(objHandle: HCkHttp; url: PWideChar; byteData: HCkByteData; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_PutText(objHandle: HCkHttp; url: PWideChar; textData: PWideChar; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool; outStr: HCkString): wordbool; stdcall;
function CkHttp__putText(objHandle: HCkHttp; url: PWideChar; textData: PWideChar; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): PWideChar; stdcall;
function CkHttp_PutTextAsync(objHandle: HCkHttp; url: PWideChar; textData: PWideChar; charset: PWideChar; contentType: PWideChar; md5: wordbool; gzip: wordbool): HCkTask; stdcall;
function CkHttp_QuickDeleteStr(objHandle: HCkHttp; url: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__quickDeleteStr(objHandle: HCkHttp; url: PWideChar): PWideChar; stdcall;
function CkHttp_QuickDeleteStrAsync(objHandle: HCkHttp; url: PWideChar): HCkTask; stdcall;
function CkHttp_QuickGet(objHandle: HCkHttp; url: PWideChar; outData: HCkByteData): wordbool; stdcall;
function CkHttp_QuickGetAsync(objHandle: HCkHttp; url: PWideChar): HCkTask; stdcall;
function CkHttp_QuickGetBd(objHandle: HCkHttp; url: PWideChar; binData: HCkBinData): wordbool; stdcall;
function CkHttp_QuickGetBdAsync(objHandle: HCkHttp; url: PWideChar; binData: HCkBinData): HCkTask; stdcall;
function CkHttp_QuickGetObj(objHandle: HCkHttp; url: PWideChar): HCkHttpResponse; stdcall;
function CkHttp_QuickGetObjAsync(objHandle: HCkHttp; url: PWideChar): HCkTask; stdcall;
function CkHttp_QuickGetSb(objHandle: HCkHttp; url: PWideChar; sbContent: HCkStringBuilder): wordbool; stdcall;
function CkHttp_QuickGetSbAsync(objHandle: HCkHttp; url: PWideChar; sbContent: HCkStringBuilder): HCkTask; stdcall;
function CkHttp_QuickGetStr(objHandle: HCkHttp; url: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__quickGetStr(objHandle: HCkHttp; url: PWideChar): PWideChar; stdcall;
function CkHttp_QuickGetStrAsync(objHandle: HCkHttp; url: PWideChar): HCkTask; stdcall;
function CkHttp_QuickPutStr(objHandle: HCkHttp; url: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__quickPutStr(objHandle: HCkHttp; url: PWideChar): PWideChar; stdcall;
function CkHttp_QuickPutStrAsync(objHandle: HCkHttp; url: PWideChar): HCkTask; stdcall;
function CkHttp_QuickRequest(objHandle: HCkHttp; verb: PWideChar; url: PWideChar): HCkHttpResponse; stdcall;
function CkHttp_QuickRequestAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar): HCkTask; stdcall;
function CkHttp_QuickRequestParams(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; json: HCkJsonObject): HCkHttpResponse; stdcall;
function CkHttp_QuickRequestParamsAsync(objHandle: HCkHttp; verb: PWideChar; url: PWideChar; json: HCkJsonObject): HCkTask; stdcall;
procedure CkHttp_RemoveRequestHeader(objHandle: HCkHttp; name: PWideChar); stdcall;
function CkHttp_RenderGet(objHandle: HCkHttp; url: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__renderGet(objHandle: HCkHttp; url: PWideChar): PWideChar; stdcall;
function CkHttp_ResumeDownload(objHandle: HCkHttp; url: PWideChar; targetFilename: PWideChar): wordbool; stdcall;
function CkHttp_ResumeDownloadAsync(objHandle: HCkHttp; url: PWideChar; targetFilename: PWideChar): HCkTask; stdcall;
function CkHttp_ResumeDownloadBd(objHandle: HCkHttp; url: PWideChar; binData: HCkBinData): wordbool; stdcall;
function CkHttp_ResumeDownloadBdAsync(objHandle: HCkHttp; url: PWideChar; binData: HCkBinData): HCkTask; stdcall;
function CkHttp_S3_CreateBucket(objHandle: HCkHttp; bucketPath: PWideChar): wordbool; stdcall;
function CkHttp_S3_CreateBucketAsync(objHandle: HCkHttp; bucketPath: PWideChar): HCkTask; stdcall;
function CkHttp_S3_DeleteBucket(objHandle: HCkHttp; bucketPath: PWideChar): wordbool; stdcall;
function CkHttp_S3_DeleteBucketAsync(objHandle: HCkHttp; bucketPath: PWideChar): HCkTask; stdcall;
function CkHttp_S3_DeleteMultipleObjects(objHandle: HCkHttp; bucketName: PWideChar; objectNames: HCkStringArray): HCkHttpResponse; stdcall;
function CkHttp_S3_DeleteMultipleObjectsAsync(objHandle: HCkHttp; bucketName: PWideChar; objectNames: HCkStringArray): HCkTask; stdcall;
function CkHttp_S3_DeleteObject(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar): wordbool; stdcall;
function CkHttp_S3_DeleteObjectAsync(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_S3_DownloadBd(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; bd: HCkBinData): wordbool; stdcall;
function CkHttp_S3_DownloadBdAsync(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; bd: HCkBinData): HCkTask; stdcall;
function CkHttp_S3_DownloadBytes(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; outData: HCkByteData): wordbool; stdcall;
function CkHttp_S3_DownloadBytesAsync(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_S3_DownloadFile(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; localFilePath: PWideChar): wordbool; stdcall;
function CkHttp_S3_DownloadFileAsync(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; localFilePath: PWideChar): HCkTask; stdcall;
function CkHttp_S3_DownloadString(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; charset: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__s3_DownloadString(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; charset: PWideChar): PWideChar; stdcall;
function CkHttp_S3_DownloadStringAsync(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar; charset: PWideChar): HCkTask; stdcall;
function CkHttp_S3_FileExists(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar): Integer; stdcall;
function CkHttp_S3_FileExistsAsync(objHandle: HCkHttp; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_S3_GenerateUrl(objHandle: HCkHttp; bucket: PWideChar; path: PWideChar; expire: HCkDateTime; outStr: HCkString): wordbool; stdcall;
function CkHttp__s3_GenerateUrl(objHandle: HCkHttp; bucket: PWideChar; path: PWideChar; expire: HCkDateTime): PWideChar; stdcall;
function CkHttp_S3_GenerateUrlV4(objHandle: HCkHttp; useHttps: wordbool; bucketName: PWideChar; path: PWideChar; numSecondsValid: Integer; awsService: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__s3_GenerateUrlV4(objHandle: HCkHttp; useHttps: wordbool; bucketName: PWideChar; path: PWideChar; numSecondsValid: Integer; awsService: PWideChar): PWideChar; stdcall;
function CkHttp_S3_GenPresignedUrl(objHandle: HCkHttp; httpVerb: PWideChar; useHttps: wordbool; bucketName: PWideChar; path: PWideChar; numSecondsValid: Integer; awsService: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__s3_GenPresignedUrl(objHandle: HCkHttp; httpVerb: PWideChar; useHttps: wordbool; bucketName: PWideChar; path: PWideChar; numSecondsValid: Integer; awsService: PWideChar): PWideChar; stdcall;
function CkHttp_S3_ListBucketObjects(objHandle: HCkHttp; bucketPath: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__s3_ListBucketObjects(objHandle: HCkHttp; bucketPath: PWideChar): PWideChar; stdcall;
function CkHttp_S3_ListBucketObjectsAsync(objHandle: HCkHttp; bucketPath: PWideChar): HCkTask; stdcall;
function CkHttp_S3_ListBuckets(objHandle: HCkHttp; outStr: HCkString): wordbool; stdcall;
function CkHttp__s3_ListBuckets(objHandle: HCkHttp): PWideChar; stdcall;
function CkHttp_S3_ListBucketsAsync(objHandle: HCkHttp): HCkTask; stdcall;
function CkHttp_S3_UploadBd(objHandle: HCkHttp; bd: HCkBinData; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): wordbool; stdcall;
function CkHttp_S3_UploadBdAsync(objHandle: HCkHttp; bd: HCkBinData; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_S3_UploadBytes(objHandle: HCkHttp; contentBytes: HCkByteData; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): wordbool; stdcall;
function CkHttp_S3_UploadBytesAsync(objHandle: HCkHttp; contentBytes: HCkByteData; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_S3_UploadFile(objHandle: HCkHttp; localFilePath: PWideChar; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): wordbool; stdcall;
function CkHttp_S3_UploadFileAsync(objHandle: HCkHttp; localFilePath: PWideChar; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_S3_UploadString(objHandle: HCkHttp; objectContent: PWideChar; charset: PWideChar; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): wordbool; stdcall;
function CkHttp_S3_UploadStringAsync(objHandle: HCkHttp; objectContent: PWideChar; charset: PWideChar; contentType: PWideChar; bucketPath: PWideChar; objectName: PWideChar): HCkTask; stdcall;
function CkHttp_SaveLastError(objHandle: HCkHttp; path: PWideChar): wordbool; stdcall;
function CkHttp_SetAuthPrivateKey(objHandle: HCkHttp; publicKeyId: PWideChar; privKey: HCkPrivateKey): wordbool; stdcall;
function CkHttp_SetAuthTokenSb(objHandle: HCkHttp; sb: HCkStringBuilder): wordbool; stdcall;
function CkHttp_SetCookieXml(objHandle: HCkHttp; domain: PWideChar; cookieXml: PWideChar): wordbool; stdcall;
function CkHttp_SetOAuthRsaKey(objHandle: HCkHttp; privKey: HCkPrivateKey): wordbool; stdcall;
function CkHttp_SetPassword(objHandle: HCkHttp; password: HCkSecureString): wordbool; stdcall;
procedure CkHttp_SetRequestHeader(objHandle: HCkHttp; headerFieldName: PWideChar; headerFieldValue: PWideChar); stdcall;
function CkHttp_SetSecurePassword(objHandle: HCkHttp; password: HCkSecureString): wordbool; stdcall;
procedure CkHttp_SetSslCertRequirement(objHandle: HCkHttp; reqName: PWideChar; reqValue: PWideChar); stdcall;
function CkHttp_SetSslClientCert(objHandle: HCkHttp; cert: HCkCert): wordbool; stdcall;
function CkHttp_SetSslClientCertPem(objHandle: HCkHttp; pemDataOrPath: PWideChar; pemPassword: PWideChar): wordbool; stdcall;
function CkHttp_SetSslClientCertPfx(objHandle: HCkHttp; pfxPath: PWideChar; pfxPassword: PWideChar): wordbool; stdcall;
function CkHttp_SetUrlVar(objHandle: HCkHttp; name: PWideChar; value: PWideChar): wordbool; stdcall;
function CkHttp_SharePointOnlineAuth(objHandle: HCkHttp; siteUrl: PWideChar; username: PWideChar; password: HCkSecureString; extraInfo: HCkJsonObject): wordbool; stdcall;
function CkHttp_SharePointOnlineAuthAsync(objHandle: HCkHttp; siteUrl: PWideChar; username: PWideChar; password: HCkSecureString; extraInfo: HCkJsonObject): HCkTask; stdcall;
procedure CkHttp_SleepMs(objHandle: HCkHttp; millisec: Integer); stdcall;
function CkHttp_SynchronousRequest(objHandle: HCkHttp; domain: PWideChar; port: Integer; ssl: wordbool; req: HCkHttpRequest): HCkHttpResponse; stdcall;
function CkHttp_SynchronousRequestAsync(objHandle: HCkHttp; domain: PWideChar; port: Integer; ssl: wordbool; req: HCkHttpRequest): HCkTask; stdcall;
function CkHttp_UnlockComponent(objHandle: HCkHttp; unlockCode: PWideChar): wordbool; stdcall;
function CkHttp_UrlDecode(objHandle: HCkHttp; str: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__urlDecode(objHandle: HCkHttp; str: PWideChar): PWideChar; stdcall;
function CkHttp_UrlEncode(objHandle: HCkHttp; str: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__urlEncode(objHandle: HCkHttp; str: PWideChar): PWideChar; stdcall;
function CkHttp_VerifyTimestampReply(objHandle: HCkHttp; timestampReply: HCkBinData; tsaCert: HCkCert): Integer; stdcall;
function CkHttp_XmlRpc(objHandle: HCkHttp; urlEndpoint: PWideChar; xmlIn: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__xmlRpc(objHandle: HCkHttp; urlEndpoint: PWideChar; xmlIn: PWideChar): PWideChar; stdcall;
function CkHttp_XmlRpcAsync(objHandle: HCkHttp; urlEndpoint: PWideChar; xmlIn: PWideChar): HCkTask; stdcall;
function CkHttp_XmlRpcPut(objHandle: HCkHttp; urlEndpoint: PWideChar; xmlIn: PWideChar; outStr: HCkString): wordbool; stdcall;
function CkHttp__xmlRpcPut(objHandle: HCkHttp; urlEndpoint: PWideChar; xmlIn: PWideChar): PWideChar; stdcall;
function CkHttp_XmlRpcPutAsync(objHandle: HCkHttp; urlEndpoint: PWideChar; xmlIn: PWideChar): HCkTask; stdcall;
implementation
{$Include chilkatDllPath.inc}
function CkHttp_Create; external DLLName;
procedure CkHttp_Dispose; external DLLName;
procedure CkHttp_SetAbortCheck; external DLLName;
procedure CkHttp_SetProgressInfo; external DLLName;
procedure CkHttp_SetPercentDone; external DLLName;
procedure CkHttp_SetTaskCompleted; external DLLName;
function CkHttp_getAbortCurrent; external DLLName;
procedure CkHttp_putAbortCurrent; external DLLName;
procedure CkHttp_getAccept; external DLLName;
procedure CkHttp_putAccept; external DLLName;
function CkHttp__accept; external DLLName;
procedure CkHttp_getAcceptCharset; external DLLName;
procedure CkHttp_putAcceptCharset; external DLLName;
function CkHttp__acceptCharset; external DLLName;
procedure CkHttp_getAcceptLanguage; external DLLName;
procedure CkHttp_putAcceptLanguage; external DLLName;
function CkHttp__acceptLanguage; external DLLName;
function CkHttp_getAllowGzip; external DLLName;
procedure CkHttp_putAllowGzip; external DLLName;
function CkHttp_getAllowHeaderFolding; external DLLName;
procedure CkHttp_putAllowHeaderFolding; external DLLName;
procedure CkHttp_getAuthSignature; external DLLName;
procedure CkHttp_putAuthSignature; external DLLName;
function CkHttp__authSignature; external DLLName;
procedure CkHttp_getAuthToken; external DLLName;
procedure CkHttp_putAuthToken; external DLLName;
function CkHttp__authToken; external DLLName;
function CkHttp_getAutoAddHostHeader; external DLLName;
procedure CkHttp_putAutoAddHostHeader; external DLLName;
procedure CkHttp_getAwsAccessKey; external DLLName;
procedure CkHttp_putAwsAccessKey; external DLLName;
function CkHttp__awsAccessKey; external DLLName;
procedure CkHttp_getAwsEndpoint; external DLLName;
procedure CkHttp_putAwsEndpoint; external DLLName;
function CkHttp__awsEndpoint; external DLLName;
procedure CkHttp_getAwsRegion; external DLLName;
procedure CkHttp_putAwsRegion; external DLLName;
function CkHttp__awsRegion; external DLLName;
procedure CkHttp_getAwsSecretKey; external DLLName;
procedure CkHttp_putAwsSecretKey; external DLLName;
function CkHttp__awsSecretKey; external DLLName;
procedure CkHttp_getAwsSessionToken; external DLLName;
procedure CkHttp_putAwsSessionToken; external DLLName;
function CkHttp__awsSessionToken; external DLLName;
function CkHttp_getAwsSignatureVersion; external DLLName;
procedure CkHttp_putAwsSignatureVersion; external DLLName;
procedure CkHttp_getAwsSubResources; external DLLName;
procedure CkHttp_putAwsSubResources; external DLLName;
function CkHttp__awsSubResources; external DLLName;
function CkHttp_getBandwidthThrottleDown; external DLLName;
procedure CkHttp_putBandwidthThrottleDown; external DLLName;
function CkHttp_getBandwidthThrottleUp; external DLLName;
procedure CkHttp_putBandwidthThrottleUp; external DLLName;
function CkHttp_getBasicAuth; external DLLName;
procedure CkHttp_putBasicAuth; external DLLName;
procedure CkHttp_getClientIpAddress; external DLLName;
procedure CkHttp_putClientIpAddress; external DLLName;
function CkHttp__clientIpAddress; external DLLName;
function CkHttp_getConnectFailReason; external DLLName;
procedure CkHttp_getConnection; external DLLName;
procedure CkHttp_putConnection; external DLLName;
function CkHttp__connection; external DLLName;
function CkHttp_getConnectTimeout; external DLLName;
procedure CkHttp_putConnectTimeout; external DLLName;
procedure CkHttp_getCookieDir; external DLLName;
procedure CkHttp_putCookieDir; external DLLName;
function CkHttp__cookieDir; external DLLName;
procedure CkHttp_getDebugLogFilePath; external DLLName;
procedure CkHttp_putDebugLogFilePath; external DLLName;
function CkHttp__debugLogFilePath; external DLLName;
function CkHttp_getDefaultFreshPeriod; external DLLName;
procedure CkHttp_putDefaultFreshPeriod; external DLLName;
function CkHttp_getDigestAuth; external DLLName;
procedure CkHttp_putDigestAuth; external DLLName;