httpclient.idx 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. nimTitle httpclient httpclient.html module std/httpclient 0
  2. nim Response httpclient.html#Response type Response 275
  3. nim AsyncResponse httpclient.html#AsyncResponse type AsyncResponse 282
  4. nim code httpclient.html#code proc code(response: Response | AsyncResponse): HttpCode 289
  5. nim contentType httpclient.html#contentType proc contentType(response: Response | AsyncResponse): string 297
  6. nim contentLength httpclient.html#contentLength proc contentLength(response: Response | AsyncResponse): int 303
  7. nim lastModified httpclient.html#lastModified proc lastModified(response: Response | AsyncResponse): DateTime 313
  8. nim body httpclient.html#body,Response proc body(response: Response): string 323
  9. nim body httpclient.html#body,AsyncResponse proc body(response: AsyncResponse): Future[string] 331
  10. nim Proxy httpclient.html#Proxy type Proxy 339
  11. nim MultipartEntries httpclient.html#MultipartEntries type MultipartEntries 352
  12. nim MultipartData httpclient.html#MultipartData type MultipartData 353
  13. nim ProtocolError httpclient.html#ProtocolError object ProtocolError 356
  14. nim HttpRequestError httpclient.html#HttpRequestError object HttpRequestError 360
  15. nim defUserAgent httpclient.html#defUserAgent const defUserAgent 364
  16. nim newProxy httpclient.html#newProxy,string,string proc newProxy(url: string; auth = ""): Proxy 390
  17. nim newProxy httpclient.html#newProxy,Uri,string proc newProxy(url: Uri; auth = ""): Proxy 394
  18. nim newMultipartData httpclient.html#newMultipartData proc newMultipartData(): MultipartData 398
  19. nim `$` httpclient.html#$,MultipartData proc `$`(data: MultipartData): string 402
  20. nim add httpclient.html#add,MultipartData,string,string,string,string proc add(p: MultipartData; name, content: string; filename: string = "";\n contentType: string = ""; useStream = true) 415
  21. nim add httpclient.html#add,MultipartData,MultipartEntries proc add(p: MultipartData; xs: MultipartEntries): MultipartData 443
  22. nim newMultipartData httpclient.html#newMultipartData,MultipartEntries proc newMultipartData(xs: MultipartEntries): MultipartData 455
  23. nim addFiles httpclient.html#addFiles,MultipartData,openArray[tuple[string,string]] proc addFiles(p: MultipartData; xs: openArray[tuple[name, file: string]];\n mimeDb = newMimetypes(); useStream = true): MultipartData 466
  24. nim `[]=` httpclient.html#[]=,MultipartData,string,string proc `[]=`(p: MultipartData; name, content: string) 488
  25. nim `[]=` httpclient.html#[]=,MultipartData,string,tuple[string,string,string] proc `[]=`(p: MultipartData; name: string;\n file: tuple[name, contentType, content: string]) 497
  26. nim ProgressChangedProc httpclient.html#ProgressChangedProc type ProgressChangedProc 588
  27. nim HttpClientBase httpclient.html#HttpClientBase type HttpClientBase 592
  28. nim HttpClient httpclient.html#HttpClient type HttpClient 620
  29. nim newHttpClient httpclient.html#newHttpClient,int,Proxy,int proc newHttpClient(userAgent = defUserAgent; maxRedirects = 5;\n sslContext = getDefaultSSL(); proxy: Proxy = nil; timeout = -1;\n headers = newHttpHeaders()): HttpClient 622
  30. nim AsyncHttpClient httpclient.html#AsyncHttpClient type AsyncHttpClient 663
  31. nim newAsyncHttpClient httpclient.html#newAsyncHttpClient,int,Proxy proc newAsyncHttpClient(userAgent = defUserAgent; maxRedirects = 5;\n sslContext = getDefaultSSL(); proxy: Proxy = nil;\n headers = newHttpHeaders()): AsyncHttpClient 665
  32. nim close httpclient.html#close proc close(client: HttpClient | AsyncHttpClient) 705
  33. nim getSocket httpclient.html#getSocket,HttpClient proc getSocket(client: HttpClient): Socket 711
  34. nim getSocket httpclient.html#getSocket,AsyncHttpClient proc getSocket(client: AsyncHttpClient): AsyncSocket 723
  35. nim request httpclient.html#request,AsyncHttpClient,,string,HttpHeaders,MultipartData proc request(client: AsyncHttpClient; url: Uri | string;\n httpMethod: HttpMethod | string = HttpGet; body = "";\n headers: HttpHeaders = nil; multipart: MultipartData = nil): Future[\n AsyncResponse] 1131
  36. nim request httpclient.html#request,HttpClient,,string,HttpHeaders,MultipartData proc request(client: HttpClient; url: Uri | string;\n httpMethod: HttpMethod | string = HttpGet; body = "";\n headers: HttpHeaders = nil; multipart: MultipartData = nil): Response 1135
  37. nim head httpclient.html#head,AsyncHttpClient, proc head(client: AsyncHttpClient; url: Uri | string): Future[AsyncResponse] 1243
  38. nim head httpclient.html#head,HttpClient, proc head(client: HttpClient; url: Uri | string): Response 1244
  39. nim get httpclient.html#get,AsyncHttpClient, proc get(client: AsyncHttpClient; url: Uri | string): Future[AsyncResponse] 1250
  40. nim get httpclient.html#get,HttpClient, proc get(client: HttpClient; url: Uri | string): Response 1251
  41. nim getContent httpclient.html#getContent,AsyncHttpClient, proc getContent(client: AsyncHttpClient; url: Uri | string): Future[string] 1257
  42. nim getContent httpclient.html#getContent,HttpClient, proc getContent(client: HttpClient; url: Uri | string): string 1258
  43. nim delete httpclient.html#delete,AsyncHttpClient, proc delete(client: AsyncHttpClient; url: Uri | string): Future[AsyncResponse] 1263
  44. nim delete httpclient.html#delete,HttpClient, proc delete(client: HttpClient; url: Uri | string): Response 1264
  45. nim deleteContent httpclient.html#deleteContent,AsyncHttpClient, proc deleteContent(client: AsyncHttpClient; url: Uri | string): Future[string] 1269
  46. nim deleteContent httpclient.html#deleteContent,HttpClient, proc deleteContent(client: HttpClient; url: Uri | string): string 1270
  47. nim post httpclient.html#post,AsyncHttpClient,,string,MultipartData proc post(client: AsyncHttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Future[AsyncResponse] 1275
  48. nim post httpclient.html#post,HttpClient,,string,MultipartData proc post(client: HttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Response 1277
  49. nim postContent httpclient.html#postContent,AsyncHttpClient,,string,MultipartData proc postContent(client: AsyncHttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Future[string] 1282
  50. nim postContent httpclient.html#postContent,HttpClient,,string,MultipartData proc postContent(client: HttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): string 1284
  51. nim put httpclient.html#put,AsyncHttpClient,,string,MultipartData proc put(client: AsyncHttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Future[AsyncResponse] 1289
  52. nim put httpclient.html#put,HttpClient,,string,MultipartData proc put(client: HttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Response 1291
  53. nim putContent httpclient.html#putContent,AsyncHttpClient,,string,MultipartData proc putContent(client: AsyncHttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Future[string] 1296
  54. nim putContent httpclient.html#putContent,HttpClient,,string,MultipartData proc putContent(client: HttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): string 1297
  55. nim patch httpclient.html#patch,AsyncHttpClient,,string,MultipartData proc patch(client: AsyncHttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Future[AsyncResponse] 1302
  56. nim patch httpclient.html#patch,HttpClient,,string,MultipartData proc patch(client: HttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Response 1304
  57. nim patchContent httpclient.html#patchContent,AsyncHttpClient,,string,MultipartData proc patchContent(client: AsyncHttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): Future[string] 1309
  58. nim patchContent httpclient.html#patchContent,HttpClient,,string,MultipartData proc patchContent(client: HttpClient; url: Uri | string; body = "";\n multipart: MultipartData = nil): string 1311
  59. nim downloadFile httpclient.html#downloadFile,HttpClient,,string proc downloadFile(client: HttpClient; url: Uri | string; filename: string) 1316
  60. nim downloadFile httpclient.html#downloadFile,AsyncHttpClient,,string proc downloadFile(client: AsyncHttpClient; url: Uri | string; filename: string): Future[\n void] 1354
  61. heading Retrieving a website httpclient.html#retrieving-a-website Retrieving a website 0
  62. heading Using HTTP POST httpclient.html#using-http-post Using HTTP POST 0
  63. heading Progress reporting httpclient.html#progress-reporting Progress reporting 0
  64. heading SSL/TLS support httpclient.html#sslslashtls-support SSL/TLS support 0
  65. heading Timeouts httpclient.html#timeouts Timeouts 0
  66. heading Proxy httpclient.html#proxy Proxy 0
  67. heading Redirects httpclient.html#redirects Redirects 0
  68. nimgrp body httpclient.html#body-procs-all proc 323
  69. nimgrp request httpclient.html#request-procs-all proc 1131
  70. nimgrp getsocket httpclient.html#getSocket-procs-all proc 711
  71. nimgrp postcontent httpclient.html#postContent-procs-all proc 1282
  72. nimgrp newmultipartdata httpclient.html#newMultipartData-procs-all proc 398
  73. nimgrp patchcontent httpclient.html#patchContent-procs-all proc 1309
  74. nimgrp []= httpclient.html#[]=-procs-all proc 488
  75. nimgrp putcontent httpclient.html#putContent-procs-all proc 1296
  76. nimgrp delete httpclient.html#delete-procs-all proc 1263
  77. nimgrp getcontent httpclient.html#getContent-procs-all proc 1257
  78. nimgrp post httpclient.html#post-procs-all proc 1275
  79. nimgrp get httpclient.html#get-procs-all proc 1250
  80. nimgrp downloadfile httpclient.html#downloadFile-procs-all proc 1316
  81. nimgrp add httpclient.html#add-procs-all proc 415
  82. nimgrp deletecontent httpclient.html#deleteContent-procs-all proc 1269
  83. nimgrp newproxy httpclient.html#newProxy-procs-all proc 390
  84. nimgrp head httpclient.html#head-procs-all proc 1243
  85. nimgrp put httpclient.html#put-procs-all proc 1289
  86. nimgrp patch httpclient.html#patch-procs-all proc 1302