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);
     }
 }
Example #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);
     }
 }
Example #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);
     }
 }