public void Apply(HttpRequestMessage request, HostConfig hostConfig) { request.Headers.Add("api-key", hostConfig.ConfigData["api-key"]); }