mirror of
https://github.com/codex-storage/nim-websock.git
synced 2025-01-22 16:39:19 +00:00
parent
14d852e0d4
commit
5311a6e0b8
@ -125,7 +125,7 @@ proc connect*(
|
||||
address: TransportAddress,
|
||||
version = HttpVersion11,
|
||||
tlsFlags: set[TLSFlags] = {},
|
||||
tlsMinVersion = TLSVersion.TLS11,
|
||||
tlsMinVersion = TLSVersion.TLS12,
|
||||
tlsMaxVersion = TLSVersion.TLS12,
|
||||
hostName = ""): Future[T] {.async.} =
|
||||
|
||||
@ -167,7 +167,7 @@ proc connect*(
|
||||
host: string,
|
||||
version = HttpVersion11,
|
||||
tlsFlags: set[TLSFlags] = {},
|
||||
tlsMinVersion = TLSVersion.TLS11,
|
||||
tlsMinVersion = TLSVersion.TLS12,
|
||||
tlsMaxVersion = TLSVersion.TLS12,
|
||||
hostName = ""): Future[T]
|
||||
{.async, raises: [Defect, HttpError].} =
|
||||
|
Loading…
x
Reference in New Issue
Block a user