wshttp

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL