using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;

namespace Example.Connectors
{
    public static class Apicall
    {
        public static HttpClient ApiClient { get; set; }
        public static HttpClient ApiHeader { get; set; }

        public static void InitializeClient()
        {
            ApiClient = new HttpClient();
            ApiClient.DefaultRequestHeaders.Accept.Clear();
            ApiClient.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json"));

            ApiHeader = new HttpClient();
            ApiHeader.DefaultRequestHeaders.Add("Authorization", "WhalleyBotOverlay_e-H1rr55f");
            ApiHeader.DefaultRequestHeaders.Accept.Add(new System.Net.Http.Headers.MediaTypeWithQualityHeaderValue("application/json"));
        }
    }
}
