http

command
v0.41.2 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Program http demonstrates how to set up a JSON-RPC 2.0 server using the github.com/creachadair/jrpc2 package with an HTTP transport.

Usage (see also the client example):

go build github.com/creachadair/jrpc2/tools/examples/http
./http -listen :8080

The server accepts RPCs on http://<address>/rpc.

Jump to

Keyboard shortcuts

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