Beispiel #1
0
 public static void Send(JsonRequest data, Action<JsonResponse> successCallback, Action<Exception> failureCallback)
 {
     Request request = new Request(data, successCallback, failureCallback);
     request.SendRequest();
 }
Beispiel #2
0
 public static extern void Send(JsonRequest data, Action<JsonResponse> successCallback);
Beispiel #3
0
 private Request(JsonRequest data, Action<JsonResponse> successCallback, Action<Exception> failureCallback)
 {
     this.data = data;
     this.successCallback = successCallback;
     this.failureCallback = failureCallback;
 }
Beispiel #4
0
 public static extern void Send(JsonRequest data);
Beispiel #5
0
 public bool CanHandle(JsonRequest jsonRequest)
 {
     return jsonRequest.type == GetHandleRequestType().Name;
 }