public HttpRequestAsyncHandler FindAsyncHandler(HttpConnection p) { HttpRequestAsyncHandler handler = null; try { handler = pathroutes[p.Url_path] as HttpRequestAsyncHandler; } catch (KeyNotFoundException) { return(null); } return(handler); }
public void RemoveAsyncFilter(HttpRequestAsyncHandler func) { filters.Remove(func); }
public void AddAsyncFilter(HttpRequestAsyncHandler func) { filters.Add(func); }
public void AddAsyncRoute(string path, HttpRequestAsyncHandler handler) { pathroutes.Add(path, handler); }