Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc newWebSocket(req: Request): Future[WebSocket]
- first type mismatch at position: 2
- extra argument given
- proc newWebSocket(url: string; protocol: string = ""): Future[WebSocket]
- first type mismatch at position: 1
- required type for url: string
- but expression 'req' is of type: Request
- expression: newWebSocket(req, "default")
- line 85, hmm in another project i can call np
- https://github.com/treeform/ws/blob/master/src/ws.nim#L85
Add Comment
Please, Sign In to add comment