IRpcParser.cs 499 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using Edjcase.JsonRpc.Router;
  4. using EdjCase.JsonRpc.Core;
  5. namespace EdjCase.JsonRpc.Router.Abstractions
  6. {
  7. public interface IRpcParser
  8. {
  9. /// <summary>
  10. /// Parses all the requests from the json in the request
  11. /// </summary>
  12. /// <param name="jsonString">Json from the http request</param>
  13. /// <returns>Result of the parsing. Includes all the parsed requests and any errors</returns>
  14. ParsingResult ParseRequests(string jsonString);
  15. }
  16. }