Minor nit

This commit is contained in:
Arijit Das 2020-12-01 18:32:41 +05:30
parent 3b69187007
commit 22cefcfd4b
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import ../ws, chronos, asynchttpserver import ws, chronos, asynchttpserver
proc cb(req: Request) {.async.} = proc cb(req: Request) {.async.} =
var ws = await newWebSocket(req) let (ws, error) = await newWebSocket(req)
ws.close() ws.close()
var server = newAsyncHttpServer() var server = newAsyncHttpServer()

View File

@ -1,4 +1,4 @@
import chronos, asyncdispatch, asynchttpserver, base64, nativesockets import chronos, asynchttpserver, base64, nativesockets
type HeaderVerificationError* {.pure.} = enum type HeaderVerificationError* {.pure.} = enum
None None