public IHttpRequestDispatcherAction HandleGet(string uri) { if (uri == null) throw new ArgumentNullException(nameof(uri)); var action = new HttpRequestDispatcherAction(HttpMethod.Get, uri); _handlers.Add(action); return action; }