JsonRpcContants.cs 660 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace JsonRPC4.Common
  6. {
  7. public static class JsonRpcContants
  8. {
  9. public const string VersionPropertyName = "jsonrpc";
  10. public const string MethodPropertyName = "method";
  11. public const string ParamsPropertyName = "params";
  12. public const string IdPropertyName = "id";
  13. public const string ResultPropertyName = "result";
  14. public const string ErrorPropertyName = "error";
  15. public const string ErrorCodePropertyName = "code";
  16. public const string ErrorMessagePropertyName = "message";
  17. public const string ErrorDataPropertyName = "data";
  18. }
  19. }