You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on May 24, 2023. It is now read-only.
Example to implement json rpc 2 with net/rpc/jsonrpc #141
I get this error:
cannot use c (variable of type *"github.com/gofiber/websocket/v2".Conn) as io.ReadWriteCloser value in argument to jsonrpc.NewClient: *"github.com/gofiber/websocket/v2".Conn does not implement io.ReadWriteCloser (missing method Read)
Is there a way to adapt golang.org/x/net/websocket to be used with go fiber websockets?
Activity
clarkmcc commentedon May 17, 2023
I know this is late, but in case it's useful for others, something like this should do the trick. Disclaimer: untested.