mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 22:08:17 +08:00
finished tests around http2
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
{
|
||||
using System;
|
||||
|
||||
public class VersionCreator : IVersionCreator
|
||||
public class HttpVersionCreator : IVersionCreator
|
||||
{
|
||||
public Version Create(string downstreamHttpVersion)
|
||||
{
|
@ -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();
|
||||
|
Reference in New Issue
Block a user