RpcServerConfiguration.cs 394 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text.Json;
  5. using System.Threading.Tasks;
  6. namespace JsonRPC4.Router
  7. {
  8. public class RpcServerConfiguration
  9. {
  10. public JsonSerializerOptions JsonSerializerSettings
  11. {
  12. get;
  13. set;
  14. }
  15. public bool ShowServerExceptions
  16. {
  17. get;
  18. set;
  19. }
  20. public int? BatchRequestLimit
  21. {
  22. get;
  23. set;
  24. }
  25. }
  26. }