Skip to content

The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.

License

danyeh/vs-streamjsonrpc

 
 

Repository files navigation

StreamJsonRpc

NuGet package Build Status codecov Join the chat at https://gitter.im/vs-streamjsonrpc/Lobby

StreamJsonRpc is a cross-platform, .NET portable library that implements the JSON-RPC wire protocol.

It works over Stream, WebSocket, or System.IO.Pipelines pipes, independent of the underlying transport.

Bonus features beyond the JSON-RPC spec include:

  1. Request cancellation
  2. .NET Events as notifications
  3. Dynamic client proxy generation
  4. Support for compact binary serialization via MessagePack
  5. Pluggable architecture for custom message handling and formatting.

Learn about the use cases for JSON-RPC and how to use this library from our documentation.

Supported platforms

  • .NET Standard 2.0 (e.g. .NET Framework 4.7.2, .NET Core 2.1+)

Compatibility

This library has been tested with and is compatible with the following other JSON-RPC libraries:

About

The StreamJsonRpc library offers JSON-RPC 2.0 over any .NET Stream, WebSocket, or Pipe. With bonus support for request cancellation, client proxy generation, and more.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 96.6%
  • PowerShell 3.2%
  • Other 0.2%