public ConsulPathAttribute(string path, HttpMethodKind httpMethodKind = HttpMethodKind.Get)
 {
     Path       = path;
     HttpMethod = httpMethodKind.ToHttpMethod();
 }
Exemple #2
0
        public HttpUrlAttribute(string url, HttpMethodKind httpMethodKind = HttpMethodKind.Get)
        {
            Url = url;

            HttpMethod = httpMethodKind.ToHttpMethod();
        }