Пример #1
0
        public Task <IHttpResponse> HeadAsync(string relativeUrl, object segments = null)
        {
            var merged  = BuildRelativeResource(relativeUrl, segments);
            var request = new HeadRequest(merged);

            return(RunAsync(request));
        }
Пример #2
0
        public Task <IHttpResponse> Head(string relativeUrl, object segments = null, CancellationToken cancellationToken = default(CancellationToken))
        {
            var merged  = BuildRelativeResource(relativeUrl, segments);
            var request = new HeadRequest(merged);

            return(Run(request, cancellationToken));
        }