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