Closed bneigher closed 4 months ago
Sorry, currently only the golang version of socket.io server is available, the golang version of socket.io client is not ready yet.
The Client
struct in this version library is the client connection session information in the server.
ohhh. makes sense, ok thanks
I am trying to write some tests here (specifically for middleware
SocketIOMiddleware
, and am wondering how exactly one would set up a client and use that client on the server?Here is what I've been trying to do:
I'm getting a panic because I don't know what to pass in to NewClient conn argument