parent
5d0bcf6375
commit
0f48b62eb9
|
@ -3,7 +3,7 @@ import pkg/[chronos,
|
|||
chronicles,
|
||||
stew/byteutils]
|
||||
|
||||
import ../ws/ws
|
||||
import ../ws/ws, ../ws/errors
|
||||
|
||||
proc main() {.async.} =
|
||||
let ws = await WebSocket.tlsConnect(
|
||||
|
|
|
@ -549,7 +549,7 @@ proc initiateHandshake(
|
|||
except CatchableError as exc:
|
||||
raise newException(
|
||||
TransportError,
|
||||
"Cannot connect to " & $transp.remoteAddress() & " Error: " & exc.msg)
|
||||
"Cannot connect to " & $address & " Error: " & exc.msg)
|
||||
|
||||
let
|
||||
requestHeader = "GET " & uri.path & " HTTP/1.1" & CRLF & $headers
|
||||
|
|
Loading…
Reference in New Issue