ServiceStack.WebHost.Endpoints.RestHandler.GetRestPath C# (CSharp) Method

GetRestPath() public method

public GetRestPath ( string httpMethod, string pathInfo ) : IRestPath
httpMethod string
pathInfo string
return IRestPath
        public IRestPath GetRestPath(string httpMethod, string pathInfo)
        {
            if (this.RestPath == null)
            {
                this.RestPath = FindMatchingRestPath(httpMethod, pathInfo);
            }
            return this.RestPath;
        }