Exemplo n.º 1
0
 public FPLHttpClient(OverTheWireOptions options) : base()
 {
     this.BaseAddress = new Uri(options.BaseUri);
     this.DefaultRequestHeaders.Accept.Clear();
     this.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
 }
Exemplo n.º 2
0
 public LiveFPLDataProviderService(FPLHttpClient httpClient, OverTheWireOptions options)
 {
     HttpClient = httpClient;
     Options    = options;
 }