public Task <IHttpResponse> OptionsAsync(string relativeUrl, object segments = null) { var merged = BuildRelativeResource(relativeUrl, segments); var request = new OptionsRequest(merged); return(RunAsync(request)); }
public Task <IHttpResponse> Options(string relativeUrl, object segments = null, CancellationToken cancellationToken = default(CancellationToken)) { var merged = BuildRelativeResource(relativeUrl, segments); var request = new OptionsRequest(merged); return(Run(request, cancellationToken)); }