Implemented async for httpclient.
This commit is contained in:
parent
4ed1ac0078
commit
783087fd57
4 changed files with 221 additions and 30 deletions
|
|
@ -15,7 +15,7 @@ when defined(ssl):
|
|||
|
||||
type
|
||||
# TODO: I would prefer to just do:
|
||||
# PAsyncSocket* {.borrow: `.`.} = distinct PAsyncSocket. But that doesn't work.
|
||||
# PAsyncSocket* {.borrow: `.`.} = distinct PSocket. But that doesn't work.
|
||||
TAsyncSocket {.borrow: `.`.} = distinct TSocketImpl
|
||||
PAsyncSocket* = ref TAsyncSocket
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue