1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #if !BESTHTTP_DISABLE_SIGNALR
- using System;
- using BestHTTP.SignalR.Hubs;
- namespace BestHTTP.SignalR.Messages
- {
-
-
-
-
- public struct ClientMessage
- {
-
-
-
- public readonly Hub Hub;
-
-
-
- public readonly string Method;
-
-
-
- public readonly object[] Args;
-
-
-
- public readonly UInt64 CallIdx;
-
-
-
- public readonly OnMethodResultDelegate ResultCallback;
-
-
-
- public readonly OnMethodFailedDelegate ResultErrorCallback;
-
-
-
- public readonly OnMethodProgressDelegate ProgressCallback;
- public ClientMessage(Hub hub,
- string method,
- object[] args,
- UInt64 callIdx,
- OnMethodResultDelegate resultCallback,
- OnMethodFailedDelegate resultErrorCallback,
- OnMethodProgressDelegate progressCallback)
- {
- Hub = hub;
- Method = method;
- Args = args;
- CallIdx = callIdx;
- ResultCallback = resultCallback;
- ResultErrorCallback = resultErrorCallback;
- ProgressCallback = progressCallback;
- }
- }
- }
- #endif
|