예제 #1
0
 public void OnComplete(IHTTPRequest request)
 {
     if (listener != null)
     {
         listener.OnComplete(request);
     }
 }
예제 #2
0
        public override void OnComplete()
        {
            IHTTPListener listener = getEffectiveListener();

            if (listener != null)
            {
                UnityThreadHelper.Dispatcher.Dispatch(delegate
                {
                    listener.OnComplete(this);
                });
            }
        }
예제 #3
0
        public virtual void OnComplete()
        {
            IHTTPListener effectiveListener = getEffectiveListener();

            if (effectiveListener != null)
            {
                try
                {
                    effectiveListener.OnComplete(this);
                }
                catch (Exception exception)
                {
                    Debug.LogError("A listener threw an exception.");
                    Debug.LogException(exception);
                }
            }
        }
 public override void perform(IHTTPListener inner)
 {
     inner.OnComplete(request);
 }