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

            return(RunAsync(request));
        }
Beispiel #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));
        }