Closed RokkuCode closed 2 years ago
With the following snippet from the official error i got an error but it compiles fine:
import std/net let socket = newSocket() let ctx = newContext() wrapSocket(ctx, socket) socket.connect("google.com", Port(443))
Result:
With hovering the newContext() I got:
see https://github.com/pragmagic/vscode-nim/issues/70 except that you need to supply the flag -d:ssl instead of --threads:on
With the following snippet from the official error i got an error but it compiles fine:
Result:
With hovering the newContext() I got: