Skip to content

geleems/JsonRpc.Standard

 
 

Repository files navigation

Banner

JsonRpc.Standard

Gitter

An asynchronous .NET Standard 1.3 & .NET Framework 4.5 library for JSON RPC client & server implementation. The package focuses on the implementation of JSON RPC 2.0, while 1.0 support might be offered in the future.

The CXuesong.JsonRpc.* packages are now available on NuGet. To decide which package(s) you should install, please refer to the topic page on repository wiki. For example, you may install the CXuesong.JsonRpc.Commons package with the following command

#  Package Management Console
Install-Package CXuesong.JsonRpc.Commons
# .NET CLI
dotnet add package CXuesong.JsonRpc.Commons
Package Status
CXuesong.JsonRpc.Standard
Superseded by CXuesong.JsonRpc.Commons
NuGet version (CXuesong.JsonRpc.Standard) NuGet version (CXuesong.JsonRpc.Standard)
CXuesong.JsonRpc.Commons NuGet version (CXuesong.JsonRpc.Commons) NuGet version (CXuesong.JsonRpc.Commons)
CXuesong.JsonRpc.DynamicProxy NuGet version (CXuesong.JsonRpc.DynamicProxy) NuGet version (CXuesong.JsonRpc.DynamicProxy)
CXuesong.JsonRpc.Streams NuGet version (CXuesong.JsonRpc.Streams) NuGet version (CXuesong.JsonRpc.Streams)
CXuesong.JsonRpc.AspNetCore NuGet version (CXuesong.JsonRpc.AspNetCore) NuGet version (CXuesong.JsonRpc.AspNetCore)
CXuesong.JsonRpc.Http NuGet version (CXuesong.JsonRpc.Http) NuGet version (CXuesong.JsonRpc.Http)
CXuesong.JsonRpc.WebSockets NuGet version (CXuesong.JsonRpc.WebSockets) NuGet version (CXuesong.JsonRpc.WebSockets)

For a walkthrough of the packages, see repository wiki. For complete documentation on the classes, see library reference.

Examples

For an example based on FullDuplexStream, please dive into ConsoleTestApp.

For an example JSON-RPC server over HTTP with WebSocket support set up on ASP.NET Core, see WebTestApplication.

For the (WIP) implementation of Mircosoft Language Server Protocol on the top of this library, please take a look at CXuesong/LanguageServer.NET. And a step further, for a WIP Wikitext language server, please take a look at CXuesong/MwLanguageServer.

About

An asynchronous .NET Standard library for JSON RPC client & server implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.6%
  • HTML 1.2%
  • Other 1.2%