Skip to content

HeadAsync

Troy Willmot edited this page Oct 16, 2016 · 1 revision

Summary

Makes an HTTP call with the HEAD verb. Similar to the native GetAsync/PostAsync/DeleteAsync methods.

Sample

var client = new HttpClient();
await client.HeadAsync(new Uri("http://www.myserver.com/endpoint"));

Clone this wiki locally