HA4IoT.Networking.Http.HttpRequestController.HandleGet C# (CSharp) Method

HandleGet() public method

public HandleGet ( string uri ) : IHttpRequestDispatcherAction
uri string
return IHttpRequestDispatcherAction
        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;
        }