Example #1
0
 public SubordinateResource(HttpResponseMessage httpResponseMessage, Uri url, HttpClientAdapterFactory adapterFactory, IEnumerable<PipelineOption> ambientPipelineOptions)
     : base(url, adapterFactory, ambientPipelineOptions)
 {
     _httpResponseMessage = httpResponseMessage;
 }
Example #2
0
 public RestClient(Uri url, HttpClientAdapterFactory adapterFactory, IEnumerable<PipelineOption> ambientPipelineOptions)
 {
     Url = url;
     _adapterFactory = adapterFactory;
     _ambientPipelineOptions = ambientPipelineOptions;
 }
Example #3
0
 public RestClient(string url, HttpClientAdapterFactory adapterFactory, IEnumerable<PipelineOption> ambientPipelineOptions)
     : this(url == null ? null : new Uri(url), adapterFactory, ambientPipelineOptions)
 {
 }
Example #4
0
 public RestClient(Uri url, HttpClientAdapterFactory adapterFactory, IEnumerable <PipelineOption> ambientPipelineOptions)
 {
     Url                     = url;
     _adapterFactory         = adapterFactory;
     _ambientPipelineOptions = ambientPipelineOptions;
 }
Example #5
0
 public RestClient(string url, HttpClientAdapterFactory adapterFactory, IEnumerable <PipelineOption> ambientPipelineOptions)
     : this(url == null ? null : new Uri(url), adapterFactory, ambientPipelineOptions)
 {
 }
Example #6
0
 public SubordinateResource(HttpResponseMessage httpResponseMessage, Uri url, HttpClientAdapterFactory adapterFactory, IEnumerable <PipelineOption> ambientPipelineOptions)
     : base(url, adapterFactory, ambientPipelineOptions)
 {
     _httpResponseMessage = httpResponseMessage;
 }