jrpc2 icon indicating copy to clipboard operation
jrpc2 copied to clipboard

A Go implementation of a JSON-RPC 2.0 server and client.

Results 6 jrpc2 issues
Sort by recently updated
recently updated
newest added

This module is currently versioned for development (v0). Where practical, I try to avoid breaking API changes. However, when I do need to change the API I've adopted the convention...

refer https://opentelemetry.io/docs/specs/semconv/rpc/json-rpc/

We have encountered the situation, that our go executable does not return from WaitStatus. Apparently, the goroutine to receive messages on the channel does not terminate after the server.stop, and...

I am using jrpc2 v1.2.0 This test: ```go package main import ( "context" "fmt" "net/http" "testing" "github.com/creachadair/jrpc2" "github.com/creachadair/jrpc2/handler" "github.com/creachadair/jrpc2/jhttp" "github.com/stretchr/testify/require" ) func TestClientReconnectsIfConnectionRefused(t *testing.T) { ch := jhttp.NewChannel("http://localhost:8000", nil) client...

When making requests to the server with the `jsonrpc` field omitted, the server errors with: ``` { "error": { "code": -32600, "message": "invalid version marker" }, "id": "1", "jsonrpc": "2.0"...