Follow the leader
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

ResultStruct.cs 439B

123456789101112131415161718192021
  1. using System;
  2. namespace Leadercraft.Server
  3. {
  4. // Json Serialisation struct
  5. #pragma warning disable 0649
  6. internal struct ResultStruct<T>
  7. {
  8. public int StatusCode; // HTTP Response status code
  9. public T[] Items; // Result items
  10. public int Elapsed; // Time (ns)
  11. public string Query; // pseudo query language
  12. public string URL; // request URL
  13. public string Start; // start time
  14. }
  15. #pragma warning restore 0649
  16. }