1
0
Fork 0
mirror of https://github.com/sourcegraph/jsonrpc2.git synced 2026-06-16 20:20:03 +02:00
No description
Find a file
Quinn Slack 6e06d561ec Add pluggable transport interface + WebSocket support
simplify API by using interface{}, rename from transport -> stream

add WebSocket transport in websocket subpackage

do not buffer in ReadObject, rename GetObjectReader/ReadObject -> NextObjectReader

use xtest (jsonrpc2_test) package to allow us to test subpackages that depend on us (in a future change)

factor out vscode-specific transport code and allow pluggable transports

remove Server (unused) and Serve (unnecessary):
  The Serve func had nothing specific to JSON-RPC; it was just a loop
  around (net.Listener).Accept. It added no value.
2016-12-17 18:35:34 -08:00
websocket Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
.travis.yml ci: use go 1.7.1, 'release' is not valid 2016-10-11 16:13:48 +02:00
call_opt.go initial commit 2016-10-11 15:56:18 +02:00
codec_test.go Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
conn_opt.go Use correct format string for ID 2016-11-14 21:17:22 +02:00
handler_with_error.go Use correct format string for ID 2016-11-14 21:17:22 +02:00
jsonrpc2.go Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
jsonrpc2_test.go Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
LICENSE initial commit 2016-10-11 15:56:18 +02:00
object_test.go Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00
README.md remove incomplete JSON-RPC 2.0 batch support 2016-11-06 06:51:04 -08:00
stream.go Add pluggable transport interface + WebSocket support 2016-12-17 18:35:34 -08:00

jsonrpc2: JSON-RPC 2.0 implementation for Go Build Status

Package jsonrpc2 provides a Go implementation of JSON-RPC 2.0.

This package is experimental until further notice.

Open the code in Sourcegraph

Known issues

  • Batch requests and responses are not yet supported.