HA4IoT.Networking.Http.HttpRequestController.Handle C# (CSharp) Метод

Handle() публичный Метод

public Handle ( HttpMethod method, string uri ) : HttpRequestDispatcherAction
method HttpMethod
uri string
Результат HttpRequestDispatcherAction
        public HttpRequestDispatcherAction Handle(HttpMethod method, string uri)
        {
            if (uri == null) throw new ArgumentNullException(nameof(uri));

            var action = new HttpRequestDispatcherAction(method, uri);
            _handlers.Add(action);

            return action;
        }