Implemented async for httpclient.

This commit is contained in:
Dominik Picheta 2014-03-26 16:43:32 +00:00
commit 783087fd57
4 changed files with 221 additions and 30 deletions

View file

@ -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