/// <summary> /// Raises the request recieved event. /// </summary> /// <param name="e">E.</param> protected virtual void OnRequestRecieved(RequestRecievedEventArgs e) { EventHandler<RequestRecievedEventArgs> handler = MessageRecieved; if (handler != null) handler(this, e); }
/// <summary> /// Listener_s the on message recieved. /// </summary> /// <param name="sender">Sender.</param> /// <param name="e">E.</param> public static void listener_OnMessageRecieved(object sender, RequestRecievedEventArgs e) { handler.HandleContext(e.HttpContext); }