Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 4.5 KB

README.md

File metadata and controls

37 lines (25 loc) · 4.5 KB

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.