Invocation.cs 524 B

123456789101112131415161718192021
  1. #if !BESTHTTP_DISABLE_SIGNALR_CORE && !BESTHTTP_DISABLE_WEBSOCKET
  2. using System;
  3. namespace BestHTTP.SignalRCore.Messages
  4. {
  5. public struct InvocationMessage
  6. {
  7. public MessageTypes type;
  8. public string invocationId;
  9. public bool nonblocking;
  10. public string target;
  11. public object[] arguments;
  12. }
  13. public struct CancelInvocationMessage
  14. {
  15. public MessageTypes type { get { return MessageTypes.CancelInvocation; } }
  16. public string invocationId;
  17. }
  18. }
  19. #endif