Documentation
¶
Overview ¶
Program wshttp demonstrates how to set up a JSON-RPC 20 server using the github.com/creachadair/jrpc2 package with a Websocket transport.
Usage:
go build github.com/creachadair/jrpc2/tools/examples/wshttp ./wshttp -listen :8080
The server accepts RPC connections on ws://<address>/rpc.
Click to show internal directories.
Click to hide internal directories.