finished tests around http2

This commit is contained in:
TomPallister
2020-02-21 16:49:26 +00:00
parent 2772ce406d
commit ec8a5b6ddf
5 changed files with 236 additions and 4 deletions

View File

@ -2,7 +2,7 @@
{
using System;
public class VersionCreator : IVersionCreator
public class HttpVersionCreator : IVersionCreator
{
public Version Create(string downstreamHttpVersion)
{

View File

@ -136,7 +136,7 @@ namespace Ocelot.DependencyInjection
Services.TryAddSingleton<IFrameworkDescription, FrameworkDescription>();
Services.TryAddSingleton<IQoSFactory, QoSFactory>();
Services.TryAddSingleton<IExceptionToErrorMapper, HttpExeptionToErrorMapper>();
Services.TryAddSingleton<IVersionCreator, VersionCreator>();
Services.TryAddSingleton<IVersionCreator, HttpVersionCreator>();
//add security
this.AddSecurity();