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

            HttpMethod = httpMethodKind.ToHttpMethod();
        }