#Are there more std.net docs?

1 messages · Page 1 of 1 (latest)

clever cliff
#

You could look at the source code, the standard library is usually very nicely written. Keep in mind that most std things are quite low level, so if you want something more abstracted you should look at 3rd party libs

clever cliff
#

It has a init function, that provides a StreamServer

#

So you inititalize it with var server = std.net.StreamServer.init(.{});, and then you can call try server.listen(...)

#

I would familiarize myself a little with std first if you don't recognize this kind of pattern

#

Are you using vscode?

#

Because it's probably not zls's fault, but the editor that is calling the language server function