internal protected virtual void TriggerOnHttpResponseFailed(Connection connection, AsyncHttpContext context)
 {
     if (this.OnHttpResponseFailed != null)
     {
         OnAsyncHttpRequestArgs lEventArgs = new OnAsyncHttpRequestArgs(connection, context);
         this.OnHttpResponseFailed(this, lEventArgs);
     }
 }
 internal protected virtual void TriggerOnBeforeHaveData(Connection connection, AsyncHttpContext context)
 {
     if (this.OnBeforeHaveData != null)
     {
         OnAsyncHttpRequestArgs lEventArgs = new OnAsyncHttpRequestArgs(connection, context);
         this.OnBeforeHaveData(this, lEventArgs);
     }
 }
Beispiel #3
0
 internal protected virtual void TriggerOnHttpResponseFailed(Connection connection, AsyncHttpContext context)
 {
     if (this.OnHttpResponseFailed != null)
     {
         OnAsyncHttpRequestArgs lEventArgs = new OnAsyncHttpRequestArgs(connection, context);
         this.OnHttpResponseFailed(this, lEventArgs);
     }
 }
Beispiel #4
0
 internal protected virtual void TriggerOnBeforeHaveData(Connection connection, AsyncHttpContext context)
 {
     if (this.OnBeforeHaveData != null)
     {
         OnAsyncHttpRequestArgs lEventArgs = new OnAsyncHttpRequestArgs(connection, context);
         this.OnBeforeHaveData(this, lEventArgs);
     }
 }