Closed mattBrzezinski closed 1 year ago
server.MapHTTP(signalr.WithHTTPServeMux(router), "/negotiate") // README was problematic here, where attempting to connect would immediate result in a failed to connect to /negotiate in the Client
The server in the readme servers the "
The doc at https://pkg.go.dev/github.com/philippseith/signalr#section-documentation will not be updated directly but after some time when google scrapes over this repo the next time.
š Hi, I'm pretty new to Go and came across this package.
I was working through the README trying to setup a local server and client, but kept running into issues. I was wondering if you could amend the example to have a code complete solution for both parts to showcase the project. As someone who is new to Go it's a bit confusing as what is actually required to create these components. Right now I have...
Server
Client
When I run the server in a terminal session we sit around
Listening for websocket connections on http://localhost:8080
, when I try to launch the client, I'm getting an error,I'll note that in the server if I change the
.MapHTTP
to serve on something like/data
as the README shows I'll get back the following from the Client,