Add docs informing about gotcha of clients (#21262)
* Add docs informing about gotcha of clients It is a hidden problem that AsyncHttpClient-instances *can not* deal with multiple requests at once. Similar to normal HttpClients they can only deal with sending one request at a time. This is not told anywhere in the documentation, but critical information that should be available to the user. * Update lib/pure/httpclient.nim fixes typo Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com> Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
This commit is contained in:
parent
fc35f83eee
commit
fd207827c5
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@
|
||||||
## **Note:** You need to run asynchronous examples in an async proc
|
## **Note:** You need to run asynchronous examples in an async proc
|
||||||
## otherwise you will get an `Undeclared identifier: 'await'` error.
|
## otherwise you will get an `Undeclared identifier: 'await'` error.
|
||||||
##
|
##
|
||||||
|
## **Note:** An asynchronous client instance can only deal with one
|
||||||
|
## request at a time. To send multiple requests in parallel, use
|
||||||
|
## multiple client instances.
|
||||||
|
##
|
||||||
## Using HTTP POST
|
## Using HTTP POST
|
||||||
## ===============
|
## ===============
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue