SYMBOL INDEX (5162 symbols across 770 files) FILE: samples/Eureka/DownstreamService/Controllers/CategoryController.cs class CategoryController (line 5) | [Route("api/[controller]")] method Get (line 9) | [HttpGet] FILE: samples/GraphQL/GraphQlDelegatingHandler.cs class GraphQLDelegatingHandler (line 8) | public class GraphQLDelegatingHandler : DelegatingHandler method GraphQLDelegatingHandler (line 14) | public GraphQLDelegatingHandler(IDocumentExecuter executer, IGraphQLTe... method SendAsync (line 20) | protected override async Task SendAsync(HttpReque... FILE: samples/GraphQL/Models/Hero.cs class Hero (line 3) | public class Hero FILE: samples/GraphQL/Models/Query.cs class Query (line 5) | public class Query method GetHero (line 15) | [GraphQLMetadata("hero")] FILE: samples/Kubernetes/DownstreamService/Controllers/ValuesController.cs class ValuesController (line 5) | [ApiController] method Get (line 10) | [HttpGet] method Get (line 17) | [HttpGet("{id}")] method Post (line 24) | [HttpPost] method Put (line 30) | [HttpPut("{id}")] method Delete (line 36) | [HttpDelete("{id}")] FILE: samples/Kubernetes/DownstreamService/Controllers/WeatherForecastController.cs class WeatherForecastController (line 7) | [ApiController] method WeatherForecastController (line 18) | public WeatherForecastController(ILogger lo... method Get (line 23) | [HttpGet(Name = "GetWeatherForecast")] FILE: samples/Kubernetes/DownstreamService/Models/WeatherForecast.cs class WeatherForecast (line 3) | public class WeatherForecast FILE: samples/Metadata/MetadataResponder.cs class MetadataResponder (line 14) | public class MetadataResponder : HttpContextResponder method MetadataResponder (line 16) | public MetadataResponder(IRemoveOutputHeaders removeOutputHeaders) method WriteToUpstreamAsync (line 19) | protected override async Task WriteToUpstreamAsync(HttpContext context... method AddMetadataHeader (line 71) | private static void AddMetadataHeader(HttpContext context, IDictionary... method DetectEncoding (line 78) | private static Encoding DetectEncoding(HttpContent content) method ReadCompressedJsonAsync (line 94) | private static async Task ReadCompressedJsonAsync(HttpResponse... method WriteJsonAsync (line 131) | private static Task WriteJsonAsync(HttpResponse to, HttpContent conten... method CompressBrotliAsync (line 167) | private static async Task CompressBrotliAsync(byte[] input, Ca... method DecompressBrotliAsync (line 177) | private static async Task DecompressBrotliAsync(Stream input, ... method DecompressZstandardAsync (line 186) | private static async Task DecompressZstandardAsync(Stream inpu... method DecompressDeflateAsync (line 195) | private static async Task DecompressDeflateAsync(Stream input,... method DecompressGZip (line 204) | public static byte[] DecompressGZip(Stream input) FILE: samples/Metadata/Models/PostsPlugin2.cs class PostsPlugin2 (line 3) | public class PostsPlugin2 FILE: samples/Metadata/Models/TestDeflateResponse.cs class TestDeflateResponse (line 3) | public class TestDeflateResponse FILE: samples/Metadata/Models/TestGZipResponse.cs class TestGZipResponse (line 3) | public class TestGZipResponse FILE: samples/Metadata/Models/WeatherCurrent.cs class WeatherCurrent (line 3) | public class WeatherCurrent FILE: samples/Metadata/Models/WeatherCurrentCondition.cs class WeatherCurrentCondition (line 3) | public class WeatherCurrentCondition FILE: samples/Metadata/Models/WeatherLocation.cs class WeatherLocation (line 3) | public class WeatherLocation FILE: samples/Metadata/Models/WeatherResponse.cs class WeatherResponse (line 3) | public class WeatherResponse FILE: samples/Metadata/MyMiddlewares.cs class MyMiddlewares (line 10) | class MyMiddlewares method PreErrorResponderMiddleware (line 12) | public static async Task PreErrorResponderMiddleware(HttpContext conte... method ResponderMiddleware (line 67) | public static async Task ResponderMiddleware(HttpContext context, Func... FILE: samples/ServiceDiscovery/ApiGateway/ServiceDiscovery/MyServiceDiscoveryProvider.cs class MyServiceDiscoveryProvider (line 8) | public class MyServiceDiscoveryProvider : IServiceDiscoveryProvider method MyServiceDiscoveryProvider (line 14) | public MyServiceDiscoveryProvider(IServiceProvider serviceProvider, Se... method GetAsync (line 21) | public Task> GetAsync() FILE: samples/ServiceDiscovery/ApiGateway/ServiceDiscovery/MyServiceDiscoveryProviderFactory.cs class MyServiceDiscoveryProviderFactory (line 9) | public class MyServiceDiscoveryProviderFactory : IServiceDiscoveryProvid... method MyServiceDiscoveryProviderFactory (line 14) | public MyServiceDiscoveryProviderFactory(IOcelotLoggerFactory factory,... method Get (line 20) | public Response Get(ServiceProviderConfigur... FILE: samples/ServiceDiscovery/DownstreamService/Controllers/CategoriesController.cs class CategoriesController (line 3) | [ApiController] method Get (line 8) | [HttpGet] FILE: samples/ServiceDiscovery/DownstreamService/Controllers/HealthController.cs class HealthController (line 7) | [ApiController] method Health (line 15) | [HttpGet] method Ready (line 33) | [HttpGet] FILE: samples/ServiceDiscovery/DownstreamService/Controllers/WeatherForecastController.cs class WeatherForecastController (line 5) | [ApiController] method WeatherForecastController (line 16) | public WeatherForecastController(ILogger lo... method Get (line 21) | [HttpGet(Name = "GetWeatherForecast")] FILE: samples/ServiceDiscovery/DownstreamService/Models/HealthResult.cs class HealthResult (line 3) | public class HealthResult : MicroserviceResult FILE: samples/ServiceDiscovery/DownstreamService/Models/MicroserviceResult.cs class MicroserviceResult (line 3) | public class MicroserviceResult FILE: samples/ServiceDiscovery/DownstreamService/Models/ReadyResult.cs class ReadyResult (line 5) | public class ReadyResult : MicroserviceResult FILE: samples/ServiceDiscovery/DownstreamService/Models/WeatherForecast.cs class WeatherForecast (line 3) | public class WeatherForecast FILE: samples/ServiceFabric/ApiGateway/OcelotApplicationApiGateway.cs class OcelotServiceWebService (line 14) | internal sealed class OcelotServiceWebService : StatelessService method OcelotServiceWebService (line 16) | public OcelotServiceWebService(StatelessServiceContext context) method CreateServiceInstanceListeners (line 20) | protected override IEnumerable CreateServiceI... FILE: samples/ServiceFabric/ApiGateway/ServiceEventListener.cs class ServiceEventListener (line 18) | internal class ServiceEventListener : EventListener method ServiceEventListener (line 23) | public ServiceEventListener(string appName) method OnEventWritten (line 32) | protected override void OnEventWritten(EventWrittenEventArgs eventData) method Write (line 47) | private static String Write(string taskName, string eventName, string ... method ConvertLevelToString (line 74) | private static string ConvertLevelToString(EventLevel level) FILE: samples/ServiceFabric/ApiGateway/ServiceEventSource.cs class ServiceEventSource (line 13) | public class ServiceEventSource : EventSource method Message (line 25) | [NonEvent] method Message (line 37) | [Event(MessageEventId, Level = EventLevel.Informational, Message = "{0... method ServiceTypeRegistered (line 48) | [Event(ServiceTypeRegisteredEventId, Level = EventLevel.Informational,... method ServiceHostInitializationFailed (line 54) | [NonEvent] method ServiceHostInitializationFailed (line 62) | [Event(ServiceHostInitializationFailedEventId, Level = EventLevel.Erro... method ServiceWebHostBuilderFailed (line 68) | [NonEvent] method ServiceWebHostBuilderFailed (line 76) | [Event(ServiceWebHostBuilderFailedEventId, Level = EventLevel.Error, M... FILE: samples/ServiceFabric/ApiGateway/WebCommunicationListener.cs class WebCommunicationListener (line 10) | public class WebCommunicationListener : ICommunicationListener method WebCommunicationListener (line 20) | public WebCommunicationListener(string appRoot, ServiceContext service... method OpenAsync (line 26) | public async Task OpenAsync(CancellationToken cancellationToken) method CloseAsync (line 71) | public Task CloseAsync(CancellationToken cancellationToken) => StopAll... method Abort (line 72) | public void Abort() => StopAll().GetAwaiter().GetResult(); method StopAll (line 75) | private Task StopAll(CancellationToken cancellationToken = default) FILE: samples/ServiceFabric/DownstreamService/ApiGateway.cs class ApiGateway (line 12) | internal sealed class ApiGateway : StatelessService method ApiGateway (line 14) | public ApiGateway(StatelessServiceContext context) method CreateServiceInstanceListeners (line 21) | protected override IEnumerable CreateServiceI... FILE: samples/ServiceFabric/DownstreamService/Controllers/ValuesController.cs class ValuesController (line 5) | [Route("api/[controller]")] method Get (line 9) | [HttpGet] method Get (line 16) | [HttpGet("{id}")] method Post (line 23) | [HttpPost] method Put (line 29) | [HttpPut("{id}")] method Delete (line 35) | [HttpDelete("{id}")] FILE: samples/ServiceFabric/DownstreamService/ServiceEventSource.cs class ServiceEventSource (line 6) | [EventSource(Name = "MyCompany-ServiceOcelotApplication-OcelotService")] method ServiceEventSource (line 11) | static ServiceEventSource() method ServiceEventSource (line 19) | private ServiceEventSource() : base() { } class Keywords (line 25) | public static class Keywords method Message (line 41) | [NonEvent] method Message (line 52) | [Event(MessageEventId, Level = EventLevel.Informational, Message = "{0... method ServiceMessage (line 61) | [NonEvent] method ServiceMessage (line 84) | [Event(ServiceMessageEventId, Level = EventLevel.Informational, Messag... method ServiceTypeRegistered (line 121) | [Event(ServiceTypeRegisteredEventId, Level = EventLevel.Informational,... method ServiceHostInitializationFailed (line 128) | [Event(ServiceHostInitializationFailedEventId, Level = EventLevel.Erro... method ServiceRequestStart (line 138) | [Event(ServiceRequestStartEventId, Level = EventLevel.Informational, M... method ServiceRequestStop (line 145) | [Event(ServiceRequestStopEventId, Level = EventLevel.Informational, Me... method GetReplicaOrInstanceId (line 153) | private static long GetReplicaOrInstanceId(ServiceContext context) method SizeInBytes (line 168) | private int SizeInBytes(string s) FILE: samples/Web/DownstreamHostBuilder.cs class DownstreamHostBuilder (line 5) | public sealed class DownstreamHostBuilder : WebHostBuilder method Create (line 7) | public static IWebHostBuilder Create() => WebHost method Create (line 10) | public static IWebHostBuilder Create(Action co... method Create (line 14) | public static IWebHostBuilder Create(string[] args) => WebHost method Create (line 18) | public static IWebHostBuilder Create(string[] args, Action Create(); FILE: samples/Web/OcelotHostBuilder.cs class OcelotHostBuilder (line 5) | public sealed class OcelotHostBuilder : WebHostBuilder method Create (line 7) | public static IWebHostBuilder Create() => WebHost method Create (line 10) | public static IWebHostBuilder Create(Action co... method Create (line 14) | public static IWebHostBuilder Create(string[] args) => WebHost method Create (line 18) | public static IWebHostBuilder Create(string[] args, Action Create(); FILE: src/Ocelot.Provider.Consul/Consul.cs class Consul (line 8) | public class Consul : IServiceDiscoveryProvider method Consul (line 15) | public Consul( method GetAsync (line 27) | public virtual async Task> GetAsync() method BuildServices (line 47) | protected virtual IEnumerable BuildServices(ServiceEntry[] en... FILE: src/Ocelot.Provider.Consul/ConsulClientFactory.cs class ConsulClientFactory (line 5) | public class ConsulClientFactory : IConsulClientFactory method Get (line 9) | public IConsulClient Get(ConsulRegistryConfiguration config) method OverrideConfig (line 15) | private static void OverrideConfig(ConsulClientConfiguration to, Consu... FILE: src/Ocelot.Provider.Consul/ConsulFileConfigurationRepository.cs class ConsulFileConfigurationRepository (line 14) | public class ConsulFileConfigurationRepository : IFileConfigurationRepos... method ConsulFileConfigurationRepository (line 21) | public ConsulFileConfigurationRepository( method Get (line 40) | public async Task> Get() method Set (line 61) | public async Task Set(FileConfiguration ocelotConfiguration) FILE: src/Ocelot.Provider.Consul/ConsulMiddlewareConfigurationProvider.cs class ConsulMiddlewareConfigurationProvider (line 13) | public static class ConsulMiddlewareConfigurationProvider method GetAsync (line 17) | private static async Task GetAsync(IApplicationBuilder builder) method UsingConsul (line 30) | private static bool UsingConsul(IFileConfigurationRepository fileConfi... method SetFileConfigInConsul (line 33) | private static async Task SetFileConfigInConsul(IApplicationBuilder bu... method ThrowToStopOcelotStarting (line 73) | private static void ThrowToStopOcelotStarting(Response config) method IsError (line 76) | private static bool IsError(Response response) method ConfigNotStoredInConsul (line 79) | private static bool ConfigNotStoredInConsul(Response BuildServices(ServiceEntry[] entri... method GetNode (line 76) | protected virtual Node GetNode(ServiceEntry entry, Node[] nodes) method CreateService (line 79) | public virtual Service CreateService(ServiceEntry entry, Node node) method GetServiceName (line 88) | protected virtual string GetServiceName(ServiceEntry entry, Node node) method GetServiceHostAndPort (line 91) | protected virtual ServiceHostAndPort GetServiceHostAndPort(ServiceEntr... method GetDownstreamHost (line 96) | protected virtual string GetDownstreamHost(ServiceEntry entry, Node node) method GetServiceId (line 99) | protected virtual string GetServiceId(ServiceEntry entry, Node node) method GetServiceVersion (line 102) | protected virtual string GetServiceVersion(ServiceEntry entry, Node node) method GetServiceTags (line 108) | protected virtual IEnumerable GetServiceTags(ServiceEntry entr... FILE: src/Ocelot.Provider.Consul/Interfaces/IConsulClientFactory.cs type IConsulClientFactory (line 3) | public interface IConsulClientFactory method Get (line 5) | IConsulClient Get(ConsulRegistryConfiguration config); FILE: src/Ocelot.Provider.Consul/Interfaces/IConsulServiceBuilder.cs type IConsulServiceBuilder (line 5) | public interface IConsulServiceBuilder method IsValid (line 9) | bool IsValid(ServiceEntry entry); method BuildServices (line 10) | IEnumerable BuildServices(ServiceEntry[] entries, Node[] nodes); method CreateService (line 11) | Service CreateService(ServiceEntry serviceEntry, Node serviceNode); FILE: src/Ocelot.Provider.Consul/OcelotBuilderExtensions.cs class OcelotBuilderExtensions (line 9) | public static class OcelotBuilderExtensions method AddConsul (line 23) | public static IOcelotBuilder AddConsul(this IOcelotBuilder builder) method AddConsul (line 46) | public static IOcelotBuilder AddConsul(this IOcelotBu... method AddConfigStoredInConsul (line 55) | public static IOcelotBuilder AddConfigStoredInConsul(this IOcelotBuild... FILE: src/Ocelot.Provider.Consul/PollConsul.cs class PollConsul (line 7) | public sealed class PollConsul : IServiceDiscoveryProvider method PollConsul (line 17) | public PollConsul(int pollingInterval, string serviceName, IOcelotLogg... method GetAsync (line 39) | public Task> GetAsync() FILE: src/Ocelot.Provider.Consul/UnableToSetConfigInConsulError.cs class UnableToSetConfigInConsulError (line 6) | public class UnableToSetConfigInConsulError : Error method UnableToSetConfigInConsulError (line 8) | public UnableToSetConfigInConsulError(string s) FILE: src/Ocelot.Provider.Eureka/Eureka.cs class Eureka (line 6) | public class Eureka : IServiceDiscoveryProvider method Eureka (line 11) | public Eureka(string serviceName, IDiscoveryClient client) method GetAsync (line 17) | public Task> GetAsync() FILE: src/Ocelot.Provider.Eureka/EurekaMiddlewareConfigurationProvider.cs class EurekaMiddlewareConfigurationProvider (line 8) | public class EurekaMiddlewareConfigurationProvider method UsingEurekaServiceDiscoveryProvider (line 24) | private static bool UsingEurekaServiceDiscoveryProvider(IInternalConfi... FILE: src/Ocelot.Provider.Eureka/EurekaProviderFactory.cs class EurekaProviderFactory (line 7) | public static class EurekaProviderFactory method CreateProvider (line 16) | private static IServiceDiscoveryProvider CreateProvider(IServiceProvid... FILE: src/Ocelot.Provider.Eureka/OcelotBuilderExtensions.cs class OcelotBuilderExtensions (line 7) | public static class OcelotBuilderExtensions method AddEureka (line 9) | public static IOcelotBuilder AddEureka(this IOcelotBuilder builder) FILE: src/Ocelot.Provider.Kubernetes/EndPointClientV1.cs class EndPointClientV1 (line 8) | public class EndPointClientV1 : KubeResourceClient, IEndPointClient method EndPointClientV1 (line 16) | public EndPointClientV1(IKubeApiClient client) : base(client) method GetAsync (line 20) | public Task GetAsync(string serviceName, string kubeNames... method Watch (line 34) | public IObservable> Watch(string service... FILE: src/Ocelot.Provider.Kubernetes/Interfaces/IEndPointClient.cs type IEndPointClient (line 6) | public interface IEndPointClient : IKubeResourceClient method GetAsync (line 8) | Task GetAsync(string serviceName, string kubeNamespace = ... method Watch (line 10) | IObservable> Watch(string serviceName, s... FILE: src/Ocelot.Provider.Kubernetes/Interfaces/IKubeApiClientFactory.cs type IKubeApiClientFactory (line 3) | public interface IKubeApiClientFactory method Get (line 5) | KubeApiClient Get(bool usePodServiceAccount); FILE: src/Ocelot.Provider.Kubernetes/Interfaces/IKubeServiceBuilder.cs type IKubeServiceBuilder (line 6) | public interface IKubeServiceBuilder method BuildServices (line 8) | IEnumerable BuildServices(KubeRegistryConfiguration configura... FILE: src/Ocelot.Provider.Kubernetes/Interfaces/IKubeServiceCreator.cs type IKubeServiceCreator (line 6) | public interface IKubeServiceCreator method Create (line 8) | IEnumerable Create(KubeRegistryConfiguration configuration, E... method CreateInstance (line 9) | IEnumerable CreateInstance(KubeRegistryConfiguration configur... FILE: src/Ocelot.Provider.Kubernetes/Kube.cs class Kube (line 16) | public class Kube : IServiceDiscoveryProvider, IDisposable method Kube (line 26) | public Kube( method GetAsync (line 38) | public virtual async Task> GetAsync() method Message (line 54) | private string Message(string details) method GetEndpoint (line 57) | private async Task GetEndpoint() method CheckErroneousState (line 96) | private bool CheckErroneousState(EndpointsV1 endpoint) method GetMessage (line 99) | private string GetMessage(string message) method BuildServices (line 102) | protected virtual IEnumerable BuildServices(KubeRegistryConfi... method Dispose (line 107) | protected virtual void Dispose(bool disposing) method Dispose (line 121) | public void Dispose() FILE: src/Ocelot.Provider.Kubernetes/KubeApiClientExtensions.cs class KubeApiClientExtensions (line 5) | public static class KubeApiClientExtensions method EndpointsV1 (line 7) | public static IEndPointClient EndpointsV1(this IKubeApiClient client) FILE: src/Ocelot.Provider.Kubernetes/KubeApiClientFactory.cs class KubeApiClientFactory (line 7) | public class KubeApiClientFactory : IKubeApiClientFactory method KubeApiClientFactory (line 13) | public KubeApiClientFactory(ILoggerFactory logger, IOptions BuildServices(KubeRegistryConfigur... method Check (line 35) | private static string Check(string str) => string.IsNullOrEmpty(str) ?... FILE: src/Ocelot.Provider.Kubernetes/KubeServiceCreator.cs class KubeServiceCreator (line 8) | public class KubeServiceCreator : IKubeServiceCreator method KubeServiceCreator (line 10) | public KubeServiceCreator(IOcelotLoggerFactory factory) method Create (line 16) | public virtual IEnumerable Create(KubeRegistryConfiguration c... method CreateInstance (line 23) | public virtual IEnumerable CreateInstance(KubeRegistryConfigu... method GetServiceName (line 37) | protected virtual string GetServiceName(KubeRegistryConfiguration conf... method GetServiceHostAndPort (line 40) | protected virtual ServiceHostAndPort GetServiceHostAndPort(KubeRegistr... method GetServiceId (line 53) | protected virtual string GetServiceId(KubeRegistryConfiguration config... method GetServiceVersion (line 55) | protected virtual string GetServiceVersion(KubeRegistryConfiguration c... method GetServiceTags (line 57) | protected virtual IEnumerable GetServiceTags(KubeRegistryConfi... FILE: src/Ocelot.Provider.Kubernetes/KubernetesProviderFactory.cs class KubernetesProviderFactory (line 10) | public static class KubernetesProviderFactory // TODO : IServiceDiscover... method CreateProvider (line 19) | private static IServiceDiscoveryProvider CreateProvider(IServiceProvid... FILE: src/Ocelot.Provider.Kubernetes/ObservableExtensions.cs class ObservableExtensions (line 6) | public static class ObservableExtensions method RetryAfter (line 8) | public static IObservable RetryAfter(this IObservabl... method RepeatInfinite (line 11) | private static IEnumerable> RepeatInfinite> GetAsync() method PollAsync (line 55) | protected virtual async Task> PollAsync(CancellationToke... method StartAsync (line 88) | protected async Task StartAsync() method Stop (line 108) | protected void Stop() method Dispose (line 122) | public void Dispose() method Dispose (line 128) | protected virtual void Dispose(bool disposing) FILE: src/Ocelot.Provider.Kubernetes/WatchKube.cs class WatchKube (line 10) | public class WatchKube : IServiceDiscoveryProvider, IDisposable method WatchKube (line 42) | public WatchKube( method GetAsync (line 59) | public virtual async Task> GetAsync() method SetFirstResultsCompletedAfterDelay (line 71) | private void SetFirstResultsCompletedAfterDelay() method OnNext (line 79) | private void OnNext(IResourceEventV1 endpointEvent) method OnCompleted (line 91) | private void OnCompleted() => _logger.LogInformation(() => GetMessage(... method OnException (line 92) | private void OnException(Exception ex) => _logger.LogError(() => GetMe... method CreateSubscription (line 94) | private IDisposable CreateSubscription() => _kubeApi method GetMessage (line 101) | private string GetMessage(string message) method Dispose (line 104) | public void Dispose() FILE: src/Ocelot.Provider.Polly/CircuitBreakerStrategy.cs class CircuitBreakerStrategy (line 9) | public static class CircuitBreakerStrategy method BreakDuration (line 24) | public static int BreakDuration(int milliseconds) => IsValidBreakDurat... method IsValidBreakDuration (line 25) | public static bool IsValidBreakDuration(this int milliseconds) => mill... method MinimumThroughput (line 39) | public static int MinimumThroughput(int failures) => IsValidMinimumThr... method IsValidMinimumThroughput (line 40) | public static bool IsValidMinimumThroughput(this int failures) => fail... method FailureRatio (line 55) | public static double FailureRatio(double ratio) => IsValidFailureRatio... method IsValidFailureRatio (line 56) | public static bool IsValidFailureRatio(this double ratio) => ratio > L... method SamplingDuration (line 71) | public static int SamplingDuration(int milliseconds) => IsValidSamplin... method IsValidSamplingDuration (line 72) | public static bool IsValidSamplingDuration(this int milliseconds) => m... FILE: src/Ocelot.Provider.Polly/Interfaces/IPollyQoSResiliencePipelineProvider.cs type IPollyQoSResiliencePipelineProvider (line 7) | public interface IPollyQoSResiliencePipelineProvider method GetResiliencePipeline (line 15) | ResiliencePipeline GetResiliencePipeline(DownstreamRoute route); FILE: src/Ocelot.Provider.Polly/OcelotBuilderExtensions.cs class OcelotBuilderExtensions (line 15) | public static class OcelotBuilderExtensions method CreateRequestTimedOutError (line 28) | private static Error CreateRequestTimedOutError(Exception e) => new Re... method AddPolly (line 38) | public static IOcelotBuilder AddPolly(this IOcelotBuilder b... method AddPolly (line 56) | public static IOcelotBuilder AddPolly(this IOcelotBuilder b... method AddPolly (line 67) | public static IOcelotBuilder AddPolly(this IOcelotBuilder b... method AddPolly (line 84) | public static IOcelotBuilder AddPolly(this IOcelotBuilder b... method AddPolly (line 101) | public static IOcelotBuilder AddPolly(this IOcelotBuilder builder) method GetDelegatingHandler (line 111) | private static DelegatingHandler GetDelegatingHandler(DownstreamRoute ... FILE: src/Ocelot.Provider.Polly/OcelotResiliencePipelineKey.cs type OcelotResiliencePipelineKey (line 9) | public record OcelotResiliencePipelineKey(string Key); FILE: src/Ocelot.Provider.Polly/PollyQoSResiliencePipelineProvider.cs class PollyQoSResiliencePipelineProvider (line 15) | public class PollyQoSResiliencePipelineProvider : IPollyQoSResiliencePip... method PollyQoSResiliencePipelineProvider (line 20) | public PollyQoSResiliencePipelineProvider( method GetRouteName (line 42) | protected virtual string GetRouteName(DownstreamRoute route) => route.... method GetResiliencePipeline (line 49) | public ResiliencePipeline GetResiliencePipeline(D... method ConfigureStrategies (line 63) | protected virtual void ConfigureStrategies(ResiliencePipelineBuilder value.HasValue ? value.ToStr... method The (line 151) | public static string The(List> warnings, Func msg) method ConfigureCircuitBreaker (line 160) | protected virtual ResiliencePipelineBuilder Confi... method ConfigureTimeout (line 212) | protected virtual ResiliencePipelineBuilder Confi... FILE: src/Ocelot.Provider.Polly/PollyResiliencePipelineDelegatingHandler.cs class PollyResiliencePipelineDelegatingHandler (line 11) | public class PollyResiliencePipelineDelegatingHandler : DelegatingHandler method PollyResiliencePipelineDelegatingHandler (line 17) | public PollyResiliencePipelineDelegatingHandler( method GetQoSProvider (line 27) | private IPollyQoSResiliencePipelineProvider GetQo... method SendAsync (line 43) | protected override async Task SendAsync(HttpReque... FILE: src/Ocelot.Provider.Polly/TimeoutStrategy.cs class TimeoutStrategy (line 9) | public static class TimeoutStrategy method Timeout (line 21) | public static int? Timeout(int milliseconds) => IsValidTimeout(millise... method IsValidTimeout (line 22) | public static bool IsValidTimeout(this int milliseconds) => millisecon... FILE: src/Ocelot/Administration/AdministrationPath.cs class AdministrationPath (line 3) | public class AdministrationPath : IAdministrationPath method AdministrationPath (line 5) | public AdministrationPath(string path, string apiSecret, Uri externalJ... FILE: src/Ocelot/Administration/FileConfigurationController.cs class FileConfigurationController (line 11) | [Authorize] method FileConfigurationController (line 18) | public FileConfigurationController(IFileConfigurationRepository repo, ... method Get (line 24) | [HttpGet] method Post (line 37) | [HttpPost] FILE: src/Ocelot/Administration/IAdministrationPath.cs type IAdministrationPath (line 3) | public interface IAdministrationPath FILE: src/Ocelot/Administration/OutputCacheController.cs class OutputCacheController (line 9) | [Authorize] method OutputCacheController (line 15) | public OutputCacheController(IOcelotCache cache) method Delete (line 20) | [HttpDelete] FILE: src/Ocelot/Authentication/AuthenticationMiddleware.cs class AuthenticationMiddleware (line 10) | public sealed class AuthenticationMiddleware : OcelotMiddleware method AuthenticationMiddleware (line 14) | public AuthenticationMiddleware(RequestDelegate next, IOcelotLoggerFac... method Invoke (line 20) | public async Task Invoke(HttpContext context) method SetUnauthenticatedError (line 53) | private void SetUnauthenticatedError(HttpContext httpContext, string p... method AuthenticateAsync (line 61) | private async Task AuthenticateAsync(HttpContext c... FILE: src/Ocelot/Authorization/AuthorizationMiddleware.cs class AuthorizationMiddleware (line 8) | public class AuthorizationMiddleware : OcelotMiddleware method AuthorizationMiddleware (line 14) | public AuthorizationMiddleware(RequestDelegate next, method Invoke (line 25) | public async Task Invoke(HttpContext context) FILE: src/Ocelot/Authorization/ClaimValueNotAuthorizedError.cs class ClaimValueNotAuthorizedError (line 5) | public class ClaimValueNotAuthorizedError : Error method ClaimValueNotAuthorizedError (line 7) | public ClaimValueNotAuthorizedError(string message) FILE: src/Ocelot/Authorization/ClaimsAuthorizer.cs class ClaimsAuthorizer (line 12) | public partial class ClaimsAuthorizer : IClaimsAuthorizer method ClaimsAuthorizer (line 16) | public ClaimsAuthorizer(IClaimsParser claimsParser) method RegexAuthorize (line 21) | [GeneratedRegex(@"^{(?.+)}$", RegexOptions.None, RegexGlobal... method Authorize (line 24) | public Response Authorize( FILE: src/Ocelot/Authorization/IClaimsAuthorizer.cs type IClaimsAuthorizer (line 7) | public interface IClaimsAuthorizer method Authorize (line 9) | Response Authorize( FILE: src/Ocelot/Authorization/IScopesAuthorizer.cs type IScopesAuthorizer (line 6) | public interface IScopesAuthorizer method Authorize (line 20) | Response Authorize(ClaimsPrincipal claimsPrincipal, List... FILE: src/Ocelot/Authorization/ScopeNotAuthorizedError.cs class ScopeNotAuthorizedError (line 6) | public class ScopeNotAuthorizedError : Error method ScopeNotAuthorizedError (line 8) | public ScopeNotAuthorizedError(string message) FILE: src/Ocelot/Authorization/ScopesAuthorizer.cs class ScopesAuthorizer (line 8) | public class ScopesAuthorizer : IScopesAuthorizer method ScopesAuthorizer (line 15) | public ScopesAuthorizer(IClaimsParser claimsParser) method Authorize (line 24) | public Response Authorize(ClaimsPrincipal claimsPrincipal, List<... FILE: src/Ocelot/Authorization/UnauthorizedError.cs class UnauthorizedError (line 6) | public class UnauthorizedError : Error method UnauthorizedError (line 8) | public UnauthorizedError(string message) FILE: src/Ocelot/Authorization/UserDoesNotHaveClaimError.cs class UserDoesNotHaveClaimError (line 6) | public class UserDoesNotHaveClaimError : Error method UserDoesNotHaveClaimError (line 8) | public UserDoesNotHaveClaimError(string message) FILE: src/Ocelot/Cache/CachedResponse.cs class CachedResponse (line 3) | public class CachedResponse method CachedResponse (line 5) | public CachedResponse( FILE: src/Ocelot/Cache/DefaultCacheKeyGenerator.cs class DefaultCacheKeyGenerator (line 6) | public class DefaultCacheKeyGenerator : ICacheKeyGenerator method GenerateRequestCacheKey (line 10) | public async ValueTask GenerateRequestCacheKey(DownstreamReque... FILE: src/Ocelot/Cache/DefaultMemoryCache.cs class DefaultMemoryCache (line 6) | public class DefaultMemoryCache : IOcelotCache method DefaultMemoryCache (line 11) | public DefaultMemoryCache(IMemoryCache memoryCache) method Add (line 17) | public bool Add(string key, T value, string region, TimeSpan ttl) method AddOrUpdate (line 29) | public T AddOrUpdate(string key, T value, string region, TimeSpan ttl) method Get (line 40) | public T Get(string key, string region) method ClearRegion (line 50) | public void ClearRegion(string region) method SetRegion (line 63) | private void SetRegion(string region, string key) method TryGetValue (line 78) | public bool TryGetValue(string key, string region, out T value) FILE: src/Ocelot/Cache/ICacheKeyGenerator.cs type ICacheKeyGenerator (line 6) | public interface ICacheKeyGenerator method GenerateRequestCacheKey (line 8) | ValueTask GenerateRequestCacheKey(DownstreamRequest downstream... FILE: src/Ocelot/Cache/IOcelotCache.cs type IOcelotCache (line 3) | public interface IOcelotCache method Add (line 16) | bool Add(string key, T value, string region, TimeSpan ttl); method AddOrUpdate (line 17) | T AddOrUpdate(string key, T value, string region, TimeSpan ttl); method Get (line 19) | T Get(string key, string region); method ClearRegion (line 21) | void ClearRegion(string region); method TryGetValue (line 23) | bool TryGetValue(string key, string region, out T value); FILE: src/Ocelot/Cache/MD5Helper.cs class MD5Helper (line 6) | public static class MD5Helper method GenerateMd5 (line 8) | public static string GenerateMd5(byte[] contentBytes) method GenerateMd5 (line 21) | public static string GenerateMd5(string contentString) FILE: src/Ocelot/Cache/OutputCacheMiddleware.cs class OutputCacheMiddleware (line 7) | public class OutputCacheMiddleware : OcelotMiddleware method OutputCacheMiddleware (line 13) | public OutputCacheMiddleware(RequestDelegate next, method Invoke (line 24) | public async Task Invoke(HttpContext httpContext) method SetHttpResponseMessageThisRequest (line 67) | private static void SetHttpResponseMessageThisRequest(HttpContext cont... method CreateHttpResponseMessage (line 70) | private static DownstreamResponse CreateHttpResponseMessage(CachedResp... method CreateCachedResponse (line 82) | private static async Task CreateCachedResponse(Downstr... FILE: src/Ocelot/Claims/AddClaimsToRequest.cs class AddClaimsToRequest (line 9) | public class AddClaimsToRequest : IAddClaimsToRequest method AddClaimsToRequest (line 13) | public AddClaimsToRequest(IClaimsParser claimsParser) method SetClaimsOnContext (line 18) | public Response SetClaimsOnContext(List claimsToThings, ... FILE: src/Ocelot/Claims/IAddClaimsToRequest.cs type IAddClaimsToRequest (line 7) | public interface IAddClaimsToRequest method SetClaimsOnContext (line 9) | Response SetClaimsOnContext(List claimsToThings, FILE: src/Ocelot/Claims/Middleware/ClaimsToClaimsMiddleware.cs class ClaimsToClaimsMiddleware (line 7) | public class ClaimsToClaimsMiddleware : OcelotMiddleware method ClaimsToClaimsMiddleware (line 12) | public ClaimsToClaimsMiddleware(RequestDelegate next, method Invoke (line 21) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/Configuration/AuthenticationOptions.cs class AuthenticationOptions (line 6) | public sealed class AuthenticationOptions method AuthenticationOptions (line 8) | public AuthenticationOptions() method AuthenticationOptions (line 15) | public AuthenticationOptions(FileAuthenticationOptions options) method AuthenticationOptions (line 22) | public AuthenticationOptions(List allowedScopes, string[] auth... method Merge (line 29) | private static string[] Merge(string primaryKey, string[] keys) FILE: src/Ocelot/Configuration/Builder/DownstreamRouteBuilder.cs class DownstreamRouteBuilder (line 7) | public class DownstreamRouteBuilder method DownstreamRouteBuilder (line 44) | public DownstreamRouteBuilder() method WithDownstreamAddresses (line 52) | public DownstreamRouteBuilder WithDownstreamAddresses(List i... method WithClaimsToClaims (line 106) | public DownstreamRouteBuilder WithClaimsToClaims(List in... method WithRouteClaimsRequirement (line 112) | public DownstreamRouteBuilder WithRouteClaimsRequirement(Dictionary i... method WithClaimsToDownstreamPath (line 124) | public DownstreamRouteBuilder WithClaimsToDownstreamPath(List dele... method WithAddHeadersToDownstream (line 202) | public DownstreamRouteBuilder WithAddHeadersToDownstream(List... method WithDangerousAcceptAnyServerCertificateValidator (line 214) | public DownstreamRouteBuilder WithDangerousAcceptAnyServerCertificateV... method WithSecurityOptions (line 220) | public DownstreamRouteBuilder WithSecurityOptions(SecurityOptions secu... method WithDownstreamHttpVersion (line 226) | public DownstreamRouteBuilder WithDownstreamHttpVersion(Version downst... method WithUpstreamHeaders (line 232) | public DownstreamRouteBuilder WithUpstreamHeaders(Dictionary... method Build (line 50) | public MetadataOptions Build() FILE: src/Ocelot/Configuration/Builder/ServiceProviderConfigurationBuilder.cs class ServiceProviderConfigurationBuilder (line 3) | public class ServiceProviderConfigurationBuilder method WithScheme (line 14) | public ServiceProviderConfigurationBuilder WithScheme(string serviceDi... method WithHost (line 20) | public ServiceProviderConfigurationBuilder WithHost(string serviceDisc... method WithPort (line 26) | public ServiceProviderConfigurationBuilder WithPort(int serviceDiscove... method WithType (line 32) | public ServiceProviderConfigurationBuilder WithType(string type) method WithToken (line 38) | public ServiceProviderConfigurationBuilder WithToken(string token) method WithConfigurationKey (line 44) | public ServiceProviderConfigurationBuilder WithConfigurationKey(string... method WithPollingInterval (line 50) | public ServiceProviderConfigurationBuilder WithPollingInterval(int pol... method WithNamespace (line 56) | public ServiceProviderConfigurationBuilder WithNamespace(string @names... method Build (line 62) | public ServiceProviderConfiguration Build() => new() FILE: src/Ocelot/Configuration/Builder/UpstreamPathTemplateBuilder.cs class UpstreamPathTemplateBuilder (line 5) | public class UpstreamPathTemplateBuilder method WithTemplate (line 12) | public UpstreamPathTemplateBuilder WithTemplate(string template) method WithPriority (line 18) | public UpstreamPathTemplateBuilder WithPriority(int priority) method WithContainsQueryString (line 24) | public UpstreamPathTemplateBuilder WithContainsQueryString(bool contai... method WithOriginalValue (line 30) | public UpstreamPathTemplateBuilder WithOriginalValue(string originalVa... method Build (line 36) | public UpstreamPathTemplate Build() FILE: src/Ocelot/Configuration/CacheOptions.cs class CacheOptions (line 7) | public class CacheOptions method CacheOptions (line 16) | internal CacheOptions() { } method CacheOptions (line 17) | public CacheOptions(FileCacheOptions from, string defaultRegion) method CacheOptions (line 35) | public CacheOptions(int? ttlSeconds, string region, string header, boo... FILE: src/Ocelot/Configuration/ChangeTracking/IOcelotConfigurationChangeTokenSource.cs type IOcelotConfigurationChangeTokenSource (line 8) | public interface IOcelotConfigurationChangeTokenSource method Activate (line 12) | void Activate(); FILE: src/Ocelot/Configuration/ChangeTracking/OcelotConfigurationChangeToken.cs class OcelotConfigurationChangeToken (line 5) | public class OcelotConfigurationChangeToken : IChangeToken method RegisterChangeCallback (line 13) | public IDisposable RegisterChangeCallback(Action callback, obj... method Activate (line 23) | public void Activate() class CallbackWrapper (line 41) | private class CallbackWrapper : IDisposable method CallbackWrapper (line 46) | public CallbackWrapper(Action callback, object state, IColle... method Invoke (line 54) | public void Invoke() method Dispose (line 59) | public void Dispose() FILE: src/Ocelot/Configuration/ChangeTracking/OcelotConfigurationChangeTokenSource.cs class OcelotConfigurationChangeTokenSource (line 5) | public class OcelotConfigurationChangeTokenSource : IOcelotConfiguration... method Activate (line 11) | public void Activate() FILE: src/Ocelot/Configuration/ChangeTracking/OcelotConfigurationMonitor.cs class OcelotConfigurationMonitor (line 6) | public class OcelotConfigurationMonitor : IOptionsMonitor lis... FILE: src/Ocelot/Configuration/ClaimToThing.cs class ClaimToThing (line 3) | public class ClaimToThing method ClaimToThing (line 5) | public ClaimToThing(string existingKey, string newKey, string delimite... FILE: src/Ocelot/Configuration/Creator/AddHeader.cs class AddHeader (line 3) | public class AddHeader method AddHeader (line 5) | public AddHeader(string key, string value) FILE: src/Ocelot/Configuration/Creator/AggregatesCreator.cs class AggregatesCreator (line 6) | public class AggregatesCreator : IAggregatesCreator method AggregatesCreator (line 11) | public AggregatesCreator(IUpstreamTemplatePatternCreator creator, IUps... method Create (line 17) | public List Create(FileConfiguration fileConfiguration, IReadOn... method SetUpAggregateRoute (line 25) | private Route SetUpAggregateRoute(IEnumerable routes, FileAggre... FILE: src/Ocelot/Configuration/Creator/AuthenticationOptionsCreator.cs class AuthenticationOptionsCreator (line 6) | public class AuthenticationOptionsCreator : IAuthenticationOptionsCreator method Create (line 8) | public AuthenticationOptions Create(FileAuthenticationOptions options) method Create (line 11) | public AuthenticationOptions Create(FileRoute route, FileGlobalConfigu... method Create (line 18) | public AuthenticationOptions Create(FileDynamicRoute route, FileGlobal... method Create (line 25) | protected virtual AuthenticationOptions Create(IRouteGrouping grouping... method Merge (line 51) | protected virtual AuthenticationOptions Merge(FileAuthenticationOption... FILE: src/Ocelot/Configuration/Creator/CacheOptionsCreator.cs class CacheOptionsCreator (line 6) | public class CacheOptionsCreator : ICacheOptionsCreator method Create (line 8) | public CacheOptions Create(FileCacheOptions options) method Create (line 11) | public CacheOptions Create(FileRoute route, FileGlobalConfiguration gl... method Create (line 18) | public CacheOptions Create(FileDynamicRoute route, FileGlobalConfigura... method Create (line 25) | protected virtual CacheOptions Create(IRouteGrouping grouping, FileCac... method Merge (line 55) | protected virtual CacheOptions Merge(FileCacheOptions options, FileCac... FILE: src/Ocelot/Configuration/Creator/ClaimsToThingCreator.cs class ClaimsToThingCreator (line 6) | public class ClaimsToThingCreator : IClaimsToThingCreator method ClaimsToThingCreator (line 11) | public ClaimsToThingCreator(IClaimToThingConfigurationParser claimToTh... method Create (line 18) | public List Create(Dictionary inputToBeP... FILE: src/Ocelot/Configuration/Creator/ConfigurationCreator.cs class ConfigurationCreator (line 7) | public class ConfigurationCreator : IConfigurationCreator method ConfigurationCreator (line 21) | public ConfigurationCreator( method Create (line 47) | public InternalConfiguration Create(FileConfiguration configuration, R... FILE: src/Ocelot/Configuration/Creator/DefaultMetadataCreator.cs class DefaultMetadataCreator (line 9) | public class DefaultMetadataCreator : IMetadataCreator method Create (line 11) | public MetadataOptions Create(IDictionary metadata, Fi... FILE: src/Ocelot/Configuration/Creator/DownstreamAddressesCreator.cs class DownstreamAddressesCreator (line 5) | public class DownstreamAddressesCreator : IDownstreamAddressesCreator method Create (line 7) | public List Create(FileRoute route) FILE: src/Ocelot/Configuration/Creator/DynamicRoutesCreator.cs class DynamicRoutesCreator (line 7) | public class DynamicRoutesCreator : IDynamicsCreator method DynamicRoutesCreator (line 20) | public DynamicRoutesCreator( method Create (line 44) | public IReadOnlyList Create(FileConfiguration fileConfiguration) method CreateTimeout (line 53) | public virtual int CreateTimeout(FileDynamicRoute route, FileGlobalCon... method SetUpDynamicRoute (line 59) | private Route SetUpDynamicRoute(FileDynamicRoute dynamicRoute, FileGlo... FILE: src/Ocelot/Configuration/Creator/FileInternalConfigurationCreator.cs class FileInternalConfigurationCreator (line 7) | public class FileInternalConfigurationCreator : IInternalConfigurationCr... method FileInternalConfigurationCreator (line 15) | public FileInternalConfigurationCreator( method Create (line 30) | public async Task> Create(FileConfigu... FILE: src/Ocelot/Configuration/Creator/HeaderFindAndReplaceCreator.cs class HeaderFindAndReplaceCreator (line 10) | public class HeaderFindAndReplaceCreator : IHeaderFindAndReplaceCreator method HeaderFindAndReplaceCreator (line 16) | public HeaderFindAndReplaceCreator(IPlaceholders placeholders, IOcelot... method Create (line 23) | public HeaderTransformations Create(FileRoute route) method Create (line 26) | public HeaderTransformations Create(FileRoute route, FileGlobalConfigu... method Merge (line 42) | public static IEnumerable
Merge(IDictionary lo... method ProcessHeaders (line 50) | private (List StreamHeaders, List Add... method Map (line 79) | private HeaderFindAndReplace Map(Header input) FILE: src/Ocelot/Configuration/Creator/HeaderTransformations.cs class HeaderTransformations (line 3) | public class HeaderTransformations method HeaderTransformations (line 5) | public HeaderTransformations( FILE: src/Ocelot/Configuration/Creator/HttpHandlerOptionsCreator.cs class HttpHandlerOptionsCreator (line 7) | public class HttpHandlerOptionsCreator : IHttpHandlerOptionsCreator method HttpHandlerOptionsCreator (line 10) | public HttpHandlerOptionsCreator(IServiceProvider services) method Create (line 13) | public HttpHandlerOptions Create(FileHttpHandlerOptions options) method Create (line 20) | public HttpHandlerOptions Create(FileRoute route, FileGlobalConfigurat... method Create (line 27) | public HttpHandlerOptions Create(FileDynamicRoute route, FileGlobalCon... method Create (line 34) | protected virtual HttpHandlerOptions Create(IRouteGrouping grouping, F... method Merge (line 64) | protected virtual HttpHandlerOptions Merge(FileHttpHandlerOptions opti... FILE: src/Ocelot/Configuration/Creator/HttpVersionCreator.cs class HttpVersionCreator (line 3) | public class HttpVersionCreator : IVersionCreator method Create (line 5) | public Version Create(string downstreamHttpVersion) FILE: src/Ocelot/Configuration/Creator/HttpVersionPolicyCreator.cs class HttpVersionPolicyCreator (line 6) | public class HttpVersionPolicyCreator : IVersionPolicyCreator method Create (line 13) | public HttpVersionPolicy Create(string downstreamHttpVersionPolicy) =>... FILE: src/Ocelot/Configuration/Creator/IAggregatesCreator.cs type IAggregatesCreator (line 5) | public interface IAggregatesCreator method Create (line 7) | List Create(FileConfiguration fileConfiguration, IReadOnlyList<... FILE: src/Ocelot/Configuration/Creator/IAuthenticationOptionsCreator.cs type IAuthenticationOptionsCreator (line 5) | public interface IAuthenticationOptionsCreator method Create (line 7) | AuthenticationOptions Create(FileAuthenticationOptions options); method Create (line 8) | AuthenticationOptions Create(FileRoute route, FileGlobalConfiguration ... method Create (line 9) | AuthenticationOptions Create(FileDynamicRoute route, FileGlobalConfigu... FILE: src/Ocelot/Configuration/Creator/ICacheOptionsCreator.cs type ICacheOptionsCreator (line 8) | public interface ICacheOptionsCreator method Create (line 10) | CacheOptions Create(FileCacheOptions options); method Create (line 11) | CacheOptions Create(FileRoute route, FileGlobalConfiguration globalCon... method Create (line 12) | CacheOptions Create(FileDynamicRoute route, FileGlobalConfiguration gl... FILE: src/Ocelot/Configuration/Creator/IClaimsToThingCreator.cs type IClaimsToThingCreator (line 3) | public interface IClaimsToThingCreator method Create (line 5) | List Create(Dictionary thingsBeingAdded); FILE: src/Ocelot/Configuration/Creator/IConfigurationCreator.cs type IConfigurationCreator (line 5) | public interface IConfigurationCreator method Create (line 7) | InternalConfiguration Create(FileConfiguration configuration, Route[] ... FILE: src/Ocelot/Configuration/Creator/IDownstreamAddressesCreator.cs type IDownstreamAddressesCreator (line 5) | public interface IDownstreamAddressesCreator method Create (line 7) | List Create(FileRoute route); FILE: src/Ocelot/Configuration/Creator/IDynamicsCreator.cs type IDynamicsCreator (line 5) | public interface IDynamicsCreator method Create (line 7) | IReadOnlyList Create(FileConfiguration fileConfiguration); method CreateTimeout (line 15) | int CreateTimeout(FileDynamicRoute route, FileGlobalConfiguration glob... FILE: src/Ocelot/Configuration/Creator/IHeaderFindAndReplaceCreator.cs type IHeaderFindAndReplaceCreator (line 5) | public interface IHeaderFindAndReplaceCreator method Create (line 7) | HeaderTransformations Create(FileRoute fileRoute); method Create (line 8) | HeaderTransformations Create(FileRoute route, FileGlobalConfiguration ... FILE: src/Ocelot/Configuration/Creator/IHttpHandlerOptionsCreator.cs type IHttpHandlerOptionsCreator (line 5) | public interface IHttpHandlerOptionsCreator method Create (line 7) | HttpHandlerOptions Create(FileHttpHandlerOptions options); method Create (line 8) | HttpHandlerOptions Create(FileRoute route, FileGlobalConfiguration glo... method Create (line 9) | HttpHandlerOptions Create(FileDynamicRoute route, FileGlobalConfigurat... FILE: src/Ocelot/Configuration/Creator/IInternalConfigurationCreator.cs type IInternalConfigurationCreator (line 6) | public interface IInternalConfigurationCreator method Create (line 8) | Task> Create(FileConfiguration fileCo... FILE: src/Ocelot/Configuration/Creator/ILoadBalancerOptionsCreator.cs type ILoadBalancerOptionsCreator (line 5) | public interface ILoadBalancerOptionsCreator method Create (line 7) | LoadBalancerOptions Create(FileLoadBalancerOptions options); method Create (line 8) | LoadBalancerOptions Create(FileRoute route, FileGlobalConfiguration gl... method Create (line 9) | LoadBalancerOptions Create(FileDynamicRoute route, FileGlobalConfigura... FILE: src/Ocelot/Configuration/Creator/IMetadataCreator.cs type IMetadataCreator (line 8) | public interface IMetadataCreator method Create (line 10) | MetadataOptions Create(IDictionary metadata, FileGloba... FILE: src/Ocelot/Configuration/Creator/IQoSOptionsCreator.cs type IQoSOptionsCreator (line 5) | public interface IQoSOptionsCreator method Create (line 7) | QoSOptions Create(FileQoSOptions options); method Create (line 8) | QoSOptions Create(FileRoute route, FileGlobalConfiguration globalConfi... method Create (line 9) | QoSOptions Create(FileDynamicRoute route, FileGlobalConfiguration glob... FILE: src/Ocelot/Configuration/Creator/IRateLimitOptionsCreator.cs type IRateLimitOptionsCreator (line 5) | public interface IRateLimitOptionsCreator method Create (line 7) | RateLimitOptions Create(FileGlobalConfiguration globalConfiguration); method Create (line 8) | RateLimitOptions Create(IRouteRateLimiting route, FileGlobalConfigurat... FILE: src/Ocelot/Configuration/Creator/IRequestIdKeyCreator.cs type IRequestIdKeyCreator (line 5) | public interface IRequestIdKeyCreator method Create (line 7) | string Create(FileRoute fileRoute, FileGlobalConfiguration globalConfi... FILE: src/Ocelot/Configuration/Creator/IRouteKeyCreator.cs type IRouteKeyCreator (line 5) | public interface IRouteKeyCreator method Create (line 7) | string Create(FileRoute route, LoadBalancerOptions loadBalancing); method Create (line 8) | string Create(FileDynamicRoute route, LoadBalancerOptions loadBalancing); method Create (line 9) | string Create(string serviceNamespace, string serviceName, LoadBalance... FILE: src/Ocelot/Configuration/Creator/IRoutesCreator.cs type IRoutesCreator (line 5) | public interface IRoutesCreator method Create (line 7) | IReadOnlyList Create(FileConfiguration fileConfiguration); method CreateTimeout (line 15) | int CreateTimeout(FileRoute route, FileGlobalConfiguration global); FILE: src/Ocelot/Configuration/Creator/ISecurityOptionsCreator.cs type ISecurityOptionsCreator (line 5) | public interface ISecurityOptionsCreator method Create (line 7) | SecurityOptions Create(FileSecurityOptions securityOptions, FileGlobal... FILE: src/Ocelot/Configuration/Creator/IServiceProviderConfigurationCreator.cs type IServiceProviderConfigurationCreator (line 5) | public interface IServiceProviderConfigurationCreator method Create (line 7) | ServiceProviderConfiguration Create(FileGlobalConfiguration globalConf... FILE: src/Ocelot/Configuration/Creator/IUpstreamHeaderTemplatePatternCreator.cs type IUpstreamHeaderTemplatePatternCreator (line 10) | public interface IUpstreamHeaderTemplatePatternCreator method Create (line 17) | IDictionary Create(IRouteUpstream route); method Create (line 19) | IDictionary Create(IHeaderDictionary u... FILE: src/Ocelot/Configuration/Creator/IUpstreamTemplatePatternCreator.cs type IUpstreamTemplatePatternCreator (line 6) | public interface IUpstreamTemplatePatternCreator method Create (line 8) | UpstreamPathTemplate Create(IRouteUpstream route); FILE: src/Ocelot/Configuration/Creator/IVersionCreator.cs type IVersionCreator (line 3) | public interface IVersionCreator method Create (line 5) | Version Create(string downstreamHttpVersion); FILE: src/Ocelot/Configuration/Creator/IVersionPolicyCreator.cs type IVersionPolicyCreator (line 6) | public interface IVersionPolicyCreator method Create (line 13) | HttpVersionPolicy Create(string downstreamHttpVersionPolicy); FILE: src/Ocelot/Configuration/Creator/LoadBalancerOptionsCreator.cs class LoadBalancerOptionsCreator (line 6) | public class LoadBalancerOptionsCreator : ILoadBalancerOptionsCreator method Create (line 8) | public LoadBalancerOptions Create(FileLoadBalancerOptions options) method Create (line 11) | public LoadBalancerOptions Create(FileRoute route, FileGlobalConfigura... method Create (line 18) | public LoadBalancerOptions Create(FileDynamicRoute route, FileGlobalCo... method Create (line 25) | protected virtual LoadBalancerOptions Create(IRouteGrouping grouping, ... method Merge (line 55) | protected virtual LoadBalancerOptions Merge(FileLoadBalancerOptions op... FILE: src/Ocelot/Configuration/Creator/QoSOptionsCreator.cs class QoSOptionsCreator (line 5) | public class QoSOptionsCreator : IQoSOptionsCreator method Create (line 7) | public QoSOptions Create(FileQoSOptions options) method Create (line 10) | public QoSOptions Create(FileRoute route, FileGlobalConfiguration glob... method Create (line 17) | public QoSOptions Create(FileDynamicRoute route, FileGlobalConfigurati... method Create (line 24) | protected virtual QoSOptions Create(IRouteGrouping grouping, FileQoSOp... method Merge (line 50) | protected virtual QoSOptions Merge(FileQoSOptions options, FileQoSOpti... FILE: src/Ocelot/Configuration/Creator/RateLimitOptionsCreator.cs class RateLimitOptionsCreator (line 6) | public class RateLimitOptionsCreator : IRateLimitOptionsCreator method RateLimitOptionsCreator (line 8) | public RateLimitOptionsCreator() { } method Create (line 10) | public RateLimitOptions Create(FileGlobalConfiguration globalConfigura... method Create (line 15) | public RateLimitOptions Create(IRouteRateLimiting route, FileGlobalCon... method MergeHeaderRules (line 51) | protected virtual RateLimitOptions MergeHeaderRules(FileRateLimitByHea... FILE: src/Ocelot/Configuration/Creator/RequestIdKeyCreator.cs class RequestIdKeyCreator (line 5) | public class RequestIdKeyCreator : IRequestIdKeyCreator method Create (line 7) | public string Create(FileRoute fileRoute, FileGlobalConfiguration glob... FILE: src/Ocelot/Configuration/Creator/RouteKeyCreator.cs class RouteKeyCreator (line 8) | public class RouteKeyCreator : IRouteKeyCreator method Create (line 22) | public string Create(FileRoute route, LoadBalancerOptions loadBalancing) method Create (line 41) | public string Create(FileDynamicRoute route, LoadBalancerOptions loadB... method Create (line 53) | public string Create(string serviceNamespace, string serviceName, Load... method TryStickySession (line 64) | protected virtual bool TryStickySession(LoadBalancerOptions loadBalanc... method AsString (line 74) | public static string AsString(FileHostAndPort host) => host?.ToString(); class RouteKeyCreatorHelpers (line 77) | internal static class RouteKeyCreatorHelpers method AppendNext (line 84) | public static StringBuilder AppendNext(this StringBuilder builder, str... FILE: src/Ocelot/Configuration/Creator/SecurityOptionsCreator.cs class SecurityOptionsCreator (line 6) | public class SecurityOptionsCreator : ISecurityOptionsCreator method Create (line 8) | public SecurityOptions Create(FileSecurityOptions securityOptions, Fil... method Parse (line 19) | private static string[] Parse(string ipValue) FILE: src/Ocelot/Configuration/Creator/ServiceProviderConfigurationCreator.cs class ServiceProviderConfigurationCreator (line 6) | public class ServiceProviderConfigurationCreator : IServiceProviderConfi... method Create (line 8) | public ServiceProviderConfiguration Create(FileGlobalConfiguration glo... FILE: src/Ocelot/Configuration/Creator/StaticRoutesCreator.cs class StaticRoutesCreator (line 7) | public class StaticRoutesCreator : IRoutesCreator method StaticRoutesCreator (line 27) | public StaticRoutesCreator( method Create (line 66) | public IReadOnlyList Create(FileConfiguration fileConfiguration) method CreateTimeout (line 75) | public virtual int CreateTimeout(FileRoute route, FileGlobalConfigurat... method SetUpDownstreamRoute (line 81) | private DownstreamRoute SetUpDownstreamRoute(FileRoute fileRoute, File... method SetUpRoute (line 158) | private Route SetUpRoute(FileRoute fileRoute, DownstreamRoute downstre... FILE: src/Ocelot/Configuration/Creator/UpstreamHeaderTemplatePatternCreator.cs class UpstreamHeaderTemplatePatternCreator (line 12) | public partial class UpstreamHeaderTemplatePatternCreator : IUpstreamHea... method RegexPlaceholders (line 14) | [GeneratedRegex(@"(\{header:.*?\})", RegexOptions.IgnoreCase | RegexOp... method Create (line 17) | public IDictionary Create(IRouteUpstre... method Create (line 22) | public IDictionary Create(IHeaderDicti... method Create (line 28) | protected virtual IDictionary Create(I... FILE: src/Ocelot/Configuration/Creator/UpstreamTemplatePatternCreator.cs class UpstreamTemplatePatternCreator (line 8) | public class UpstreamTemplatePatternCreator : IUpstreamTemplatePatternCr... method UpstreamTemplatePatternCreator (line 18) | public UpstreamTemplatePatternCreator(IOcelotCache cache) method Create (line 23) | public UpstreamPathTemplate Create(IRouteUpstream route) method GetRegex (line 96) | protected Regex GetRegex(string key) method CreateTemplate (line 112) | protected UpstreamPathTemplate CreateTemplate(string template, int pri... method ForwardSlashAndOnePlaceHolder (line 118) | private static bool ForwardSlashAndOnePlaceHolder(string upstreamTempl... method IsPlaceHolder (line 123) | private static bool IsPlaceHolder(string upstreamTemplate, int i) FILE: src/Ocelot/Configuration/Creator/VersionPolicies.cs class VersionPolicies (line 6) | public class VersionPolicies FILE: src/Ocelot/Configuration/DownstreamHostAndPort.cs class DownstreamHostAndPort (line 3) | public class DownstreamHostAndPort method DownstreamHostAndPort (line 5) | public DownstreamHostAndPort(string host, int port) FILE: src/Ocelot/Configuration/DownstreamRoute.cs class DownstreamRoute (line 7) | public class DownstreamRoute method DownstreamRoute (line 9) | public DownstreamRoute( method Name (line 139) | public string Name() => Name(false); method Name (line 143) | public string Name(bool escapePath) method ToString (line 160) | public override string ToString() => LoadBalancerKey; FILE: src/Ocelot/Configuration/File/AggregateRouteConfig.cs class AggregateRouteConfig (line 3) | public class AggregateRouteConfig FILE: src/Ocelot/Configuration/File/FileAggregateRoute.cs class FileAggregateRoute (line 5) | public class FileAggregateRoute : IRouteUpstream, IRouteGroup method FileAggregateRoute (line 17) | public FileAggregateRoute() FILE: src/Ocelot/Configuration/File/FileAuthenticationOptions.cs class FileAuthenticationOptions (line 5) | public class FileAuthenticationOptions method FileAuthenticationOptions (line 7) | public FileAuthenticationOptions() method FileAuthenticationOptions (line 10) | public FileAuthenticationOptions(string authScheme) : this() method FileAuthenticationOptions (line 13) | public FileAuthenticationOptions(FileAuthenticationOptions options) method ToString (line 40) | public override string ToString() => new StringBuilder() FILE: src/Ocelot/Configuration/File/FileCacheOptions.cs class FileCacheOptions (line 3) | public class FileCacheOptions method FileCacheOptions (line 5) | public FileCacheOptions() { } method FileCacheOptions (line 6) | public FileCacheOptions(int ttl) => TtlSeconds = ttl; method FileCacheOptions (line 7) | public FileCacheOptions(FileCacheOptions from) FILE: src/Ocelot/Configuration/File/FileConfiguration.cs class FileConfiguration (line 3) | public class FileConfiguration method FileConfiguration (line 5) | public FileConfiguration() FILE: src/Ocelot/Configuration/File/FileDynamicRoute.cs class FileDynamicRoute (line 6) | public class FileDynamicRoute : FileRouteBase, IRouteGrouping, IRouteRat... FILE: src/Ocelot/Configuration/File/FileGlobalAuthenticationOptions.cs class FileGlobalAuthenticationOptions (line 3) | public class FileGlobalAuthenticationOptions : FileAuthenticationOptions... method FileGlobalAuthenticationOptions (line 5) | public FileGlobalAuthenticationOptions() : base() { } method FileGlobalAuthenticationOptions (line 6) | public FileGlobalAuthenticationOptions(string authScheme) : base(authS... method FileGlobalAuthenticationOptions (line 7) | public FileGlobalAuthenticationOptions(FileAuthenticationOptions from)... FILE: src/Ocelot/Configuration/File/FileGlobalCacheOptions.cs class FileGlobalCacheOptions (line 3) | public class FileGlobalCacheOptions : FileCacheOptions, IRouteGroup method FileGlobalCacheOptions (line 5) | public FileGlobalCacheOptions() : base() { } method FileGlobalCacheOptions (line 6) | public FileGlobalCacheOptions(FileCacheOptions from) : base(from) { } method FileGlobalCacheOptions (line 7) | public FileGlobalCacheOptions(int ttl) : base(ttl) { } FILE: src/Ocelot/Configuration/File/FileGlobalConfiguration.cs class FileGlobalConfiguration (line 3) | public class FileGlobalConfiguration method FileGlobalConfiguration (line 5) | public FileGlobalConfiguration() FILE: src/Ocelot/Configuration/File/FileGlobalHttpHandlerOptions.cs class FileGlobalHttpHandlerOptions (line 3) | public class FileGlobalHttpHandlerOptions : FileHttpHandlerOptions, IRou... method FileGlobalHttpHandlerOptions (line 5) | public FileGlobalHttpHandlerOptions() : base() { } method FileGlobalHttpHandlerOptions (line 6) | public FileGlobalHttpHandlerOptions(FileHttpHandlerOptions from) : bas... FILE: src/Ocelot/Configuration/File/FileGlobalLoadBalancerOptions.cs class FileGlobalLoadBalancerOptions (line 3) | public class FileGlobalLoadBalancerOptions : FileLoadBalancerOptions, IR... method FileGlobalLoadBalancerOptions (line 5) | public FileGlobalLoadBalancerOptions() : base() { } method FileGlobalLoadBalancerOptions (line 6) | public FileGlobalLoadBalancerOptions(string type) : base(type) { } FILE: src/Ocelot/Configuration/File/FileGlobalQoSOptions.cs class FileGlobalQoSOptions (line 3) | public class FileGlobalQoSOptions : FileQoSOptions, IRouteGroup method FileGlobalQoSOptions (line 5) | public FileGlobalQoSOptions() : base() { } method FileGlobalQoSOptions (line 6) | public FileGlobalQoSOptions(FileQoSOptions from) : base(from) { } method FileGlobalQoSOptions (line 7) | public FileGlobalQoSOptions(QoSOptions from) : base(from) { } FILE: src/Ocelot/Configuration/File/FileGlobalRateLimit.cs class FileGlobalRateLimit (line 3) | public sealed class FileGlobalRateLimit : FILE: src/Ocelot/Configuration/File/FileGlobalRateLimitByAspNetRule.cs class FileGlobalRateLimitByAspNetRule (line 3) | public class FileGlobalRateLimitByAspNetRule : FileRateLimitByAspNetRule... FILE: src/Ocelot/Configuration/File/FileGlobalRateLimitByHeaderRule.cs class FileGlobalRateLimitByHeaderRule (line 3) | public class FileGlobalRateLimitByHeaderRule : FileRateLimitByHeaderRule... method FileGlobalRateLimitByHeaderRule (line 5) | public FileGlobalRateLimitByHeaderRule() method FileGlobalRateLimitByHeaderRule (line 7) | public FileGlobalRateLimitByHeaderRule(FileRateLimitByHeaderRule from) FILE: src/Ocelot/Configuration/File/FileGlobalRateLimitByIpRule.cs class FileGlobalRateLimitByIpRule (line 3) | public class FileGlobalRateLimitByIpRule : FileRateLimitByIpRule, IRoute... FILE: src/Ocelot/Configuration/File/FileGlobalRateLimitByMethodRule.cs class FileGlobalRateLimitByMethodRule (line 3) | public class FileGlobalRateLimitByMethodRule : FileRateLimitByMethodRule... FILE: src/Ocelot/Configuration/File/FileGlobalRateLimiting.cs class FileGlobalRateLimiting (line 3) | public class FileGlobalRateLimiting : FileRateLimitRule FILE: src/Ocelot/Configuration/File/FileHostAndPort.cs class FileHostAndPort (line 3) | public class FileHostAndPort method FileHostAndPort (line 5) | public FileHostAndPort() { } method FileHostAndPort (line 7) | public FileHostAndPort(FileHostAndPort from) method FileHostAndPort (line 13) | public FileHostAndPort(string host, int port) method ToString (line 22) | public override string ToString() => $"{Host}:{Port}"; FILE: src/Ocelot/Configuration/File/FileHttpHandlerOptions.cs class FileHttpHandlerOptions (line 3) | public class FileHttpHandlerOptions method FileHttpHandlerOptions (line 5) | public FileHttpHandlerOptions() method FileHttpHandlerOptions (line 8) | public FileHttpHandlerOptions(FileHttpHandlerOptions from) FILE: src/Ocelot/Configuration/File/FileLoadBalancerOptions.cs class FileLoadBalancerOptions (line 3) | public class FileLoadBalancerOptions method FileLoadBalancerOptions (line 5) | public FileLoadBalancerOptions() method FileLoadBalancerOptions (line 8) | public FileLoadBalancerOptions(string type) method FileLoadBalancerOptions (line 14) | public FileLoadBalancerOptions(FileLoadBalancerOptions from) FILE: src/Ocelot/Configuration/File/FileMetadataOptions.cs class FileMetadataOptions (line 5) | public class FileMetadataOptions method FileMetadataOptions (line 7) | public FileMetadataOptions() method FileMetadataOptions (line 16) | public FileMetadataOptions(FileMetadataOptions from) FILE: src/Ocelot/Configuration/File/FileQoSOptions.cs class FileQoSOptions (line 6) | public class FileQoSOptions method FileQoSOptions (line 9) | public FileQoSOptions() method FileQoSOptions (line 12) | public FileQoSOptions(FileQoSOptions from) method FileQoSOptions (line 24) | public FileQoSOptions(QoSOptions from) FILE: src/Ocelot/Configuration/File/FileRateLimitByAspNetRule.cs class FileRateLimitByAspNetRule (line 3) | public class FileRateLimitByAspNetRule FILE: src/Ocelot/Configuration/File/FileRateLimitByHeaderRule.cs class FileRateLimitByHeaderRule (line 8) | public class FileRateLimitByHeaderRule : FileRateLimitRule method FileRateLimitByHeaderRule (line 10) | public FileRateLimitByHeaderRule() : base() method FileRateLimitByHeaderRule (line 13) | public FileRateLimitByHeaderRule(FileRateLimitRule from) method FileRateLimitByHeaderRule (line 17) | public FileRateLimitByHeaderRule(FileRateLimitByHeaderRule from) method ToString (line 41) | public override string ToString() FILE: src/Ocelot/Configuration/File/FileRateLimitByIpRule.cs class FileRateLimitByIpRule (line 3) | public class FileRateLimitByIpRule : FileRateLimitRule FILE: src/Ocelot/Configuration/File/FileRateLimitByMethodRule.cs class FileRateLimitByMethodRule (line 3) | public class FileRateLimitByMethodRule : FileRateLimitRule FILE: src/Ocelot/Configuration/File/FileRateLimitRule.cs class FileRateLimitRule (line 8) | public class FileRateLimitRule method FileRateLimitRule (line 10) | public FileRateLimitRule() { } method FileRateLimitRule (line 12) | public FileRateLimitRule(FileRateLimitRule from) method ToString (line 82) | public override string ToString() FILE: src/Ocelot/Configuration/File/FileRateLimiting.cs class FileRateLimiting (line 3) | public class FileRateLimiting : FileRateLimitRule FILE: src/Ocelot/Configuration/File/FileRoute.cs class FileRoute (line 6) | public class FileRoute : FileRouteBase, IRouteUpstream, IRouteGrouping, ... method FileRoute (line 8) | public FileRoute() method FileRoute (line 25) | public FileRoute(FileRoute from) method Clone (line 57) | public object Clone() method DeepCopy (line 64) | public static void DeepCopy(FileRoute from, FileRoute to) method ToString (line 104) | public override string ToString() FILE: src/Ocelot/Configuration/File/FileRouteBase.cs class FileRouteBase (line 10) | public abstract class FileRouteBase : IRouteGrouping FILE: src/Ocelot/Configuration/File/FileSecurityOptions.cs class FileSecurityOptions (line 3) | public class FileSecurityOptions method FileSecurityOptions (line 5) | public FileSecurityOptions() method FileSecurityOptions (line 12) | public FileSecurityOptions(FileSecurityOptions from) method FileSecurityOptions (line 19) | public FileSecurityOptions(string allowedIPs = null, string blockedIPs... method FileSecurityOptions (line 35) | public FileSecurityOptions(IEnumerable allowedIPs = null, IEnu... method IsEmpty (line 50) | public bool IsEmpty() => IPAllowedList.Count == 0 && IPBlockedList.Cou... FILE: src/Ocelot/Configuration/File/FileServiceDiscoveryProvider.cs class FileServiceDiscoveryProvider (line 3) | public class FileServiceDiscoveryProvider FILE: src/Ocelot/Configuration/File/IRouteGroup.cs type IRouteGroup (line 6) | public interface IRouteGroup FILE: src/Ocelot/Configuration/File/IRouteGrouping.cs type IRouteGrouping (line 6) | public interface IRouteGrouping FILE: src/Ocelot/Configuration/File/IRouteRateLimiting.cs type IRouteRateLimiting (line 3) | public interface IRouteRateLimiting : IRouteGrouping FILE: src/Ocelot/Configuration/File/IRouteUpstream.cs type IRouteUpstream (line 3) | public interface IRouteUpstream FILE: src/Ocelot/Configuration/HeaderFindAndReplace.cs class HeaderFindAndReplace (line 3) | public class HeaderFindAndReplace method HeaderFindAndReplace (line 7) | public HeaderFindAndReplace(HeaderFindAndReplace from) method HeaderFindAndReplace (line 16) | public HeaderFindAndReplace(KeyValuePair from) method HeaderFindAndReplace (line 33) | public HeaderFindAndReplace(string key, string find, string replace, i... method ToString (line 48) | public override string ToString() => $"{nameof(HeaderFindAndReplace)}[... FILE: src/Ocelot/Configuration/HttpHandlerOptions.cs class HttpHandlerOptions (line 8) | public class HttpHandlerOptions //: SocketsHttpHandler // TODO Think abo... method HttpHandlerOptions (line 12) | public HttpHandlerOptions() method HttpHandlerOptions (line 18) | public HttpHandlerOptions(FileHttpHandlerOptions from) method HttpHandlerOptions (line 29) | public HttpHandlerOptions(FileHttpHandlerOptions from, bool useTracing) FILE: src/Ocelot/Configuration/IInternalConfiguration.cs type IInternalConfiguration (line 3) | public interface IInternalConfiguration FILE: src/Ocelot/Configuration/InternalConfiguration.cs class InternalConfiguration (line 5) | public class InternalConfiguration : IInternalConfiguration method InternalConfiguration (line 7) | public InternalConfiguration() => Routes = []; method InternalConfiguration (line 8) | public InternalConfiguration(Route[] routes) => Routes = routes ?? []; FILE: src/Ocelot/Configuration/LoadBalancerOptions.cs class LoadBalancerOptions (line 7) | public class LoadBalancerOptions method LoadBalancerOptions (line 9) | public LoadBalancerOptions() method LoadBalancerOptions (line 14) | public LoadBalancerOptions(FileLoadBalancerOptions options) method LoadBalancerOptions (line 18) | public LoadBalancerOptions(string type, string key, int? expiryInMs) FILE: src/Ocelot/Configuration/MetadataOptions.cs class MetadataOptions (line 6) | public class MetadataOptions method MetadataOptions (line 8) | public MetadataOptions() method MetadataOptions (line 18) | public MetadataOptions(MetadataOptions from) method MetadataOptions (line 28) | public MetadataOptions(FileMetadataOptions from) method MetadataOptions (line 38) | public MetadataOptions(string[] separators, char[] trimChars, StringSp... FILE: src/Ocelot/Configuration/Parser/ClaimToThingConfigurationParser.cs class ClaimToThingConfigurationParser (line 9) | public partial class ClaimToThingConfigurationParser : IClaimToThingConf... method ClaimRegex (line 13) | [GeneratedRegex("Claims\\[.*\\]", RegexOptions.None, RegexGlobal.Defau... method IndexRegex (line 16) | [GeneratedRegex("value\\[.*\\]", RegexOptions.None, RegexGlobal.Defaul... method Extract (line 19) | public Response Extract(string existingKey, string value) method GetIndexValue (line 56) | private static string GetIndexValue(string instruction) FILE: src/Ocelot/Configuration/Parser/IClaimToThingConfigurationParser.cs type IClaimToThingConfigurationParser (line 5) | public interface IClaimToThingConfigurationParser method Extract (line 7) | Response Extract(string existingKey, string value); FILE: src/Ocelot/Configuration/Parser/InstructionNotForClaimsError.cs class InstructionNotForClaimsError (line 5) | public class InstructionNotForClaimsError : Error method InstructionNotForClaimsError (line 7) | public InstructionNotForClaimsError() FILE: src/Ocelot/Configuration/Parser/NoInstructionsError.cs class NoInstructionsError (line 5) | public class NoInstructionsError : Error method NoInstructionsError (line 7) | public NoInstructionsError(string splitToken) FILE: src/Ocelot/Configuration/Parser/ParsingConfigurationHeaderError.cs class ParsingConfigurationHeaderError (line 6) | public class ParsingConfigurationHeaderError : Error method ParsingConfigurationHeaderError (line 8) | public ParsingConfigurationHeaderError(Exception exception) FILE: src/Ocelot/Configuration/QoSOptions.cs class QoSOptions (line 5) | public class QoSOptions method QoSOptions (line 7) | public QoSOptions() { } method QoSOptions (line 8) | public QoSOptions(int? timeout) => Timeout = timeout; method QoSOptions (line 9) | public QoSOptions(int? exceptions, int? breakMs) method QoSOptions (line 18) | public QoSOptions(QoSOptions from) method QoSOptions (line 30) | public QoSOptions(FileQoSOptions from) FILE: src/Ocelot/Configuration/RateLimitOptions.cs class RateLimitOptions (line 13) | public class RateLimitOptions method RateLimitOptions (line 20) | public RateLimitOptions() method RateLimitOptions (line 32) | public RateLimitOptions(bool enableRateLimiting) : this() method RateLimitOptions (line 37) | public RateLimitOptions(bool enableRateLimiting, string clientIdHeader... method RateLimitOptions (line 50) | public RateLimitOptions(FileRateLimitByHeaderRule fromRule) method RateLimitOptions (line 68) | public RateLimitOptions(RateLimitOptions fromOptions) FILE: src/Ocelot/Configuration/RateLimitRule.cs class RateLimitRule (line 6) | public class RateLimitRule method RateLimitRule (line 13) | public RateLimitRule(string period, string wait, long limit) method ToString (line 20) | public override string ToString() => $"{Limit}/{Period}/w{Wait}"; method ParseTimespan (line 57) | public static TimeSpan ParseTimespan(string timespan) FILE: src/Ocelot/Configuration/Repository/ConsulFileConfigurationPollerOption.cs class ConsulFileConfigurationPollerOption (line 3) | public class ConsulFileConfigurationPollerOption : IFileConfigurationPol... method ConsulFileConfigurationPollerOption (line 8) | public ConsulFileConfigurationPollerOption(IInternalConfigurationRepos... method GetDelay (line 17) | private int GetDelay() FILE: src/Ocelot/Configuration/Repository/DiskFileConfigurationRepository.cs class DiskFileConfigurationRepository (line 11) | public class DiskFileConfigurationRepository : IFileConfigurationRepository method DiskFileConfigurationRepository (line 19) | public DiskFileConfigurationRepository(IWebHostEnvironment hostingEnvi... method DiskFileConfigurationRepository (line 26) | public DiskFileConfigurationRepository(IWebHostEnvironment hostingEnvi... method Initialize (line 33) | private void Initialize(string folder) method Get (line 43) | public Task> Get() method Set (line 57) | public Task Set(FileConfiguration fileConfiguration) FILE: src/Ocelot/Configuration/Repository/FileConfigurationPoller.cs class FileConfigurationPoller (line 9) | public class FileConfigurationPoller : IHostedService, IDisposable method FileConfigurationPoller (line 20) | public FileConfigurationPoller( method OnTimer (line 35) | private void OnTimer(object state) method StartAsync (line 45) | public Task StartAsync(CancellationToken cancellationToken) method StopAsync (line 55) | public Task StopAsync(CancellationToken cancellationToken) method PollAsync (line 65) | private async Task PollAsync() method ToJson (line 93) | private static string ToJson(FileConfiguration config) method Dispose (line 99) | public void Dispose() FILE: src/Ocelot/Configuration/Repository/IFileConfigurationPollerOptions.cs type IFileConfigurationPollerOptions (line 3) | public interface IFileConfigurationPollerOptions FILE: src/Ocelot/Configuration/Repository/IFileConfigurationRepository.cs type IFileConfigurationRepository (line 6) | public interface IFileConfigurationRepository method Get (line 8) | Task> Get(); method Set (line 10) | Task Set(FileConfiguration fileConfiguration); FILE: src/Ocelot/Configuration/Repository/IInternalConfigurationRepository.cs type IInternalConfigurationRepository (line 5) | public interface IInternalConfigurationRepository method Get (line 7) | Response Get(); method AddOrReplace (line 9) | Response AddOrReplace(IInternalConfiguration internalConfiguration); FILE: src/Ocelot/Configuration/Repository/InMemoryFileConfigurationPollerOptions.cs class InMemoryFileConfigurationPollerOptions (line 3) | public class InMemoryFileConfigurationPollerOptions : IFileConfiguration... FILE: src/Ocelot/Configuration/Repository/InMemoryInternalConfigurationRepository.cs class InMemoryInternalConfigurationRepository (line 9) | public class InMemoryInternalConfigurationRepository : IInternalConfigur... method InMemoryInternalConfigurationRepository (line 16) | public InMemoryInternalConfigurationRepository(IOcelotConfigurationCha... method Get (line 21) | public Response Get() method AddOrReplace (line 26) | public Response AddOrReplace(IInternalConfiguration internalConfigurat... FILE: src/Ocelot/Configuration/Route.cs class Route (line 6) | public class Route method Route (line 8) | public Route() => DownstreamRoute = new(); method Route (line 9) | public Route(bool isDynamic) : this() => IsDynamic = isDynamic; method Route (line 10) | public Route(bool isDynamic, DownstreamRoute route) : this(route) => I... method Route (line 11) | public Route(DownstreamRoute route) => DownstreamRoute = [route]; method Route (line 12) | public Route(DownstreamRoute route, HttpMethod method) FILE: src/Ocelot/Configuration/SecurityOptions.cs class SecurityOptions (line 3) | public class SecurityOptions method SecurityOptions (line 5) | public SecurityOptions() method SecurityOptions (line 11) | public SecurityOptions(string allowed = null, string blocked = null) method SecurityOptions (line 25) | public SecurityOptions(IList allowedList = null, IList... FILE: src/Ocelot/Configuration/ServiceProviderConfiguration.cs class ServiceProviderConfiguration (line 3) | public class ServiceProviderConfiguration FILE: src/Ocelot/Configuration/Setter/FileAndInternalConfigurationSetter.cs class FileAndInternalConfigurationSetter (line 8) | public class FileAndInternalConfigurationSetter : IFileConfigurationSetter method FileAndInternalConfigurationSetter (line 14) | public FileAndInternalConfigurationSetter( method Set (line 24) | public async Task Set(FileConfiguration fileConfig) FILE: src/Ocelot/Configuration/Setter/IFileConfigurationSetter.cs type IFileConfigurationSetter (line 6) | public interface IFileConfigurationSetter method Set (line 8) | Task Set(FileConfiguration config); FILE: src/Ocelot/Configuration/Validator/ConfigurationValidationResult.cs class ConfigurationValidationResult (line 5) | public class ConfigurationValidationResult method ConfigurationValidationResult (line 7) | public ConfigurationValidationResult(bool isError) method ConfigurationValidationResult (line 13) | public ConfigurationValidationResult(bool isError, List errors) FILE: src/Ocelot/Configuration/Validator/FileAuthenticationOptionsValidator.cs class FileAuthenticationOptionsValidator (line 8) | public class FileAuthenticationOptionsValidator : AbstractValidator IsSupportedAuthenticationProviders(FileAuthen... FILE: src/Ocelot/Configuration/Validator/FileConfigurationFluentValidator.cs class FileConfigurationFluentValidator (line 13) | public partial class FileConfigurationFluentValidator : AbstractValidato... method FileConfigurationFluentValidator (line 17) | public FileConfigurationFluentValidator(IServiceProvider provider, Rou... method HaveServiceDiscoveryProviderRegistered (line 66) | private bool HaveServiceDiscoveryProviderRegistered(FileRoute route, F... method HaveServiceDiscoveryProviderRegistered (line 73) | private bool HaveServiceDiscoveryProviderRegistered(FileServiceDiscove... method IsValid (line 80) | public async Task> IsValid(Fil... method AllRoutesForAggregateExist (line 96) | private static bool AllRoutesForAggregateExist(FileAggregateRoute file... method PlaceholderRegex (line 103) | [GeneratedRegex(@"\{\w+\}", RegexOptions.IgnoreCase | RegexOptions.Sin... method IsPlaceholderNotDuplicatedIn (line 106) | private static bool IsPlaceholderNotDuplicatedIn(string pathTemplate) method DoesNotContainRoutesWithSpecificRequestIdKeys (line 113) | private static bool DoesNotContainRoutesWithSpecificRequestIdKeys(File... method IsNotDuplicateIn (line 121) | private static bool IsNotDuplicateIn(FileRoute route, IEnumerable upstreamHea... method IsNotDuplicateIn (line 154) | private static bool IsNotDuplicateIn(FileRoute route, method IsNotDuplicateIn (line 165) | private static bool IsNotDuplicateIn(FileAggregateRoute route, IEnumer... FILE: src/Ocelot/Configuration/Validator/FileGlobalConfigurationFluentValidator.cs class FileGlobalConfigurationFluentValidator (line 6) | public class FileGlobalConfigurationFluentValidator : AbstractValidator<... method FileGlobalConfigurationFluentValidator (line 8) | public FileGlobalConfigurationFluentValidator( FILE: src/Ocelot/Configuration/Validator/FileQoSOptionsFluentValidator.cs class FileQoSOptionsFluentValidator (line 8) | public class FileQoSOptionsFluentValidator : AbstractValidator new QoSOptions(opts).UseQos; method CheckRules (line 19) | private void CheckRules() method HaveQosHandlerRegistered (line 26) | private bool HaveQosHandlerRegistered(FileQoSOptions arg) FILE: src/Ocelot/Configuration/Validator/FileValidationFailedError.cs class FileValidationFailedError (line 5) | public class FileValidationFailedError : Error method FileValidationFailedError (line 7) | public FileValidationFailedError(string message) FILE: src/Ocelot/Configuration/Validator/HostAndPortValidator.cs class HostAndPortValidator (line 6) | public class HostAndPortValidator : AbstractValidator method HostAndPortValidator (line 8) | public HostAndPortValidator() FILE: src/Ocelot/Configuration/Validator/IConfigurationValidator.cs type IConfigurationValidator (line 6) | public interface IConfigurationValidator method IsValid (line 8) | Task> IsValid(FileConfiguratio... FILE: src/Ocelot/Configuration/Validator/RouteFluentValidator.cs class RouteFluentValidator (line 11) | public partial class RouteFluentValidator : AbstractValidator method RouteFluentValidator (line 13) | public RouteFluentValidator( method MilliSecondsRegex (line 99) | [GeneratedRegex(@"^\d+(\.\d+)?ms", RegexOptions.None, RegexGlobal.Defa... method SecondsRegex (line 102) | [GeneratedRegex(@"^\d+(\.\d+)?s", RegexOptions.None, RegexGlobal.Defau... method MinutesRegex (line 105) | [GeneratedRegex(@"^\d+(\.\d+)?m", RegexOptions.None, RegexGlobal.Defau... method HoursRegex (line 108) | [GeneratedRegex(@"^\d+(\.\d+)?h", RegexOptions.None, RegexGlobal.Defau... method DaysRegex (line 111) | [GeneratedRegex(@"^\d+(\.\d+)?d", RegexOptions.None, RegexGlobal.Defau... method IsValidPeriod (line 114) | private static bool IsValidPeriod(FileRateLimitByHeaderRule rateLimitO... FILE: src/Ocelot/DependencyInjection/ConfigurationBuilderExtensions.cs class ConfigurationBuilderExtensions (line 13) | public static partial class ConfigurationBuilderExtensions method AddOcelotBaseUrl (line 19) | [Obsolete("Please set BaseUrl in ocelot.json GlobalConfiguration.BaseU... method AddOcelot (line 39) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... method AddOcelot (line 49) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... method AddOcelot (line 65) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... method AddOcelot (line 83) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... method ApplyMergeOcelotJsonOption (line 91) | private static IConfigurationBuilder ApplyMergeOcelotJsonOption(IConfi... method SubConfigRegex (line 99) | [GeneratedRegex(@"^ocelot\.(.*?)\.json$", RegexOptions.IgnoreCase | Re... method GetMergedOcelotJson (line 102) | private static string GetMergedOcelotJson(string folder, IWebHostEnvir... method AddOcelot (line 161) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... method AddOcelot (line 181) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... method AddOcelotJsonFile (line 200) | private static IConfigurationBuilder AddOcelotJsonFile(IConfigurationB... method AddOcelot (line 218) | public static IConfigurationBuilder AddOcelot(this IConfigurationBuild... FILE: src/Ocelot/DependencyInjection/Features.cs class Features (line 13) | public static class Features method AddConfigurationValidators (line 19) | public static IServiceCollection AddConfigurationValidators(this IServ... method AddOcelotRateLimiting (line 35) | public static IServiceCollection AddOcelotRateLimiting(this IServiceCo... method AddOcelotCache (line 47) | public static IServiceCollection AddOcelotCache(this IServiceCollectio... method AddOcelotHeaderRouting (line 60) | public static IServiceCollection AddOcelotHeaderRouting(this IServiceC... method AddOcelotLogging (line 65) | public static IServiceCollection AddOcelotLogging(this IServiceCollect... method AddOcelotMetadata (line 75) | public static IServiceCollection AddOcelotMetadata(this IServiceCollec... FILE: src/Ocelot/DependencyInjection/IOcelotBuilder.cs type IOcelotBuilder (line 10) | public interface IOcelotBuilder method AddDelegatingHandler (line 25) | IOcelotBuilder AddDelegatingHandler(Type delegateType, bool global = f... method AddDelegatingHandler (line 33) | IOcelotBuilder AddDelegatingHandler(bool global = false) method AddSingletonDefinedAggregator (line 36) | IOcelotBuilder AddSingletonDefinedAggregator() method AddTransientDefinedAggregator (line 39) | IOcelotBuilder AddTransientDefinedAggregator() method AddCustomLoadBalancer (line 42) | IOcelotBuilder AddCustomLoadBalancer() method AddCustomLoadBalancer (line 45) | IOcelotBuilder AddCustomLoadBalancer(Func loadBalancerFactoryFunc) method AddCustomLoadBalancer (line 48) | IOcelotBuilder AddCustomLoadBalancer(Func load... method AddCustomLoadBalancer (line 51) | IOcelotBuilder AddCustomLoadBalancer( method AddCustomLoadBalancer (line 55) | IOcelotBuilder AddCustomLoadBalancer( method AddConfigPlaceholders (line 59) | IOcelotBuilder AddConfigPlaceholders(); FILE: src/Ocelot/DependencyInjection/MergeOcelotJson.cs type MergeOcelotJson (line 3) | public enum MergeOcelotJson FILE: src/Ocelot/DependencyInjection/OcelotBuilder.cs class OcelotBuilder (line 44) | public class OcelotBuilder : IOcelotBuilder method OcelotBuilder (line 50) | public OcelotBuilder(IServiceCollection services, IConfiguration confi... method AddDefaultAspNetServices (line 170) | protected IMvcCoreBuilder AddDefaultAspNetServices(IMvcCoreBuilder bui... method AddSingletonDefinedAggregator (line 183) | public IOcelotBuilder AddSingletonDefinedAggregator() method AddTransientDefinedAggregator (line 190) | public IOcelotBuilder AddTransientDefinedAggregator() method AddCustomLoadBalancer (line 197) | public IOcelotBuilder AddCustomLoadBalancer() method AddCustomLoadBalancer (line 205) | public IOcelotBuilder AddCustomLoadBalancer(Func(Func(Func(Func(bool global = false) method AddConfigPlaceholders (line 301) | public IOcelotBuilder AddConfigPlaceholders() method CreateInstance (line 324) | private static object CreateInstance(IServiceProvider provider, Servic... FILE: src/Ocelot/DependencyInjection/ServiceCollectionExtensions.cs class ServiceCollectionExtensions (line 9) | public static class ServiceCollectionExtensions method AddOcelot (line 21) | public static IOcelotBuilder AddOcelot(this IServiceCollection services) method AddOcelot (line 36) | public static IOcelotBuilder AddOcelot(this IServiceCollection service... method AddOcelotUsingBuilder (line 52) | [Obsolete("Use AddOcelotUsingBuilder() overloaded version with the 'IC... method AddOcelotUsingBuilder (line 69) | public static IOcelotBuilder AddOcelotUsingBuilder(this IServiceCollec... method DefaultConfiguration (line 75) | private static IConfiguration DefaultConfiguration(IWebHostEnvironment... method FindConfiguration (line 78) | private static IConfiguration FindConfiguration(this IServiceCollectio... FILE: src/Ocelot/DownstreamPathManipulation/ChangeDownstreamPathTemplate.cs class ChangeDownstreamPathTemplate (line 11) | public class ChangeDownstreamPathTemplate : IChangeDownstreamPathTemplate method ChangeDownstreamPathTemplate (line 15) | public ChangeDownstreamPathTemplate(IClaimsParser claimsParser) method ChangeDownstreamPath (line 20) | public Response ChangeDownstreamPath(List claimsToThings... FILE: src/Ocelot/DownstreamPathManipulation/IChangeDownstreamPathTemplate.cs type IChangeDownstreamPathTemplate (line 9) | public interface IChangeDownstreamPathTemplate method ChangeDownstreamPath (line 11) | Response ChangeDownstreamPath(List claimsToThings, IEnum... FILE: src/Ocelot/DownstreamPathManipulation/Middleware/ClaimsToDownstreamPathMiddleware.cs class ClaimsToDownstreamPathMiddleware (line 8) | public class ClaimsToDownstreamPathMiddleware : OcelotMiddleware method ClaimsToDownstreamPathMiddleware (line 13) | public ClaimsToDownstreamPathMiddleware(RequestDelegate next, method Invoke (line 22) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/DownstreamRouteFinder/DownstreamRouteHolder.cs class DownstreamRouteHolder (line 6) | public class DownstreamRouteHolder method DownstreamRouteHolder (line 8) | public DownstreamRouteHolder() method DownstreamRouteHolder (line 12) | public DownstreamRouteHolder(List templatePla... FILE: src/Ocelot/DownstreamRouteFinder/Finder/DiscoveryDownstreamRouteFinder.cs class DiscoveryDownstreamRouteFinder (line 12) | public class DiscoveryDownstreamRouteFinder : IDownstreamRouteProvider method DiscoveryDownstreamRouteFinder (line 22) | public DiscoveryDownstreamRouteFinder( method Get (line 31) | public Response Get(string upstreamUrlPath, str... method GetDownstreamPath (line 103) | private static string GetDownstreamPath(string upstreamUrlPath) method GetServiceName (line 117) | protected virtual string GetServiceName(string upstreamUrlPath, out st... FILE: src/Ocelot/DownstreamRouteFinder/Finder/DownstreamRouteFinder.cs class DownstreamRouteFinder (line 9) | public class DownstreamRouteFinder : IDownstreamRouteProvider method DownstreamRouteFinder (line 16) | public DownstreamRouteFinder( method Get (line 28) | public Response Get(string upstreamUrlPath, str... method RouteIsApplicableToThisRequest (line 57) | private static bool RouteIsApplicableToThisRequest(Route route, string... method GetPlaceholderNamesAndValues (line 65) | private DownstreamRouteHolder GetPlaceholderNamesAndValues(string path... FILE: src/Ocelot/DownstreamRouteFinder/Finder/DownstreamRouteProviderFactory.cs class DownstreamRouteProviderFactory (line 7) | public class DownstreamRouteProviderFactory : IDownstreamRouteProviderFa... method DownstreamRouteProviderFactory (line 12) | public DownstreamRouteProviderFactory(IServiceProvider provider, IOcel... method Get (line 18) | public IDownstreamRouteProvider Get(IInternalConfiguration config) method IsServiceDiscovery (line 32) | private static bool IsServiceDiscovery(ServiceProviderConfiguration co... FILE: src/Ocelot/DownstreamRouteFinder/Finder/IDownstreamRouteProvider.cs type IDownstreamRouteProvider (line 7) | public interface IDownstreamRouteProvider method Get (line 9) | Response Get(string upstreamUrlPath, string ups... FILE: src/Ocelot/DownstreamRouteFinder/Finder/IDownstreamRouteProviderFactory.cs type IDownstreamRouteProviderFactory (line 5) | public interface IDownstreamRouteProviderFactory method Get (line 7) | IDownstreamRouteProvider Get(IInternalConfiguration config); FILE: src/Ocelot/DownstreamRouteFinder/Finder/UnableToFindDownstreamRouteError.cs class UnableToFindDownstreamRouteError (line 6) | public class UnableToFindDownstreamRouteError : Error method UnableToFindDownstreamRouteError (line 8) | public UnableToFindDownstreamRouteError(string path, string httpVerb) FILE: src/Ocelot/DownstreamRouteFinder/HeaderMatcher/HeaderPlaceholderNameAndValueFinder.cs class HeaderPlaceholderNameAndValueFinder (line 7) | public class HeaderPlaceholderNameAndValueFinder : IHeaderPlaceholderNam... method Find (line 9) | public IList Find(IHeaderDictionary upstreamH... FILE: src/Ocelot/DownstreamRouteFinder/HeaderMatcher/HeadersToHeaderTemplatesMatcher.cs class HeadersToHeaderTemplatesMatcher (line 7) | public class HeadersToHeaderTemplatesMatcher : IHeadersToHeaderTemplates... method Match (line 9) | public bool Match(IHeaderDictionary upstreamHeaders, IDictionary Find(IHeaderDictionary upstreamHeaders,... FILE: src/Ocelot/DownstreamRouteFinder/HeaderMatcher/IHeadersToHeaderTemplatesMatcher.cs type IHeadersToHeaderTemplatesMatcher (line 9) | public interface IHeadersToHeaderTemplatesMatcher method Match (line 11) | bool Match(IHeaderDictionary upstreamHeaders, IDictionary> Find(string path, string query... FILE: src/Ocelot/DownstreamRouteFinder/UrlMatcher/IUrlPathToUrlTemplateMatcher.cs type IUrlPathToUrlTemplateMatcher (line 5) | public interface IUrlPathToUrlTemplateMatcher method Match (line 7) | UrlMatch Match(string upstreamUrlPath, string upstreamQueryString, Ups... FILE: src/Ocelot/DownstreamRouteFinder/UrlMatcher/PlaceholderNameAndValue.cs class PlaceholderNameAndValue (line 5) | public class PlaceholderNameAndValue method PlaceholderNameAndValue (line 10) | public PlaceholderNameAndValue(string name, string value) method ToString (line 20) | public override string ToString() => $"[{Name}={Value}]"; FILE: src/Ocelot/DownstreamRouteFinder/UrlMatcher/RegExUrlMatcher.cs class RegExUrlMatcher (line 5) | public class RegExUrlMatcher : IUrlPathToUrlTemplateMatcher method Match (line 7) | public UrlMatch Match(string upstreamUrlPath, string upstreamQueryStri... FILE: src/Ocelot/DownstreamRouteFinder/UrlMatcher/UrlMatch.cs class UrlMatch (line 3) | public class UrlMatch method UrlMatch (line 5) | public UrlMatch(bool match) FILE: src/Ocelot/DownstreamRouteFinder/UrlMatcher/UrlPathPlaceholderNameAndValueFinder.cs class UrlPathPlaceholderNameAndValueFinder (line 9) | public partial class UrlPathPlaceholderNameAndValueFinder : IPlaceholder... method Find (line 27) | public Response> Find(string path, strin... method RegexPlaceholders (line 46) | [GeneratedRegex(@"\{(.*?)\}", RegexOptions.None, PlaceholdersMilliseco... method FindGroups (line 62) | private static List FindGroups(string path, string query, strin... method GenerateRegexPattern (line 86) | private static string GenerateRegexPattern(string escapedTemplate) method RegexCatchAllQuery (line 105) | [GeneratedRegex(@"^[^{{}}]*\?\{(.*?)\}$", RegexOptions.None, CatchAllQ... method IsCatchAllQuery (line 114) | private static (bool IsMatch, string Placeholder) IsCatchAllQuery(stri... method RegexCatchAllPath (line 122) | [GeneratedRegex(@"^[^{{}}]*\{(.*?)\}/?$", RegexOptions.None, CatchAllP... method IsCatchAllPath (line 130) | private static bool IsCatchAllPath(string template) => RegexCatchAllPa... method ShouldSkipQuery (line 139) | private static bool ShouldSkipQuery(string query, string template) => ... method EscapeExceptBraces (line 144) | private static string EscapeExceptBraces(string input) FILE: src/Ocelot/DownstreamUrlCreator/DownstreamPathPlaceholderReplacer.cs class DownstreamPathPlaceholderReplacer (line 9) | public class DownstreamPathPlaceholderReplacer : IDownstreamPathPlacehol... method Replace (line 11) | public DownstreamPath Replace(string downstreamPathTemplate, List GetPath(ReadOnlySpan downstr... method GetQueryString (line 148) | protected static ReadOnlySpan GetQueryString(ReadOnlySpan ... method CreateServiceFabricUri (line 156) | protected (string Path, string Query) CreateServiceFabricUri(Downstrea... method ServiceFabricRequest (line 164) | protected static bool ServiceFabricRequest(IInternalConfiguration conf... FILE: src/Ocelot/DownstreamUrlCreator/IDownstreamPathPlaceholderReplacer.cs type IDownstreamPathPlaceholderReplacer (line 6) | public interface IDownstreamPathPlaceholderReplacer method Replace (line 8) | DownstreamPath Replace(string downstreamPathTemplate, List $"{Code}: {Message}"; FILE: src/Ocelot/Errors/Middleware/ExceptionHandlerMiddleware.cs class ExceptionHandlerMiddleware (line 13) | public class ExceptionHandlerMiddleware : OcelotMiddleware method ExceptionHandlerMiddleware (line 18) | public ExceptionHandlerMiddleware(RequestDelegate next, method Invoke (line 27) | public async Task Invoke(HttpContext context) method TrySetGlobalRequestId (line 63) | private void TrySetGlobalRequestId(HttpContext context, IInternalConfi... method CreateMessage (line 74) | private static string CreateMessage(HttpContext context, Exception e, ... FILE: src/Ocelot/Errors/OcelotErrorCode.cs type OcelotErrorCode (line 3) | public enum OcelotErrorCode FILE: src/Ocelot/Errors/RequestTimedOutError.cs class RequestTimedOutError (line 5) | public class RequestTimedOutError : Error method RequestTimedOutError (line 7) | public RequestTimedOutError(Exception exception) FILE: src/Ocelot/Headers/AddHeadersToRequest.cs class AddHeadersToRequest (line 13) | public class AddHeadersToRequest : IAddHeadersToRequest method AddHeadersToRequest (line 19) | public AddHeadersToRequest(IClaimsParser claimsParser, IPlaceholders p... method SetHeadersOnDownstreamRequest (line 26) | public Response SetHeadersOnDownstreamRequest(List claim... method SetHeadersOnDownstreamRequest (line 50) | public void SetHeadersOnDownstreamRequest(IEnumerable heade... FILE: src/Ocelot/Headers/AddHeadersToResponse.cs class AddHeadersToResponse (line 8) | public class AddHeadersToResponse : IAddHeadersToResponse method AddHeadersToResponse (line 13) | public AddHeadersToResponse(IPlaceholders placeholders, IOcelotLoggerF... method Add (line 19) | public void Add(List addHeaders, DownstreamResponse response) FILE: src/Ocelot/Headers/HttpContextRequestHeaderReplacer.cs class HttpContextRequestHeaderReplacer (line 7) | public class HttpContextRequestHeaderReplacer : IHttpContextRequestHeade... method Replace (line 9) | public Response Replace(HttpContext context, List claimsToThin... method SetHeadersOnDownstreamRequest (line 13) | void SetHeadersOnDownstreamRequest(IEnumerable headers, Htt... FILE: src/Ocelot/Headers/IAddHeadersToResponse.cs type IAddHeadersToResponse (line 6) | public interface IAddHeadersToResponse method Add (line 8) | void Add(List addHeaders, DownstreamResponse response); FILE: src/Ocelot/Headers/IHttpContextRequestHeaderReplacer.cs type IHttpContextRequestHeaderReplacer (line 7) | public interface IHttpContextRequestHeaderReplacer method Replace (line 9) | Response Replace(HttpContext context, List fAndRs); FILE: src/Ocelot/Headers/IHttpResponseHeaderReplacer.cs type IHttpResponseHeaderReplacer (line 7) | public interface IHttpResponseHeaderReplacer method Replace (line 9) | public Response Replace(HttpContext httpContext, List headers); FILE: src/Ocelot/Headers/Middleware/ClaimsToHeadersMiddleware.cs class ClaimsToHeadersMiddleware (line 7) | public class ClaimsToHeadersMiddleware : OcelotMiddleware method ClaimsToHeadersMiddleware (line 12) | public ClaimsToHeadersMiddleware(RequestDelegate next, method Invoke (line 21) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/Headers/Middleware/HttpHeadersTransformationMiddleware.cs class HttpHeadersTransformationMiddleware (line 7) | public class HttpHeadersTransformationMiddleware : OcelotMiddleware method HttpHeadersTransformationMiddleware (line 15) | public HttpHeadersTransformationMiddleware(RequestDelegate next, method Invoke (line 31) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/Headers/RemoveOutputHeaders.cs class RemoveOutputHeaders (line 6) | public class RemoveOutputHeaders : IRemoveOutputHeaders method Remove (line 18) | public Response Remove(List
headers) FILE: src/Ocelot/Infrastructure/CannotAddPlaceholderError.cs class CannotAddPlaceholderError (line 5) | public class CannotAddPlaceholderError : Error method CannotAddPlaceholderError (line 7) | public CannotAddPlaceholderError(string message) FILE: src/Ocelot/Infrastructure/CannotRemovePlaceholderError.cs class CannotRemovePlaceholderError (line 5) | public class CannotRemovePlaceholderError : Error method CannotRemovePlaceholderError (line 7) | public CannotRemovePlaceholderError(string message) FILE: src/Ocelot/Infrastructure/Claims/CannotFindClaimError.cs class CannotFindClaimError (line 5) | public class CannotFindClaimError : Error method CannotFindClaimError (line 7) | public CannotFindClaimError(string message) FILE: src/Ocelot/Infrastructure/Claims/ClaimsParser.cs class ClaimsParser (line 7) | public class ClaimsParser : IClaimsParser method GetValue (line 9) | public Response GetValue(IEnumerable claims, string key... method GetValuesByClaimType (line 35) | public Response> GetValuesByClaimType(IEnumerable ... method GetValue (line 44) | private static Response GetValue(IEnumerable claims, st... FILE: src/Ocelot/Infrastructure/Claims/IClaimsParser.cs type IClaimsParser (line 6) | public interface IClaimsParser method GetValue (line 8) | Response GetValue(IEnumerable claims, string key, strin... method GetValuesByClaimType (line 10) | Response> GetValuesByClaimType(IEnumerable claims,... FILE: src/Ocelot/Infrastructure/ConfigAwarePlaceholders.cs class ConfigAwarePlaceholders (line 10) | public partial class ConfigAwarePlaceholders : IPlaceholders method ConfigAwarePlaceholders (line 15) | public ConfigAwarePlaceholders(IConfiguration configuration, IPlacehol... method Get (line 21) | public Response Get(string key) method Get (line 33) | public Response Get(string key, DownstreamRequest request) method Add (line 45) | public Response Add(string key, Func> func) method Remove (line 48) | public Response Remove(string key) method Regex (line 51) | [GeneratedRegex(@"[{}]", RegexOptions.None, RegexGlobal.DefaultMatchTi... method CleanKey (line 54) | private static string CleanKey(string key) method GetFromConfig (line 57) | private Response GetFromConfig(string key) FILE: src/Ocelot/Infrastructure/CouldNotFindPlaceholderError.cs class CouldNotFindPlaceholderError (line 5) | public class CouldNotFindPlaceholderError : Error method CouldNotFindPlaceholderError (line 7) | public CouldNotFindPlaceholderError(string placeholder) FILE: src/Ocelot/Infrastructure/DelayedMessage.cs class DelayedMessage (line 3) | internal class DelayedMessage method DelayedMessage (line 5) | public DelayedMessage(T message, int delay) FILE: src/Ocelot/Infrastructure/DesignPatterns/Retry.cs class Retry (line 13) | public static class Retry method GetMessage (line 18) | private static string GetMessage(T operation, int retryNo, string m... method Operation (line 32) | public static TResult Operation( method OperationAsync (line 84) | public static async Task OperationAsync( FILE: src/Ocelot/Infrastructure/Extensions/ErrorListExtensions.cs class ErrorListExtensions (line 5) | public static class ErrorListExtensions method ToErrorString (line 17) | public static string ToErrorString(this List errors, bool befor... FILE: src/Ocelot/Infrastructure/Extensions/HttpContextExtensions.cs class HttpContextExtensions (line 5) | public static class HttpContextExtensions method IsOptionsMethod (line 7) | public static bool IsOptionsMethod(this HttpContext context) FILE: src/Ocelot/Infrastructure/Extensions/HttpRequestExtensions.cs class HttpRequestExtensions (line 5) | public static class HttpRequestExtensions method IsOptionsMethod (line 7) | public static bool IsOptionsMethod(this HttpRequest request) FILE: src/Ocelot/Infrastructure/Extensions/IEnumerableExtensions.cs class IEnumerableExtensions (line 3) | public static class IEnumerableExtensions method ToHttpMethods (line 16) | public static HashSet ToHttpMethods(this IEnumerable(this IEnumerable values) method NotNull (line 31) | public static IEnumerable NotNull(this IEnumerable collection) FILE: src/Ocelot/Infrastructure/Extensions/Int32Extensions.cs class Int32Extensions (line 3) | public static class Int32Extensions method Ensure (line 5) | public static int Ensure(this int value, int low = 0) method Positive (line 8) | public static int Positive(this int value) method Positive (line 17) | public static int? Positive(this int? value, int toDefault = 1) FILE: src/Ocelot/Infrastructure/Extensions/StringBuilderExtensions.cs class StringBuilderExtensions (line 3) | public static class StringBuilderExtensions method AppendNext (line 11) | public static StringBuilder AppendNext(this StringBuilder builder, str... FILE: src/Ocelot/Infrastructure/Extensions/StringExtensions.cs class StringExtensions (line 3) | public static class StringExtensions method IsEmpty (line 9) | public static bool IsEmpty(this string str) => string.IsNullOrWhiteSpa... method IsNotEmpty (line 10) | public static bool IsNotEmpty(this string str) => !string.IsNullOrWhit... method IfEmpty (line 17) | public static string IfEmpty(this string str, string def) => string.Is... method TrimPrefix (line 24) | public static string TrimPrefix(this string source, string prefix, Str... method LastCharAsForwardSlash (line 45) | public static string LastCharAsForwardSlash(this string source) method Plural (line 48) | public static string Plural(this int count) => count == 1 ? string.Emp... method Plural (line 49) | public static string Plural(this string source, int count) => count ==... FILE: src/Ocelot/Infrastructure/FrameworkDescription.cs class FrameworkDescription (line 5) | public class FrameworkDescription : IFrameworkDescription method Get (line 7) | public string Get() FILE: src/Ocelot/Infrastructure/IBus.cs type IBus (line 3) | public interface IBus method Subscribe (line 5) | void Subscribe(Action action); method Publish (line 7) | void Publish(T message, int delay); FILE: src/Ocelot/Infrastructure/IFrameworkDescription.cs type IFrameworkDescription (line 3) | public interface IFrameworkDescription method Get (line 5) | string Get(); FILE: src/Ocelot/Infrastructure/IPlaceholders.cs type IPlaceholders (line 6) | public interface IPlaceholders method Get (line 8) | Response Get(string key); method Get (line 10) | Response Get(string key, DownstreamRequest request); method Add (line 12) | Response Add(string key, Func> func); method Remove (line 14) | Response Remove(string key); FILE: src/Ocelot/Infrastructure/InMemoryBus.cs class InMemoryBus (line 3) | public class InMemoryBus : IBus method InMemoryBus (line 9) | public InMemoryBus() method Subscribe (line 17) | public void Subscribe(Action action) method Publish (line 22) | public void Publish(T message, int delay) method Process (line 28) | private async Task Process() FILE: src/Ocelot/Infrastructure/Placeholders.cs class Placeholders (line 11) | public class Placeholders : IPlaceholders method Placeholders (line 22) | public Placeholders(IBaseUrlFinder finder, IRequestScopedDataRepositor... method Get (line 41) | public Response Get(string key) method Get (line 55) | public Response Get(string key, DownstreamRequest request) method Add (line 62) | public Response Add(string key, Func> func) method Remove (line 69) | public Response Remove(string key) method GetRemoteIpAddress (line 80) | private Response GetRemoteIpAddress() method GetDownstreamBaseUrl (line 97) | private static string GetDownstreamBaseUrl(DownstreamRequest x) method GetTraceId (line 108) | private Response GetTraceId() method GetBaseUrl (line 116) | private Response GetBaseUrl() => new OkResponse(_finde... method GetUpstreamHost (line 118) | private Response GetUpstreamHost() FILE: src/Ocelot/Infrastructure/RegexGlobal.cs class RegexGlobal (line 5) | public static class RegexGlobal method RegexGlobal (line 7) | static RegexGlobal() method New (line 37) | public static Regex New(string pattern) method New (line 39) | public static Regex New(string pattern, RegexOptions options) method New (line 41) | public static Regex New(string pattern, RegexOptions options, TimeSpan... FILE: src/Ocelot/Infrastructure/RequestData/CannotAddDataError.cs class CannotAddDataError (line 5) | public class CannotAddDataError : Error method CannotAddDataError (line 7) | public CannotAddDataError(string message) : base(message, OcelotErrorC... FILE: src/Ocelot/Infrastructure/RequestData/CannotFindDataError.cs class CannotFindDataError (line 5) | public class CannotFindDataError : Error method CannotFindDataError (line 7) | public CannotFindDataError(string message) : base(message, OcelotError... FILE: src/Ocelot/Infrastructure/RequestData/HttpDataRepository.cs class HttpDataRepository (line 6) | public class HttpDataRepository : IRequestScopedDataRepository method HttpDataRepository (line 10) | public HttpDataRepository(IHttpContextAccessor contextAccessor) method Add (line 15) | public Response Add(string key, T value) method Update (line 28) | public Response Update(string key, T value) method Get (line 41) | public Response Get(string key) FILE: src/Ocelot/Infrastructure/RequestData/IRequestScopedDataRepository.cs type IRequestScopedDataRepository (line 5) | public interface IRequestScopedDataRepository method Add (line 7) | Response Add(string key, T value); method Update (line 9) | Response Update(string key, T value); method Get (line 11) | Response Get(string key); FILE: src/Ocelot/LoadBalancer/Balancers/CookieStickySessions.cs class CookieStickySessions (line 10) | public class CookieStickySessions : ILoadBalancer method CookieStickySessions (line 23) | static CookieStickySessions() method CookieStickySessions (line 47) | public CookieStickySessions(ILoadBalancer loadBalancer, string cookieN... method CheckExpiry (line 56) | private void CheckExpiry(StickySession sticky) method LeaseAsync (line 71) | public Task> LeaseAsync(HttpContext httpC... method Update (line 99) | protected void Update(string key, StickySession value) method Release (line 108) | public void Release(ServiceHostAndPort hostAndPort) FILE: src/Ocelot/LoadBalancer/Balancers/LeastConnection.cs class LeastConnection (line 9) | public class LeastConnection : ILoadBalancer method LeastConnection (line 22) | public LeastConnection(Func>> services, string serv... method OnLeased (line 30) | protected virtual void OnLeased(LeaseEventArgs e) => Leased?.Invoke(th... method LeaseAsync (line 32) | public async Task> LeaseAsync(HttpContext... method Release (line 55) | public void Release(ServiceHostAndPort hostAndPort) method Update (line 67) | private int Update(ref Lease item, bool increase) method GetLeaseWithLeastConnections (line 75) | private Lease GetLeaseWithLeastConnections() method UpdateLeasing (line 81) | private void UpdateLeasing(List services) FILE: src/Ocelot/LoadBalancer/Balancers/NoLoadBalancer.cs class NoLoadBalancer (line 9) | public class NoLoadBalancer : ILoadBalancer method NoLoadBalancer (line 13) | public NoLoadBalancer(Func>> services) method LeaseAsync (line 20) | public async Task> LeaseAsync(HttpContext... method Release (line 33) | public void Release(ServiceHostAndPort hostAndPort) FILE: src/Ocelot/LoadBalancer/Balancers/RoundRobin.cs class RoundRobin (line 9) | public class RoundRobin : ILoadBalancer method RoundRobin (line 17) | public RoundRobin(Func>> services, string serviceName) method OnLeased (line 33) | protected virtual void OnLeased(LeaseEventArgs e) => Leased?.Invoke(th... method LeaseAsync (line 35) | public virtual async Task> LeaseAsync(Htt... method Release (line 56) | public virtual void Release(ServiceHostAndPort hostAndPort) { } method CaptureState (line 62) | private static Service[] CaptureState(List services, out int ... method TryScanNext (line 76) | private bool TryScanNext(Service[] readme, out Service next, out int i... method ProcessLeasing (line 100) | private void ProcessLeasing(Service[] readme, Service next, int index) method Update (line 108) | private int Update(ref Lease item, bool increase) method GetLease (line 116) | private Lease GetLease(Service @for) => _leasing.Find(l => l == @for.H... method UpdateLeasing (line 118) | private void UpdateLeasing(IList services) FILE: src/Ocelot/LoadBalancer/Creators/CookieStickySessionsCreator.cs class CookieStickySessionsCreator (line 10) | public class CookieStickySessionsCreator : ILoadBalancerCreator method Create (line 12) | public Response Create(DownstreamRoute route, IServiceD... FILE: src/Ocelot/LoadBalancer/Creators/DelegateInvokingLoadBalancerCreator.cs class DelegateInvokingLoadBalancerCreator (line 9) | public class DelegateInvokingLoadBalancerCreator : ILoadBalancerCreator method DelegateInvokingLoadBalancerCreator (line 14) | public DelegateInvokingLoadBalancerCreator( method Create (line 20) | public Response Create(DownstreamRoute route, IServiceD... FILE: src/Ocelot/LoadBalancer/Creators/LeastConnectionCreator.cs class LeastConnectionCreator (line 9) | public class LeastConnectionCreator : ILoadBalancerCreator method Create (line 11) | public Response Create(DownstreamRoute route, IServiceD... FILE: src/Ocelot/LoadBalancer/Creators/NoLoadBalancerCreator.cs class NoLoadBalancerCreator (line 9) | public class NoLoadBalancerCreator : ILoadBalancerCreator method Create (line 11) | public Response Create(DownstreamRoute route, IServiceD... FILE: src/Ocelot/LoadBalancer/Creators/RoundRobinCreator.cs class RoundRobinCreator (line 9) | public class RoundRobinCreator : ILoadBalancerCreator method Create (line 11) | public Response Create(DownstreamRoute route, IServiceD... FILE: src/Ocelot/LoadBalancer/Errors/CouldNotFindLoadBalancerCreatorError.cs class CouldNotFindLoadBalancerCreatorError (line 6) | public class CouldNotFindLoadBalancerCreatorError : Error method CouldNotFindLoadBalancerCreatorError (line 8) | public CouldNotFindLoadBalancerCreatorError(string message) FILE: src/Ocelot/LoadBalancer/Errors/InvokingLoadBalancerCreatorError.cs class InvokingLoadBalancerCreatorError (line 6) | public class InvokingLoadBalancerCreatorError : Error method InvokingLoadBalancerCreatorError (line 8) | public InvokingLoadBalancerCreatorError(Exception e) FILE: src/Ocelot/LoadBalancer/Errors/ServicesAreEmptyError.cs class ServicesAreEmptyError (line 6) | public class ServicesAreEmptyError : Error method ServicesAreEmptyError (line 8) | public ServicesAreEmptyError(string message) FILE: src/Ocelot/LoadBalancer/Errors/ServicesAreNullError.cs class ServicesAreNullError (line 6) | public class ServicesAreNullError : Error method ServicesAreNullError (line 8) | public ServicesAreNullError(string message) FILE: src/Ocelot/LoadBalancer/Errors/UnableToFindLoadBalancerError.cs class UnableToFindLoadBalancerError (line 6) | public class UnableToFindLoadBalancerError : Error method UnableToFindLoadBalancerError (line 8) | public UnableToFindLoadBalancerError(string message) FILE: src/Ocelot/LoadBalancer/Interfaces/ILoadBalancer.cs type ILoadBalancer (line 9) | public interface ILoadBalancer method LeaseAsync (line 11) | Task> LeaseAsync(HttpContext httpContext); method Release (line 13) | void Release(ServiceHostAndPort hostAndPort); FILE: src/Ocelot/LoadBalancer/Interfaces/ILoadBalancerCreator.cs type ILoadBalancerCreator (line 7) | public interface ILoadBalancerCreator method Create (line 9) | Response Create(DownstreamRoute route, IServiceDiscover... FILE: src/Ocelot/LoadBalancer/Interfaces/ILoadBalancerFactory.cs type ILoadBalancerFactory (line 6) | public interface ILoadBalancerFactory method Get (line 8) | Response Get(DownstreamRoute route, ServiceProviderConf... FILE: src/Ocelot/LoadBalancer/Interfaces/ILoadBalancerHouse.cs type ILoadBalancerHouse (line 6) | public interface ILoadBalancerHouse method Get (line 8) | Response Get(DownstreamRoute route, ServiceProviderConf... FILE: src/Ocelot/LoadBalancer/Lease.cs type Lease (line 5) | public struct Lease : IEquatable method Lease (line 7) | public Lease() method Lease (line 13) | public Lease(Lease from) method Lease (line 19) | public Lease(ServiceHostAndPort hostAndPort) method Lease (line 25) | public Lease(ServiceHostAndPort hostAndPort, int connections) method ToString (line 36) | public override readonly string ToString() => $"({HostAndPort}+{Connec... method GetHashCode (line 37) | public override readonly int GetHashCode() => HostAndPort.GetHashCode(); method Equals (line 38) | public override readonly bool Equals(object obj) => obj is Lease l && ... method Equals (line 39) | public readonly bool Equals(Lease other) => this == other; FILE: src/Ocelot/LoadBalancer/LeaseEventArgs.cs class LeaseEventArgs (line 5) | public class LeaseEventArgs : EventArgs method LeaseEventArgs (line 7) | public LeaseEventArgs(Lease lease, Service service, int serviceIndex) FILE: src/Ocelot/LoadBalancer/LoadBalancerFactory.cs class LoadBalancerFactory (line 10) | public class LoadBalancerFactory : ILoadBalancerFactory method LoadBalancerFactory (line 15) | public LoadBalancerFactory(IServiceDiscoveryProviderFactory servicePro... method Get (line 21) | public Response Get(DownstreamRoute route, ServiceProvi... FILE: src/Ocelot/LoadBalancer/LoadBalancerHouse.cs class LoadBalancerHouse (line 8) | public class LoadBalancerHouse : ILoadBalancerHouse method LoadBalancerHouse (line 18) | public LoadBalancerHouse(ILoadBalancerFactory factory) method Get (line 24) | public Response Get(DownstreamRoute route, ServiceProvi... method GetResponse (line 43) | private Response GetResponse(DownstreamRoute route, Ser... FILE: src/Ocelot/LoadBalancer/LoadBalancingMiddleware.cs class LoadBalancingMiddleware (line 8) | public class LoadBalancingMiddleware : OcelotMiddleware method LoadBalancingMiddleware (line 13) | public LoadBalancingMiddleware(RequestDelegate next, method Invoke (line 22) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/LoadBalancer/StickySession.cs class StickySession (line 5) | public class StickySession method StickySession (line 7) | public StickySession(ServiceHostAndPort hostAndPort, DateTime expiry, ... FILE: src/Ocelot/Logging/IOcelotLogger.cs type IOcelotLogger (line 9) | public interface IOcelotLogger : IDisposable method LogTrace (line 11) | void LogTrace(string message); method LogTrace (line 12) | void LogTrace(Func messageFactory); method LogDebug (line 14) | void LogDebug(string message); method LogDebug (line 15) | void LogDebug(Func messageFactory); method LogInformation (line 17) | void LogInformation(string message); method LogInformation (line 18) | void LogInformation(Func messageFactory); method LogWarning (line 20) | void LogWarning(string message); method LogWarning (line 21) | void LogWarning(Func messageFactory); method LogError (line 23) | void LogError(string message, Exception exception); method LogError (line 24) | void LogError(Func messageFactory, Exception exception); method LogCritical (line 26) | void LogCritical(string message, Exception exception); method LogCritical (line 27) | void LogCritical(Func messageFactory, Exception exception); FILE: src/Ocelot/Logging/IOcelotLoggerFactory.cs type IOcelotLoggerFactory (line 3) | public interface IOcelotLoggerFactory : IDisposable method CreateLogger (line 5) | IOcelotLogger CreateLogger(); FILE: src/Ocelot/Logging/IOcelotTracer.cs type IOcelotTracer (line 5) | public interface IOcelotTracer method Event (line 7) | void Event(HttpContext httpContext, string @event); method SendAsync (line 9) | Task SendAsync(HttpRequestMessage request, FILE: src/Ocelot/Logging/ITracingHandler.cs type ITracingHandler (line 3) | public interface ITracingHandler FILE: src/Ocelot/Logging/ITracingHandlerFactory.cs type ITracingHandlerFactory (line 3) | public interface ITracingHandlerFactory method Get (line 5) | ITracingHandler Get(); FILE: src/Ocelot/Logging/OcelotDiagnosticListener.cs class OcelotDiagnosticListener (line 7) | public class OcelotDiagnosticListener method OcelotDiagnosticListener (line 12) | public OcelotDiagnosticListener(IOcelotLoggerFactory factory, IService... method OnMiddlewareStarting (line 18) | [DiagnosticName("Microsoft.AspNetCore.MiddlewareAnalysis.MiddlewareSta... method OnMiddlewareException (line 25) | [DiagnosticName("Microsoft.AspNetCore.MiddlewareAnalysis.MiddlewareExc... method OnMiddlewareFinished (line 31) | [DiagnosticName("Microsoft.AspNetCore.MiddlewareAnalysis.MiddlewareFin... method Event (line 38) | protected virtual void Event(HttpContext httpContext, string @event) FILE: src/Ocelot/Logging/OcelotHttpTracingHandler.cs class OcelotHttpTracingHandler (line 5) | public class OcelotHttpTracingHandler : DelegatingHandler, ITracingHandler method OcelotHttpTracingHandler (line 12) | public OcelotHttpTracingHandler( method SendAsync (line 22) | protected override Task SendAsync(HttpRequestMess... method AddTraceId (line 25) | protected virtual void AddTraceId(string id) FILE: src/Ocelot/Logging/OcelotLogger.cs class OcelotLogger (line 10) | public class OcelotLogger : IOcelotLogger, IDisposable method OcelotLogger (line 27) | public OcelotLogger(ILogger logger, IRequestScopedDataRepository scope... method LogTrace (line 33) | public void LogTrace(string message) => WriteLog(LogLevel.Trace, messa... method LogTrace (line 34) | public void LogTrace(Func messageFactory) => WriteLog(LogLevel... method LogDebug (line 36) | public void LogDebug(string message) => WriteLog(LogLevel.Debug, messa... method LogDebug (line 37) | public void LogDebug(Func messageFactory) => WriteLog(LogLevel... method LogInformation (line 39) | public void LogInformation(string message) => WriteLog(LogLevel.Inform... method LogInformation (line 40) | public void LogInformation(Func messageFactory) => WriteLog(Lo... method LogWarning (line 42) | public void LogWarning(string message) => WriteLog(LogLevel.Warning, m... method LogWarning (line 43) | public void LogWarning(Func messageFactory) => WriteLog(LogLev... method LogError (line 45) | public void LogError(string message, Exception exception) => WriteLog(... method LogError (line 46) | public void LogError(Func messageFactory, Exception exception)... method LogCritical (line 48) | public void LogCritical(string message, Exception exception) => WriteL... method LogCritical (line 49) | public void LogCritical(Func messageFactory, Exception excepti... method GetOcelotRequestId (line 51) | private string GetOcelotRequestId() method GetOcelotPreviousRequestId (line 57) | private string GetOcelotPreviousRequestId() method WriteLog (line 63) | private void WriteLog(LogLevel logLevel, string message, Exception exc... method WriteLog (line 68) | private void WriteLog(LogLevel logLevel, Func messageFactory, ... method WriteLog (line 73) | private void WriteLog(LogLevel logLevel, Func messageFactory, ... method NoFormatter (line 99) | public static string NoFormatter(string state, Exception e) => state; method ExceptionFormatter (line 100) | public static string ExceptionFormatter(string state, Exception e) method Dispose (line 103) | protected virtual void Dispose(bool disposing) method Dispose (line 115) | public void Dispose() FILE: src/Ocelot/Logging/OcelotLoggerFactory.cs class OcelotLoggerFactory (line 6) | public class OcelotLoggerFactory : IOcelotLoggerFactory, IDisposable method OcelotLoggerFactory (line 12) | public OcelotLoggerFactory(ILoggerFactory loggerFactory, IRequestScope... method CreateLogger (line 18) | public IOcelotLogger CreateLogger() method Dispose (line 25) | public void Dispose() method Dispose (line 31) | protected virtual void Dispose(bool disposing) FILE: src/Ocelot/Logging/TracingHandlerFactory.cs class TracingHandlerFactory (line 6) | public class TracingHandlerFactory : ITracingHandlerFactory method TracingHandlerFactory (line 11) | public TracingHandlerFactory( method Get (line 19) | public ITracingHandler Get() FILE: src/Ocelot/Metadata/DownstreamRouteExtensions.cs class DownstreamRouteExtensions (line 8) | public static class DownstreamRouteExtensions method GetMetadata (line 66) | public static T GetMetadata(this DownstreamRoute route, string key,... method GetMetadataNode (line 75) | private static JsonNode GetMetadataNode(this DownstreamRoute route, st... method ConvertTo (line 92) | private static object ConvertTo(Type targetType, string value, Metadat... method ConvertToNumericType (line 135) | private static object ConvertToNumericType(string value, Type targetTy... FILE: src/Ocelot/Middleware/BaseUrlFinder.cs class BaseUrlFinder (line 6) | public class BaseUrlFinder : IBaseUrlFinder method BaseUrlFinder (line 10) | public BaseUrlFinder(IConfiguration config) method Find (line 15) | public string Find() FILE: src/Ocelot/Middleware/ConfigurationMiddleware.cs class ConfigurationMiddleware (line 8) | public class ConfigurationMiddleware : OcelotMiddleware method ConfigurationMiddleware (line 13) | public ConfigurationMiddleware(RequestDelegate next, IOcelotLoggerFact... method Invoke (line 20) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/Middleware/DownstreamResponse.cs class DownstreamResponse (line 3) | public class DownstreamResponse : IDisposable method DownstreamResponse (line 9) | public DownstreamResponse(HttpContent content, HttpStatusCode statusCo... method DownstreamResponse (line 18) | public DownstreamResponse(HttpResponseMessage response) method DownstreamResponse (line 25) | public DownstreamResponse(HttpContent content, HttpStatusCode statusCode, method Dispose (line 37) | public void Dispose() method Dispose (line 46) | protected virtual void Dispose(bool disposing) FILE: src/Ocelot/Middleware/Header.cs class Header (line 3) | public class Header method Header (line 5) | public Header(string key, IEnumerable values) FILE: src/Ocelot/Middleware/HttpItemsExtensions.cs class HttpItemsExtensions (line 8) | public static class HttpItemsExtensions method UpsertDownstreamRequest (line 10) | public static void UpsertDownstreamRequest(this IDictionary input... method SetError (line 40) | public static void SetError(this IDictionary input, Er... method SetIInternalConfiguration (line 46) | public static void SetIInternalConfiguration(this IDictionary Errors(this IDictionary input) method DownstreamRouteHolder (line 62) | public static DownstreamRouteFinder.DownstreamRouteHolder method TemplatePlaceholderNameAndValues (line 66) | public static List method DownstreamRequest (line 70) | public static DownstreamRequest DownstreamRequest(this IDictionary(this IDictionary input, string... method Upsert (line 82) | private static void Upsert(this IDictionary input, ... method DoesntExist (line 95) | private static bool DoesntExist(this IDictionary input... FILE: src/Ocelot/Middleware/IBaseUrlFinder.cs type IBaseUrlFinder (line 3) | public interface IBaseUrlFinder method Find (line 5) | string Find(); FILE: src/Ocelot/Middleware/OcelotMiddleware.cs class OcelotMiddleware (line 5) | public abstract class OcelotMiddleware method OcelotMiddleware (line 7) | protected OcelotMiddleware(IOcelotLogger logger) FILE: src/Ocelot/Middleware/OcelotMiddlewareExtensions.cs class OcelotMiddlewareExtensions (line 18) | public static class OcelotMiddlewareExtensions method UseOcelot (line 20) | public static async Task UseOcelot(this IApplicat... method UseOcelot (line 26) | public static async Task UseOcelot(this IApplicat... method UseOcelot (line 33) | public static async Task UseOcelot(this IApplicat... method UseOcelot (line 42) | public static Task UseOcelot(this IApplicationBui... method UseOcelot (line 45) | public static async Task UseOcelot(this IApplicat... method CreateOcelotPipeline (line 58) | private static IApplicationBuilder CreateOcelotPipeline(IApplicationBu... method CreateConfiguration (line 73) | private static async Task CreateConfiguration(... method AdministrationApiInUse (line 121) | private static bool AdministrationApiInUse(IAdministrationPath adminPath) method SetFileConfig (line 126) | private static async Task SetFileConfig(IFileConfigurationSetter fileC... method IsError (line 136) | private static bool IsError(Response response) method GetOcelotConfigAndReturn (line 141) | private static IInternalConfiguration GetOcelotConfigAndReturn(IIntern... method ThrowToStopOcelotStarting (line 153) | private static void ThrowToStopOcelotStarting(Response config) method ConfigureDiagnosticListener (line 158) | private static void ConfigureDiagnosticListener(IApplicationBuilder bu... FILE: src/Ocelot/Middleware/OcelotPipelineConfiguration.cs class OcelotPipelineConfiguration (line 6) | public class OcelotPipelineConfiguration FILE: src/Ocelot/Middleware/OcelotPipelineExtensions.cs class OcelotPipelineExtensions (line 25) | public static class OcelotPipelineExtensions method BuildOcelotPipeline (line 27) | public static RequestDelegate BuildOcelotPipeline(this IApplicationBui... method UseIfNotNull (line 131) | private static IApplicationBuilder UseIfNotNull(this IApplicationBuild... method UseIfNotNull (line 134) | private static IApplicationBuilder UseIfNotNull(this IApp... FILE: src/Ocelot/Middleware/UnauthenticatedError.cs class UnauthenticatedError (line 5) | public class UnauthenticatedError : Error method UnauthenticatedError (line 7) | public UnauthenticatedError(string message) FILE: src/Ocelot/Multiplexer/CouldNotFindAggregatorError.cs class CouldNotFindAggregatorError (line 5) | public class CouldNotFindAggregatorError : Error method CouldNotFindAggregatorError (line 7) | public CouldNotFindAggregatorError(string aggregator) FILE: src/Ocelot/Multiplexer/IDefinedAggregator.cs type IDefinedAggregator (line 6) | public interface IDefinedAggregator method Aggregate (line 8) | Task Aggregate(List responses); FILE: src/Ocelot/Multiplexer/IDefinedAggregatorProvider.cs type IDefinedAggregatorProvider (line 6) | public interface IDefinedAggregatorProvider method Get (line 8) | Response Get(Route route); FILE: src/Ocelot/Multiplexer/IResponseAggregator.cs type IResponseAggregator (line 6) | public interface IResponseAggregator method Aggregate (line 8) | Task Aggregate(Route route, HttpContext originalContext, List ProcessMainRouteAsync(HttpContext cont... method ProcessRoutesWithRouteKeysAsync (line 131) | protected virtual async Task ProcessRoutesWithRouteKeys... method MapResponsesAsync (line 155) | private Task MapResponsesAsync(HttpContext context, Route route, HttpC... method ProcessRouteWithComplexAggregation (line 165) | private IEnumerable> ProcessRouteWithComplexAggregat... method ProcessRouteAsync (line 184) | private async Task ProcessRouteAsync(HttpContext sourceCo... method CopyItemsToNewContext (line 197) | private static void CopyItemsToNewContext(HttpContext target, HttpCont... method CreateThreadContextAsync (line 211) | protected virtual async Task CreateThreadContextAsync(Htt... method MapAsync (line 251) | protected virtual Task MapAsync(HttpContext httpContext, Route route, ... method CloneRequestBodyAsync (line 262) | protected virtual async Task CloneRequestBodyAsync(HttpRequest... FILE: src/Ocelot/Multiplexer/ServiceLocatorDefinedAggregatorProvider.cs class ServiceLocatorDefinedAggregatorProvider (line 7) | public class ServiceLocatorDefinedAggregatorProvider : IDefinedAggregato... method ServiceLocatorDefinedAggregatorProvider (line 11) | public ServiceLocatorDefinedAggregatorProvider(IServiceProvider services) method Get (line 16) | public Response Get(Route route) FILE: src/Ocelot/Multiplexer/SimpleJsonResponseAggregator.cs class SimpleJsonResponseAggregator (line 8) | public class SimpleJsonResponseAggregator : IResponseAggregator method Aggregate (line 10) | public async Task Aggregate(Route route, HttpContext originalContext, ... method MapAggregateContent (line 15) | private static async Task MapAggregateContent(HttpContext originalCont... method MapAggregateError (line 83) | private static void MapAggregateError(HttpContext originalContext, Htt... FILE: src/Ocelot/Multiplexer/UserDefinedResponseAggregator.cs class UserDefinedResponseAggregator (line 7) | public class UserDefinedResponseAggregator : IResponseAggregator method UserDefinedResponseAggregator (line 11) | public UserDefinedResponseAggregator(IDefinedAggregatorProvider provider) method Aggregate (line 16) | public async Task Aggregate(Route route, HttpContext originalContext, ... FILE: src/Ocelot/QualityOfService/IQosFactory.cs type IQoSFactory (line 6) | public interface IQoSFactory method Get (line 8) | Response Get(DownstreamRoute request); FILE: src/Ocelot/QualityOfService/NoQosDelegatingHandler.cs class NoQosDelegatingHandler (line 3) | public class NoQosDelegatingHandler : DelegatingHandler FILE: src/Ocelot/QualityOfService/QosFactory.cs class QoSFactory (line 9) | public class QoSFactory : IQoSFactory method QoSFactory (line 15) | public QoSFactory(IServiceProvider serviceProvider, IHttpContextAccess... method Get (line 22) | public Response Get(DownstreamRoute request) FILE: src/Ocelot/QualityOfService/UnableToFindQoSProviderError.cs class UnableToFindQoSProviderError (line 6) | public class UnableToFindQoSProviderError : Error method UnableToFindQoSProviderError (line 8) | public UnableToFindQoSProviderError(string message) FILE: src/Ocelot/QueryStrings/AddQueriesToRequest.cs class AddQueriesToRequest (line 10) | public class AddQueriesToRequest : IAddQueriesToRequest method AddQueriesToRequest (line 14) | public AddQueriesToRequest(IClaimsParser claimsParser) method SetQueriesOnDownstreamRequest (line 19) | public Response SetQueriesOnDownstreamRequest(List claim... method ConvertQueryStringToDictionary (line 49) | private static Dictionary ConvertQueryStringToDi... method ConvertDictionaryToQueryString (line 57) | private static string ConvertDictionaryToQueryString(Dictionary claimsToThin... FILE: src/Ocelot/RateLimiting/ClientRequestIdentity.cs type ClientRequestIdentity (line 3) | public readonly record struct ClientRequestIdentity(string ClientId, str... FILE: src/Ocelot/RateLimiting/DistributedCacheRateLimitStorage.cs class DistributedCacheRateLimitStorage (line 12) | public class DistributedCacheRateLimitStorage : IRateLimitStorage method DistributedCacheRateLimitStorage (line 16) | public DistributedCacheRateLimitStorage(IDistributedCache memoryCache)... method Set (line 18) | public void Set(string id, RateLimitCounter counter, TimeSpan expirati... method Exists (line 21) | public bool Exists(string id) => !string.IsNullOrEmpty(_memoryCache.Ge... method Get (line 23) | public RateLimitCounter? Get(string id) method Remove (line 30) | public void Remove(string id) => _memoryCache.Remove(id); FILE: src/Ocelot/RateLimiting/IRateLimitStorage.cs type IRateLimitStorage (line 7) | public interface IRateLimitStorage method Exists (line 9) | bool Exists(string id); method Get (line 11) | RateLimitCounter? Get(string id); method Remove (line 13) | void Remove(string id); method Set (line 15) | void Set(string id, RateLimitCounter counter, TimeSpan expirationTime); FILE: src/Ocelot/RateLimiting/IRateLimiting.cs type IRateLimiting (line 9) | public interface IRateLimiting method GetStorageKey (line 16) | string GetStorageKey(ClientRequestIdentity identity, RateLimitOptions ... method GetHeaders (line 26) | RateLimitHeaders GetHeaders(HttpContext context, RateLimitOptions opti... method ProcessRequest (line 36) | RateLimitCounter ProcessRequest(ClientRequestIdentity identity, RateLi... method Count (line 45) | RateLimitCounter Count(RateLimitCounter? entry, RateLimitRule rule, Da... method RetryAfter (line 55) | double RetryAfter(RateLimitCounter counter, RateLimitRule rule, DateTi... method ToTimespan (line 62) | TimeSpan ToTimespan(string timespan); FILE: src/Ocelot/RateLimiting/MemoryCacheRateLimitStorage.cs class MemoryCacheRateLimitStorage (line 11) | public class MemoryCacheRateLimitStorage : IRateLimitStorage method MemoryCacheRateLimitStorage (line 15) | public MemoryCacheRateLimitStorage(IMemoryCache memoryCache) => _memor... method Set (line 17) | public void Set(string id, RateLimitCounter counter, TimeSpan expirati... method Exists (line 20) | public bool Exists(string id) => _memoryCache.TryGetValue(id, out Rate... method Get (line 22) | public RateLimitCounter? Get(string id) => _memoryCache.TryGetValue(id... method Remove (line 24) | public void Remove(string id) => _memoryCache.Remove(id); FILE: src/Ocelot/RateLimiting/QuotaExceededError.cs class QuotaExceededError (line 5) | public class QuotaExceededError : Error method QuotaExceededError (line 7) | public QuotaExceededError(string message, int httpStatusCode) FILE: src/Ocelot/RateLimiting/RateLimitCounter.cs type RateLimitCounter (line 10) | public struct RateLimitCounter method RateLimitCounter (line 12) | public RateLimitCounter(DateTime startedAt) method RateLimitCounter (line 18) | [JsonConstructor] method ToString (line 39) | public override readonly string ToString() FILE: src/Ocelot/RateLimiting/RateLimitHeaders.cs class RateLimitHeaders (line 5) | public class RateLimitHeaders method RateLimitHeaders (line 7) | protected RateLimitHeaders() { } method RateLimitHeaders (line 9) | public RateLimitHeaders(HttpContext context, long limit, long remainin... method ToString (line 41) | public override string ToString() => $"{Remaining}/{Limit} resets at {... FILE: src/Ocelot/RateLimiting/RateLimiting.cs class RateLimiting (line 10) | public class RateLimiting : IRateLimiting method RateLimiting (line 18) | public RateLimiting(IRateLimitStorage storage) method ProcessRequest (line 31) | public virtual RateLimitCounter ProcessRequest(ClientRequestIdentity i... method Count (line 72) | public virtual RateLimitCounter Count(RateLimitCounter? entry, RateLim... method GetHeaders (line 92) | public virtual RateLimitHeaders GetHeaders(HttpContext context, RateLi... method GetStorageKey (line 111) | public virtual string GetStorageKey(ClientRequestIdentity identity, Ra... method RetryAfter (line 127) | public virtual double RetryAfter(RateLimitCounter counter, RateLimitRu... method ToTimespan (line 161) | public virtual TimeSpan ToTimespan(string timespan) => RateLimitRule.P... FILE: src/Ocelot/RateLimiting/RateLimitingHeaders.cs class RateLimitingHeaders (line 16) | public static class RateLimitingHeaders FILE: src/Ocelot/RateLimiting/RateLimitingMiddleware.cs class RateLimitingMiddleware (line 12) | public class RateLimitingMiddleware : OcelotMiddleware method RateLimitingMiddleware (line 18) | public RateLimitingMiddleware( method Invoke (line 30) | public Task Invoke(HttpContext context) method Break (line 88) | protected virtual Task Break(HttpContext context, RateLimitOptions opt... method Identify (line 98) | protected virtual ClientRequestIdentity Identify(HttpContext context, ... method IsWhitelisted (line 110) | public static bool IsWhitelisted(ClientRequestIdentity identity, RateL... method LogBlockedRequest (line 113) | public virtual void LogBlockedRequest(HttpContext context, ClientReque... method ReturnQuotaExceededResponse (line 121) | public virtual DownstreamResponse ReturnQuotaExceededResponse(HttpCont... method GetResponseMessage (line 138) | protected virtual string GetResponseMessage(RateLimitOptions options) method SetRateLimitHeaders (line 148) | protected virtual Task SetRateLimitHeaders(object state) FILE: src/Ocelot/Request/Creator/DownstreamRequestCreator.cs class DownstreamRequestCreator (line 6) | public class DownstreamRequestCreator : IDownstreamRequestCreator method DownstreamRequestCreator (line 11) | public DownstreamRequestCreator(IFrameworkDescription framework) method Create (line 25) | public DownstreamRequest Create(HttpRequestMessage request) FILE: src/Ocelot/Request/Creator/IDownstreamRequestCreator.cs type IDownstreamRequestCreator (line 5) | public interface IDownstreamRequestCreator method Create (line 7) | DownstreamRequest Create(HttpRequestMessage request); FILE: src/Ocelot/Request/Mapper/IRequestMapper.cs type IRequestMapper (line 6) | public interface IRequestMapper method Map (line 8) | HttpRequestMessage Map(HttpRequest request, DownstreamRoute downstream... FILE: src/Ocelot/Request/Mapper/PayloadTooLargeError.cs class PayloadTooLargeError (line 5) | public class PayloadTooLargeError : Error method PayloadTooLargeError (line 7) | public PayloadTooLargeError(Exception exception) : base(exception.Mess... FILE: src/Ocelot/Request/Mapper/RequestMapper.cs class RequestMapper (line 8) | public class RequestMapper : IRequestMapper method Map (line 13) | public HttpRequestMessage Map(HttpRequest request, DownstreamRoute dow... method MapContent (line 28) | private static HttpContent MapContent(HttpRequest request) method AddContentHeaders (line 48) | private static void AddContentHeaders(HttpRequest request, HttpContent... method MapMethod (line 71) | private static HttpMethod MapMethod(HttpRequest request, DownstreamRou... method MapUri (line 76) | private static Uri MapUri(HttpRequest request) => new(request.GetEncod... method MapHeaders (line 78) | private static void MapHeaders(HttpRequest request, HttpRequestMessage... method IsSupportedHeader (line 89) | private static bool IsSupportedHeader(KeyValuePair CreateContentReadStreamAsync() method CopyAsync (line 38) | private static async Task CopyAsync(Stream input, Stream output, long ... FILE: src/Ocelot/Request/Mapper/UnmappableRequestError.cs class UnmappableRequestError (line 5) | public class UnmappableRequestError : Error method UnmappableRequestError (line 7) | public UnmappableRequestError(Exception exception) : base($"Error when... FILE: src/Ocelot/Request/Middleware/DownstreamRequest.cs class DownstreamRequest (line 5) | public class DownstreamRequest method DownstreamRequest (line 9) | public DownstreamRequest() { } method DownstreamRequest (line 11) | public DownstreamRequest(HttpRequestMessage request) method ToHttpRequestMessage (line 43) | public HttpRequestMessage ToHttpRequestMessage() method ToUri (line 59) | public string ToUri() method ToString (line 73) | public override string ToString() method RemoveLeadingQuestionMark (line 78) | private static string RemoveLeadingQuestionMark(string query) FILE: src/Ocelot/Request/Middleware/DownstreamRequestInitialiserMiddleware.cs class DownstreamRequestInitialiserMiddleware (line 9) | public class DownstreamRequestInitialiserMiddleware : OcelotMiddleware method DownstreamRequestInitialiserMiddleware (line 15) | public DownstreamRequestInitialiserMiddleware(RequestDelegate next, method Invoke (line 26) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/RequestId/DefaultRequestIdKey.cs class DefaultRequestIdKey (line 3) | public static class DefaultRequestIdKey FILE: src/Ocelot/RequestId/Middleware/RequestIdMiddleware.cs class RequestIdMiddleware (line 11) | public class RequestIdMiddleware : OcelotMiddleware method RequestIdMiddleware (line 19) | public RequestIdMiddleware(RequestDelegate next, method Invoke (line 28) | public async Task Invoke(HttpContext httpContext) method SetOcelotRequestId (line 34) | private void SetOcelotRequestId(HttpContext httpContext) method ShouldAddRequestId (line 66) | private static bool ShouldAddRequestId(RequestId requestId, HttpHeader... method RequestIdInHeaders (line 73) | private static bool RequestIdInHeaders(RequestId requestId, HttpHeader... method AddRequestIdHeader (line 78) | private static void AddRequestIdHeader(RequestId requestId, Downstream... FILE: src/Ocelot/RequestId/RequestId.cs class RequestId (line 3) | public class RequestId method RequestId (line 5) | public RequestId(string requestIdKey, string requestIdValue) FILE: src/Ocelot/Requester/ConnectionToDownstreamServiceError.cs class ConnectionToDownstreamServiceError (line 5) | public class ConnectionToDownstreamServiceError : Error method ConnectionToDownstreamServiceError (line 7) | public ConnectionToDownstreamServiceError(Exception exception) FILE: src/Ocelot/Requester/DelegatingHandlerFactory.cs class DelegatingHandlerFactory (line 8) | public class DelegatingHandlerFactory : IDelegatingHandlerFactory method DelegatingHandlerFactory (line 15) | public DelegatingHandlerFactory( method Get (line 27) | public List Get(DownstreamRoute route) method SortByConfigOrder (line 75) | private static DelegatingHandler[] SortByConfigOrder(DownstreamRoute r... method GlobalIsInHandlersConfig (line 87) | private static bool GlobalIsInHandlersConfig(DownstreamRoute request, ... FILE: src/Ocelot/Requester/GlobalDelegatingHandler.cs class GlobalDelegatingHandler (line 3) | public class GlobalDelegatingHandler method GlobalDelegatingHandler (line 5) | public GlobalDelegatingHandler(DelegatingHandler delegatingHandler) FILE: src/Ocelot/Requester/HttpExceptionToErrorMapper.cs class HttpExceptionToErrorMapper (line 8) | public class HttpExceptionToErrorMapper : IExceptionToErrorMapper method HttpExceptionToErrorMapper (line 13) | public HttpExceptionToErrorMapper(IServiceProvider serviceProvider) method Map (line 18) | public Error Map(Exception exception) FILE: src/Ocelot/Requester/IDelegatingHandlerFactory.cs type IDelegatingHandlerFactory (line 5) | public interface IDelegatingHandlerFactory method Get (line 7) | List Get(DownstreamRoute route); FILE: src/Ocelot/Requester/IExceptionToErrorMapper.cs type IExceptionToErrorMapper (line 5) | public interface IExceptionToErrorMapper method Map (line 7) | Error Map(Exception exception); FILE: src/Ocelot/Requester/IHttpRequester.cs type IHttpRequester (line 6) | public interface IHttpRequester method GetResponse (line 8) | Task> GetResponse(HttpContext httpContext); FILE: src/Ocelot/Requester/IMessageInvokerPool.cs type IMessageInvokerPool (line 12) | public interface IMessageInvokerPool method Get (line 19) | HttpMessageInvoker Get(DownstreamRoute downstreamRoute); method Clear (line 24) | void Clear(); FILE: src/Ocelot/Requester/MessageInvokerHttpRequester.cs class MessageInvokerHttpRequester (line 8) | public class MessageInvokerHttpRequester : IHttpRequester method MessageInvokerHttpRequester (line 14) | public MessageInvokerHttpRequester(IOcelotLoggerFactory loggerFactory, method GetResponse (line 28) | public async Task> GetResponse(HttpConte... FILE: src/Ocelot/Requester/MessageInvokerPool.cs class MessageInvokerPool (line 8) | public class MessageInvokerPool : IMessageInvokerPool method MessageInvokerPool (line 14) | public MessageInvokerPool( method Get (line 26) | public virtual HttpMessageInvoker Get(DownstreamRoute downstreamRoute) method Clear (line 37) | public virtual void Clear() => _handlersPool.Clear(); method CreateMessageInvoker (line 39) | protected HttpMessageInvoker CreateMessageInvoker(DownstreamRoute route) method EnsureRouteTimeoutIsGreaterThanQosOne (line 68) | protected virtual int EnsureRouteTimeoutIsGreaterThanQosOne(Downstream... method EqualitySentence (line 86) | public static string EqualitySentence(int left, int right) method CreateHandler (line 89) | protected virtual SocketsHttpHandler CreateHandler(DownstreamRoute route) type MessageInvokerCacheKey (line 120) | public readonly struct MessageInvokerCacheKey : IEquatable Route = route; method Equals (line 126) | public override bool Equals(object obj) => obj is MessageInvokerCach... method Equals (line 128) | public bool Equals(MessageInvokerCacheKey other) => method GetHashCode (line 131) | public override int GetHashCode() => Route.GetHashCode(); FILE: src/Ocelot/Requester/Middleware/HttpRequesterMiddleware.cs class HttpRequesterMiddleware (line 8) | public class HttpRequesterMiddleware : OcelotMiddleware method HttpRequesterMiddleware (line 13) | public HttpRequesterMiddleware(RequestDelegate next, method Invoke (line 22) | public async Task Invoke(HttpContext httpContext) method CreateLogBasedOnResponse (line 40) | private void CreateLogBasedOnResponse(Response re... FILE: src/Ocelot/Requester/RequestCanceledError.cs class RequestCanceledError (line 5) | public class RequestCanceledError : Error method RequestCanceledError (line 15) | public RequestCanceledError(string message) FILE: src/Ocelot/Requester/ServiceCollectionExtensions.cs class ServiceCollectionExtensions (line 5) | public static class ServiceCollectionExtensions method AddOcelotMessageInvokerPool (line 7) | public static void AddOcelotMessageInvokerPool(this IServiceCollection... FILE: src/Ocelot/Requester/TimeoutDelegatingHandler.cs class TimeoutDelegatingHandler (line 10) | public class TimeoutDelegatingHandler : DelegatingHandler method TimeoutDelegatingHandler (line 18) | public TimeoutDelegatingHandler(TimeSpan timeout) method SendAsync (line 23) | protected override async Task SendAsync(HttpReque... FILE: src/Ocelot/Requester/UnableToCompleteRequestError.cs class UnableToCompleteRequestError (line 5) | public class UnableToCompleteRequestError : Error method UnableToCompleteRequestError (line 7) | public UnableToCompleteRequestError(Exception exception) FILE: src/Ocelot/Responder/ErrorsToHttpStatusCodeMapper.cs class ErrorsToHttpStatusCodeMapper (line 6) | public class ErrorsToHttpStatusCodeMapper : IErrorsToHttpStatusCodeMapper method Map (line 8) | public int Map(List errors) FILE: src/Ocelot/Responder/HttpContextResponder.cs class HttpContextResponder (line 12) | public class HttpContextResponder : IHttpResponder method HttpContextResponder (line 16) | public HttpContextResponder(IRemoveOutputHeaders removeOutputHeaders) method SetResponseOnHttpContext (line 21) | public async Task SetResponseOnHttpContext(HttpContext context, Downst... method SetErrorResponseOnContext (line 59) | public void SetErrorResponseOnContext(HttpContext context, int statusC... method SetErrorResponseOnContext (line 64) | public async Task SetErrorResponseOnContext(HttpContext context, Downs... method WriteToUpstreamAsync (line 78) | protected virtual async Task WriteToUpstreamAsync(HttpContext context,... method SetStatusCode (line 84) | private static void SetStatusCode(HttpContext context, int statusCode) method AddHeaderIfDoesntExist (line 92) | private static void AddHeaderIfDoesntExist(HttpContext context, Header... FILE: src/Ocelot/Responder/IErrorsToHttpStatusCodeMapper.cs type IErrorsToHttpStatusCodeMapper (line 8) | public interface IErrorsToHttpStatusCodeMapper method Map (line 15) | int Map(List errors); FILE: src/Ocelot/Responder/IHttpResponder.cs type IHttpResponder (line 6) | public interface IHttpResponder method SetResponseOnHttpContext (line 8) | Task SetResponseOnHttpContext(HttpContext context, DownstreamResponse ... method SetErrorResponseOnContext (line 10) | void SetErrorResponseOnContext(HttpContext context, int statusCode); method SetErrorResponseOnContext (line 12) | Task SetErrorResponseOnContext(HttpContext context, DownstreamResponse... FILE: src/Ocelot/Responder/Middleware/ResponderMiddleware.cs class ResponderMiddleware (line 12) | public class ResponderMiddleware : OcelotMiddleware method ResponderMiddleware (line 18) | public ResponderMiddleware(RequestDelegate next, method Invoke (line 29) | public async Task Invoke(HttpContext context) method SetErrorResponse (line 54) | private async Task SetErrorResponse(HttpContext context, List e... FILE: src/Ocelot/Responses/ErrorResponse.cs class ErrorResponse (line 5) | public class ErrorResponse : Response method ErrorResponse (line 7) | public ErrorResponse(Error error) method ErrorResponse (line 11) | public ErrorResponse(List errors) method ErrorResponse (line 18) | public ErrorResponse(Error error) method ErrorResponse (line 22) | public ErrorResponse(List errors) class ErrorResponse (line 16) | public class ErrorResponse : Response method ErrorResponse (line 7) | public ErrorResponse(Error error) method ErrorResponse (line 11) | public ErrorResponse(List errors) method ErrorResponse (line 18) | public ErrorResponse(Error error) method ErrorResponse (line 22) | public ErrorResponse(List errors) FILE: src/Ocelot/Responses/OkResponse.cs class OkResponse (line 3) | public class OkResponse : Response method OkResponse (line 5) | public OkResponse() { } method OkResponse (line 10) | public OkResponse(T data) : base(data) { } class OkResponse (line 8) | public class OkResponse : Response method OkResponse (line 5) | public OkResponse() { } method OkResponse (line 10) | public OkResponse(T data) : base(data) { } FILE: src/Ocelot/Responses/Response.cs class Response (line 5) | public abstract class Response method Response (line 7) | protected Response() method Response (line 12) | protected Response(List errors) method Response (line 24) | protected Response(T data) method Response (line 29) | protected Response(List errors) : base(errors) class Response (line 22) | public abstract class Response : Response method Response (line 7) | protected Response() method Response (line 12) | protected Response(List errors) method Response (line 24) | protected Response(T data) method Response (line 29) | protected Response(List errors) : base(errors) FILE: src/Ocelot/Security/IPSecurity/IPSecurityPolicy.cs class IPSecurityPolicy (line 8) | public class IPSecurityPolicy : ISecurityPolicy method Security (line 10) | public Response Security(DownstreamRoute downstreamRoute, HttpContext ... method SecurityAsync (line 40) | public Task SecurityAsync(DownstreamRoute downstreamRoute, H... FILE: src/Ocelot/Security/ISecurityPolicy.cs type ISecurityPolicy (line 7) | public interface ISecurityPolicy method Security (line 9) | Response Security(DownstreamRoute downstreamRoute, HttpContext context); method SecurityAsync (line 10) | Task SecurityAsync(DownstreamRoute downstreamRoute, HttpCont... FILE: src/Ocelot/Security/Middleware/SecurityMiddleware.cs class SecurityMiddleware (line 7) | public class SecurityMiddleware : OcelotMiddleware method SecurityMiddleware (line 12) | public SecurityMiddleware(RequestDelegate next, method Invoke (line 21) | public async Task Invoke(HttpContext httpContext) FILE: src/Ocelot/ServiceDiscovery/Configuration/ServiceFabricConfiguration.cs class ServiceFabricConfiguration (line 3) | public class ServiceFabricConfiguration method ServiceFabricConfiguration (line 5) | public ServiceFabricConfiguration(string hostName, int port, string se... FILE: src/Ocelot/ServiceDiscovery/IServiceDiscoveryProviderFactory.cs type IServiceDiscoveryProviderFactory (line 7) | public interface IServiceDiscoveryProviderFactory method Get (line 9) | Response Get(ServiceProviderConfiguration s... FILE: src/Ocelot/ServiceDiscovery/Providers/ConfigurationServiceProvider.cs class ConfigurationServiceProvider (line 5) | public class ConfigurationServiceProvider : IServiceDiscoveryProvider method ConfigurationServiceProvider (line 9) | public ConfigurationServiceProvider(List services) => _servic... method GetAsync (line 11) | public Task> GetAsync() => ValueTask.FromResult(_service... FILE: src/Ocelot/ServiceDiscovery/Providers/IServiceDiscoveryProvider.cs type IServiceDiscoveryProvider (line 5) | public interface IServiceDiscoveryProvider method GetAsync (line 7) | Task> GetAsync(); FILE: src/Ocelot/ServiceDiscovery/Providers/ServiceFabricServiceDiscoveryProvider.cs class ServiceFabricServiceDiscoveryProvider (line 6) | public class ServiceFabricServiceDiscoveryProvider : IServiceDiscoveryPr... method ServiceFabricServiceDiscoveryProvider (line 12) | public ServiceFabricServiceDiscoveryProvider(ServiceFabricConfiguratio... method GetAsync (line 17) | public Task> GetAsync() FILE: src/Ocelot/ServiceDiscovery/ServiceDiscoveryProviderFactory.cs class ServiceDiscoveryProviderFactory (line 11) | public class ServiceDiscoveryProviderFactory : IServiceDiscoveryProvider... method ServiceDiscoveryProviderFactory (line 17) | public ServiceDiscoveryProviderFactory(IOcelotLoggerFactory factory, I... method Get (line 24) | public Response Get(ServiceProviderConfigur... method GetServiceDiscoveryProvider (line 44) | private Response GetServiceDiscoveryProvide... FILE: src/Ocelot/ServiceDiscovery/UnableToFindServiceDiscoveryProviderError.cs class UnableToFindServiceDiscoveryProviderError (line 5) | public class UnableToFindServiceDiscoveryProviderError : Error method UnableToFindServiceDiscoveryProviderError (line 7) | public UnableToFindServiceDiscoveryProviderError(string message) : bas... FILE: src/Ocelot/Values/DownstreamPath.cs class DownstreamPath (line 3) | public class DownstreamPath method DownstreamPath (line 5) | public DownstreamPath(string value) FILE: src/Ocelot/Values/DownstreamPathTemplate.cs class DownstreamPathTemplate (line 3) | public class DownstreamPathTemplate method DownstreamPathTemplate (line 5) | public DownstreamPathTemplate(string value) method ToString (line 12) | public override string ToString() => Value ?? string.Empty; FILE: src/Ocelot/Values/Service.cs class Service (line 3) | public class Service method Service (line 5) | public Service(string name, FILE: src/Ocelot/Values/ServiceHostAndPort.cs class ServiceHostAndPort (line 3) | public class ServiceHostAndPort : IEquatable method ServiceHostAndPort (line 5) | public ServiceHostAndPort(ServiceHostAndPort from) method ServiceHostAndPort (line 12) | public ServiceHostAndPort(string downstreamHost, int downstreamPort) method ServiceHostAndPort (line 18) | public ServiceHostAndPort(string downstreamHost, int downstreamPort, s... method ToString (line 25) | public override string ToString() method GetHashCode (line 27) | public override int GetHashCode() method Equals (line 30) | public bool Equals(ServiceHostAndPort other) => this == other; method Equals (line 31) | public override bool Equals(object obj) FILE: src/Ocelot/Values/UpstreamHeaderTemplate.cs class UpstreamHeaderTemplate (line 9) | public class UpstreamHeaderTemplate method UpstreamHeaderTemplate (line 15) | public UpstreamHeaderTemplate(string template, string originalValue) FILE: src/Ocelot/Values/UpstreamPathTemplate.cs class UpstreamPathTemplate (line 6) | public partial class UpstreamPathTemplate method RegexNoTemplate (line 8) | [GeneratedRegex("$^", RegexOptions.Singleline, RegexGlobal.DefaultMatc... method UpstreamPathTemplate (line 11) | public UpstreamPathTemplate(string template, int priority, bool contai... FILE: src/Ocelot/WebSockets/ClientWebSocketConnector.cs class ClientWebSocketConnector (line 5) | public class ClientWebSocketConnector : IClientWebSocketConnector method ClientWebSocketConnector (line 10) | public ClientWebSocketConnector(ClientWebSocket webSocket) method ToWebSocket (line 16) | public WebSocket ToWebSocket() => _webSocket; method ConnectAsync (line 20) | public Task ConnectAsync(Uri uri, CancellationToken cancellationToken) FILE: src/Ocelot/WebSockets/ClientWebSocketOptionsProxy.cs class ClientWebSocketOptionsProxy (line 7) | public class ClientWebSocketOptionsProxy : IClientWebSocketOptions method ClientWebSocketOptionsProxy (line 11) | public ClientWebSocketOptionsProxy(ClientWebSocketOptions options) method AddSubProtocol (line 29) | public void AddSubProtocol(string subProtocol) => _real.AddSubProtocol... method SetBuffer (line 30) | public void SetBuffer(int receiveBufferSize, int sendBufferSize) => _r... method SetBuffer (line 31) | public void SetBuffer(int receiveBufferSize, int sendBufferSize, Array... method SetRequestHeader (line 32) | public void SetRequestHeader(string headerName, string headerValue) =>... FILE: src/Ocelot/WebSockets/ClientWebSocketProxy.cs class ClientWebSocketProxy (line 5) | public sealed class ClientWebSocketProxy : WebSocket, IClientWebSocket method ClientWebSocketProxy (line 11) | public ClientWebSocketProxy(WebSocket socket, IClientWebSocketConnecto... method ToWebSocket (line 18) | public WebSocket ToWebSocket() => _realSocket; method ConnectAsync (line 20) | public Task ConnectAsync(Uri uri, CancellationToken cancellationToken) method Abort (line 32) | public override void Abort() => _realSocket.Abort(); method CloseAsync (line 34) | public override Task CloseAsync(WebSocketCloseStatus closeStatus, stri... method CloseOutputAsync (line 37) | public override Task CloseOutputAsync(WebSocketCloseStatus closeStatus... method Dispose (line 40) | public override void Dispose() => _realSocket.Dispose(); method ReceiveAsync (line 42) | public override Task ReceiveAsync(ArraySegment... method SendAsync (line 45) | public override Task SendAsync(ArraySegment buffer, WebSocketMes... FILE: src/Ocelot/WebSockets/IClientWebSocket.cs type IClientWebSocket (line 5) | public interface IClientWebSocket : IClientWebSocketConnector method Abort (line 12) | void Abort(); method CloseAsync (line 13) | Task CloseAsync(WebSocketCloseStatus closeStatus, string statusDescrip... method CloseOutputAsync (line 14) | Task CloseOutputAsync(WebSocketCloseStatus closeStatus, string statusD... method Dispose (line 15) | void Dispose(); method ReceiveAsync (line 16) | Task ReceiveAsync(ArraySegment buffer, C... method SendAsync (line 17) | Task SendAsync(ArraySegment buffer, WebSocketMessageType message... type IClientWebSocketConnector (line 20) | public interface IClientWebSocketConnector method ToWebSocket (line 22) | WebSocket ToWebSocket(); method ConnectAsync (line 24) | Task ConnectAsync(Uri uri, CancellationToken cancellationToken); FILE: src/Ocelot/WebSockets/IClientWebSocketOptions.cs type IClientWebSocketOptions (line 7) | public interface IClientWebSocketOptions method SetRequestHeader (line 11) | void SetRequestHeader(string headerName, string headerValue); method AddSubProtocol (line 18) | void AddSubProtocol(string subProtocol); method SetBuffer (line 21) | void SetBuffer(int receiveBufferSize, int sendBufferSize); method SetBuffer (line 22) | void SetBuffer(int receiveBufferSize, int sendBufferSize, ArraySegment... FILE: src/Ocelot/WebSockets/IWebSocketsFactory.cs type IWebSocketsFactory (line 3) | public interface IWebSocketsFactory method CreateClient (line 5) | IClientWebSocket CreateClient(); FILE: src/Ocelot/WebSockets/WebSocketsFactory.cs class WebSocketsFactory (line 5) | public class WebSocketsFactory : IWebSocketsFactory method CreateClient (line 7) | public IClientWebSocket CreateClient() FILE: src/Ocelot/WebSockets/WebSocketsProxyMiddleware.cs class WebSocketsProxyMiddleware (line 14) | public class WebSocketsProxyMiddleware : OcelotMiddleware method WebSocketsProxyMiddleware (line 29) | public WebSocketsProxyMiddleware(IOcelotLoggerFactory logging, method Invoke (line 38) | public async Task Invoke(HttpContext context) method PumpAsync (line 45) | protected virtual async Task PumpAsync(WebSocket source, WebSocket des... method Proxy (line 87) | private async Task Proxy(HttpContext context, DownstreamRequest reques... method TryCloseOutputAsync (line 150) | protected virtual Task TryCloseOutputAsync(WebSocket webSocket, WebSoc... FILE: test/Ocelot.AcceptanceTests/Administration/AdministrationSteps.cs class AdministrationSteps (line 6) | public sealed class AdministrationSteps : AuthenticationSteps method GivenThereIsOcelotInternalJwtAuthServiceRunning (line 8) | private Task GivenThereIsOcelotInternalJwtAuthServiceRunning(Cancellat... FILE: test/Ocelot.AcceptanceTests/Administration/CacheManagerTests.cs class CacheManagerTests (line 14) | public sealed class CacheManagerTests : AuthenticationSteps method CacheManagerTests (line 16) | public CacheManagerTests() : base() method ShouldClearCacheRegionViaAdministrationAPI (line 19) | [Fact( method GivenRoute (line 64) | private FileRoute GivenRoute(string upstream = null, FileCacheOptions ... method WithCacheManagerAndAdministrationForExternalJwtServer (line 74) | private void WithCacheManagerAndAdministrationForExternalJwtServer(ISe... method Dispose (line 91) | public override void Dispose() FILE: test/Ocelot.AcceptanceTests/Administration/OcelotBuilderExtensions.cs class OcelotBuilderExtensions (line 22) | public static class OcelotBuilderExtensions method AddAdministration (line 24) | public static IOcelotBuilder AddAdministration(this IOcelotBuilder bui... method GetOcelotMiddlewareConfiguration (line 41) | public static Task GetOcelotMiddlewareConfiguration(IApplicationBuilde... method AddOcelotAdministrationControllers (line 58) | public static void AddOcelotAdministrationControllers(this IApplicatio... method UseOcelotJwtServer (line 68) | public static IApplicationBuilder UseOcelotJwtServer(this IApplication... method GetIdentityServerConfiguration (line 77) | public static IdentityServerConfiguration GetIdentityServerConfigurati... method AddAdministration (line 92) | public static IOcelotBuilder AddAdministration(this IOcelotBuilder bui... class IdentityServerConfiguration (line 156) | public class IdentityServerConfiguration method IdentityServerConfiguration (line 158) | public IdentityServerConfiguration( FILE: test/Ocelot.AcceptanceTests/AggregateTests.cs class AggregateTests (line 22) | public sealed class AggregateTests : Steps method AggregateTests (line 26) | public AggregateTests() method Should_fix_issue_597 (line 31) | [Fact] method Should_return_response_200_with_advanced_aggregate_configs (line 134) | [Fact] method Should_return_response_200_with_simple_url_user_defined_aggregate (line 228) | [Fact] method Should_return_response_200_with_simple_url (line 296) | [Fact] method Should_return_response_200_with_simple_url_one_service_404 (line 316) | [Fact] method Should_return_response_200_with_simple_url_both_service_404 (line 382) | [Fact] method Should_be_thread_safe (line 448) | [Fact] method WhenIMakeLotsOfDifferentRequestsToTheApiGateway (line 510) | private void WhenIMakeLotsOfDifferentRequestsToTheApiGateway() method Fire (line 543) | private async Task Fire(string url, string expectedBody, Random random) method Should_return_response_200_with_copied_body_sent_on_multiple_services (line 634) | [Fact] method Should_return_response_200_with_copied_form_sent_on_multiple_services (line 658) | [Fact] method FormatFormCollection (line 688) | private static string FormatFormCollection(IFormCollection reqForm) method GivenServiceIsRunning (line 703) | private void GivenServiceIsRunning(int port, HttpStatusCode statusCode... method GivenServiceIsRunning (line 712) | private void GivenServiceIsRunning(int index, int port, string basePat... method GivenServiceIsRunning (line 719) | private void GivenServiceIsRunning(int index, int port, string basePat... method GivenServiceIsRunning (line 728) | private void GivenServiceIsRunning(int index, int port, string basePat... method GivenServiceIsRunning (line 736) | private void GivenServiceIsRunning(int index, int port, string basePat... method GivenOcelotIsRunningWithSpecificAggregatorsRegisteredInDi (line 757) | private void GivenOcelotIsRunningWithSpecificAggregatorsRegisteredInDi... method ThenTheDownstreamUrlPathShouldBe (line 768) | private void ThenTheDownstreamUrlPathShouldBe(string expectedDownstrea... method GivenRoute (line 774) | private static FileRoute GivenRoute(int port, string upstream, string ... method GivenConfiguration (line 784) | public override FileConfiguration GivenConfiguration(params FileRoute[... class FakeDep (line 799) | public class FakeDep class FakeDefinedAggregator (line 803) | public class FakeDefinedAggregator : IDefinedAggregator method FakeDefinedAggregator (line 805) | public FakeDefinedAggregator(FakeDep dep) method Aggregate (line 809) | public async Task Aggregate(List resp... FILE: test/Ocelot.AcceptanceTests/Authentication/AuthenticationTests.cs class AuthenticationTests (line 9) | public sealed class AuthenticationTests : AuthenticationSteps method AuthenticationTests (line 11) | public AuthenticationTests() method Should_return_401_using_identity_server_access_token (line 14) | [Fact] method Should_return_response_200_using_identity_server (line 29) | [Fact] method Should_return_response_401_using_identity_server_with_token_requested_for_other_api (line 47) | [Fact] method Should_return_201_using_identity_server_access_token (line 76) | [Fact] method Should_use_global_authentication (line 92) | [Theory] method Should_allow_anonymous_route_and_return_200_when_global_auth_options_and_no_token (line 119) | [Fact] method ShouldApplyGlobalAuthenticationOptions_ForStaticRoutes (line 142) | [Fact] method ShouldApplyGlobalGroupAuthenticationOptions_ForStaticRoutes_WhenRouteOptsHasAKey (line 190) | [Fact] FILE: test/Ocelot.AcceptanceTests/Authentication/MultipleAuthSchemesFeatureTests.cs class MultipleAuthSchemesFeatureTests (line 12) | [Trait("PR", "1870")] // https://github.com/ThreeMammals/Ocelot/pull/1870 method MultipleAuthSchemesFeatureTests (line 20) | public MultipleAuthSchemesFeatureTests() : base() method Setup (line 26) | private MultipleAuthSchemesFeatureTests Setup(int totalSchemes) method Should_authenticate_using_multiple_schemes (line 33) | [Theory] method GivenIHaveTokenWithScope (line 58) | private async Task GivenIHaveTokenWithScope(int index, string scope, [... method GivenIHaveAddedAllAuthHeaders (line 64) | private void GivenIHaveAddedAllAuthHeaders(string[] schemes) method AuthHeaderName (line 79) | private static string AuthHeaderName(string scheme) => $"Oc-{HeaderNam... method WithBearerOptions (line 81) | private void WithBearerOptions(JwtBearerOptions o, string scheme, stri... method GivenOcelotIsRunningWithIdentityServerAuthSchemes (line 114) | private void GivenOcelotIsRunningWithIdentityServerAuthSchemes(string ... FILE: test/Ocelot.AcceptanceTests/Authorization/AuthorizationSteps.cs class AuthorizationSteps (line 6) | public class AuthorizationSteps : AuthenticationSteps method GivenIUpdateSubClaim (line 8) | public void GivenIUpdateSubClaim() => AuthTokenRequesting += UpdateSub... method UpdateSubClaim (line 10) | protected virtual void UpdateSubClaim(object sender, AuthenticationTok... method GivenIHaveATokenWithScope (line 17) | public Task GivenIHaveATokenWithScope(string scope, [Call... method GivenIHaveATokenWithClaims (line 19) | public Task GivenIHaveATokenWithClaims(IEnumerable GivenRouteClaimsRequirement(... method Should_return_200_OK_authorizing_route (line 37) | [Fact] method Should_return_403_Forbidden_authorizing_route (line 60) | [Fact] method Should_return_200_OK_using_identity_server_with_allowed_scope (line 84) | [Fact] method Should_return_403_Forbidden_using_identity_server_with_scope_not_allowed (line 107) | [Fact] method Should_fix_issue_240 (line 137) | [Fact(DisplayName = "TODO " + nameof(Should_fix_issue_240))] method Should_return_200_OK_with_global_allowed_scopes (line 169) | [Fact] method Should_return_200_OK_with_space_separated_scope_match (line 194) | [Fact] method Should_return_403_Forbidden_with_space_separated_scope_no_match (line 214) | [Fact] FILE: test/Ocelot.AcceptanceTests/Caching/CachingTests.cs class CachingTests (line 8) | public sealed class CachingTests : Steps method CachingTests (line 14) | public CachingTests() method Should_return_cached_response (line 18) | [Fact] method Should_return_cached_response_with_expires_header (line 42) | [Fact] method Should_not_return_cached_response_as_ttl_expires (line 67) | [Fact] method Should_return_different_cached_response_when_request_body_changes_and_EnableContentHashing_is_true (line 91) | [Theory] method Should_return_same_cached_response_when_request_body_changes_and_EnableContentHashing_is_false (line 126) | [Theory] method Should_clean_cached_response_by_cache_header_via_new_caching_key (line 160) | [Fact] method GivenFileConfiguration (line 199) | private FileConfiguration GivenFileConfiguration(int port, FileCacheOp... method GivenTheCacheExpires (line 215) | private static void GivenTheCacheExpires() method GivenTheServiceNowReturns (line 220) | private void GivenTheServiceNowReturns(int port, HttpStatusCode status... method GivenThereIsAServiceRunningOn (line 226) | private void GivenThereIsAServiceRunningOn(int port, HttpStatusCode st... method GivenThereIsAnEchoServiceRunningOn (line 240) | [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "xUnit1013:P... method ThenTheCounterValueShouldBe (line 254) | private void ThenTheCounterValueShouldBe(int expected) method TestBodiesFactory (line 259) | public static (string TestBody1String, string TestBody2String) TestBod... class TestBody (line 285) | public class TestBody FILE: test/Ocelot.AcceptanceTests/CancelRequestTests.cs class CancelRequestTests (line 5) | public sealed class CancelRequestTests : Steps, IDisposable method CancelRequestTests (line 7) | public CancelRequestTests() method ShouldAbortServiceWork_WhenCancellingTheRequest (line 11) | [Fact] method Cancel (line 45) | private Task Cancel(Task t) => Task.Run(ocelotClient.CancelPendingRequ... method GivenThereIsAServiceRunningOn (line 47) | private void GivenThereIsAServiceRunningOn(string baseUrl, Notifier st... method WhenIWaitForNotification (line 64) | private static async Task WhenIWaitForNotification(Notifier notifier) class Notifier (line 78) | class Notifier method Notifier (line 80) | public Notifier(string name) => Name = name; FILE: test/Ocelot.AcceptanceTests/CannotStartOcelotTests.cs class CannotStartOcelotTests (line 3) | public class CannotStartOcelotTests : Steps method Should_throw_exception_if_cannot_start_because_service_discovery_provider_specified_in_config_but_no_service_discovery_provider_registered_with_dynamic_re_routes (line 7) | [Fact] method Should_throw_exception_if_cannot_start_because_service_discovery_provider_specified_in_config_but_no_service_discovery_provider_registered (line 34) | [Fact] method Should_throw_exception_if_cannot_start_because_no_qos_delegate_registered_globally (line 63) | [Fact] method Should_throw_exception_if_cannot_start_because_no_qos_delegate_registered_for_re_route (line 90) | [Fact] method Should_throw_exception_if_cannot_start (line 117) | [Fact] FILE: test/Ocelot.AcceptanceTests/CaseSensitiveRoutingTests.cs class CaseSensitiveRoutingTests (line 6) | public sealed class CaseSensitiveRoutingTests : Steps method CaseSensitiveRoutingTests (line 8) | public CaseSensitiveRoutingTests() method Should_return_response_200_when_global_ignore_case_sensitivity_set (line 12) | [Fact] method Should_return_response_200_when_route_ignore_case_sensitivity_set (line 46) | [Fact] method Should_return_response_404_when_route_respect_case_sensitivity_set (line 81) | [Fact] method Should_return_response_200_when_route_respect_case_sensitivity_set (line 116) | [Fact] method Should_return_response_404_when_global_respect_case_sensitivity_set (line 151) | [Fact] method Should_return_response_200_when_global_respect_case_sensitivity_set (line 186) | [Fact] method GivenThereIsAServiceRunningOn (line 221) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/ConcurrentSteps.cs class ConcurrentSteps (line 13) | public class ConcurrentSteps : Steps method ConcurrentSteps (line 19) | public ConcurrentSteps() method Dispose (line 26) | public override void Dispose() method GivenServiceInstanceIsRunning (line 42) | protected void GivenServiceInstanceIsRunning(string url, string response) method GivenServiceInstanceIsRunning (line 45) | protected void GivenServiceInstanceIsRunning(string url, string respon... method GivenThereIsAServiceRunningOn (line 52) | protected void GivenThereIsAServiceRunningOn(string url, string basePa... method GivenMultipleServiceInstancesAreRunning (line 57) | protected void GivenMultipleServiceInstancesAreRunning(string[] urls, ... method GivenMultipleServiceInstancesAreRunning (line 64) | protected void GivenMultipleServiceInstancesAreRunning(string[] urls, ... method GivenMultipleServiceInstancesAreRunning (line 67) | protected void GivenMultipleServiceInstancesAreRunning(string[] urls, ... method GivenMultipleServiceInstancesAreRunning (line 77) | protected void GivenMultipleServiceInstancesAreRunning(string[] urls, ... method GivenServiceIsRunning (line 90) | private void GivenServiceIsRunning(string url, string response) method GivenServiceIsRunning (line 92) | private void GivenServiceIsRunning(string url, string response, int in... method GivenServiceIsRunning (line 95) | private void GivenServiceIsRunning(string url, string response, int in... method MapGet (line 101) | protected static RequestDelegate MapGet(string path, string responseBo... method MapGet (line 102) | protected static RequestDelegate MapGet(string path, string responseBo... class HeaderNames (line 112) | public static class HeaderNames method MapGet (line 121) | protected RequestDelegate MapGet(int index, string body) => MapGet(ind... method MapGet (line 122) | protected RequestDelegate MapGet(int index, string body, HttpStatusCod... method WhenIGetUrlOnTheApiGatewayConcurrently (line 154) | public Task[] WhenIGetUrlOnTheApiGatewayConcurrently(string url, int t... method WhenIGetUrlOnTheApiGatewayConcurrently (line 157) | public Task[] WhenIGetUrlOnTheApiGatewayConcurrently(int times, params... method RunParallelRequests (line 160) | protected Task[] RunParallelRequests(int times, Func urlF... method GetParallelResponse (line 176) | private async Task GetParallelResponse(string url, int threadIndex) method ThenAllStatusCodesShouldBe (line 188) | public void ThenAllStatusCodesShouldBe(HttpStatusCode expected) method ThenAllResponseBodiesShouldBe (line 191) | public void ThenAllResponseBodiesShouldBe(string expectedBody) method ThenAllResponseBodiesShouldBe (line 203) | public void ThenAllResponseBodiesShouldBe(int[] ports, string[] expected) method CalledTimesMessage (line 220) | protected string CalledTimesMessage() method ThenAllServicesShouldHaveBeenCalledTimes (line 223) | public void ThenAllServicesShouldHaveBeenCalledTimes(int expected) method ThenServiceShouldHaveBeenCalledTimes (line 226) | public void ThenServiceShouldHaveBeenCalledTimes(int index, int expected) method ThenServicesShouldHaveBeenCalledTimes (line 229) | public void ThenServicesShouldHaveBeenCalledTimes(params int[] expected) method Bottom (line 237) | public static int Bottom(int totalRequests, int totalServices) method Top (line 239) | public static int Top(int totalRequests, int totalServices) method ThenAllServicesCalledRealisticAmountOfTimes (line 245) | public void ThenAllServicesCalledRealisticAmountOfTimes(int bottom, in... method ThenAllServicesCalledOptimisticAmountOfTimes (line 263) | public void ThenAllServicesCalledOptimisticAmountOfTimes(ILoadBalancer... method ThenServiceCountersShouldMatchLeasingCounters (line 272) | public void ThenServiceCountersShouldMatchLeasingCounters(ILoadBalance... method ThenAllResponsesHeaderExists (line 303) | protected IEnumerable ThenAllResponsesHeaderExists(string key) method ServiceName (line 314) | protected virtual string ServiceName([CallerMemberName] string service... method ServiceNamespace (line 315) | protected virtual string ServiceNamespace() => GetType().Namespace; FILE: test/Ocelot.AcceptanceTests/Configuration/ConfigurationInConsulTests.cs class ConfigurationInConsulTests (line 12) | public sealed class ConfigurationInConsulTests : Steps method ConfigurationInConsulTests (line 17) | public ConfigurationInConsulTests() method Should_return_response_200_with_simple_url_when_using_jsonserialized_cache (line 22) | [Fact] method GivenOcelotIsRunningUsingConsulToStoreConfigAndJsonSerializedCache (line 45) | private void GivenOcelotIsRunningUsingConsulToStoreConfigAndJsonSerial... method GivenThereIsAFakeConsulServiceDiscoveryProvider (line 54) | private void GivenThereIsAFakeConsulServiceDiscoveryProvider(int consu... class FakeConsulGetResponse (line 95) | public class FakeConsulGetResponse method FakeConsulGetResponse (line 97) | public FakeConsulGetResponse(string value) => Value = value; FILE: test/Ocelot.AcceptanceTests/Configuration/ConfigurationMergeTests.cs class ConfigurationMergeTests (line 11) | public sealed class ConfigurationMergeTests : Steps method ConfigurationMergeTests (line 16) | public ConfigurationMergeTests() : base() method ShouldRunWithGlobalConfigMerged_WithExplicitGlobalConfigFileParameter (line 23) | [Theory] method ShouldRunWithGlobalConfigMerged_WithImplicitGlobalConfigFileParameter (line 42) | [Theory] method Arrange (line 91) | private void Arrange([CallerMemberName] string testName = null) method TheOcelotPrimaryConfigFileExists (line 97) | private void TheOcelotPrimaryConfigFileExists(bool expected) method ThenGlobalConfigurationHasBeenMerged (line 100) | private void ThenGlobalConfigurationHasBeenMerged([CallerMemberName] s... method GetRoute (line 109) | private static FileRoute GetRoute(string suffix, [CallerMemberName] st... FILE: test/Ocelot.AcceptanceTests/Configuration/ConfigurationReloadTests.cs class ConfigurationReloadTests (line 11) | public sealed class ConfigurationReloadTests : Steps method ConfigurationReloadTests (line 17) | public ConfigurationReloadTests() method Should_reload_config_on_change (line 35) | [Fact] method ThenConfigShouldBeWithTimeout (line 45) | private async Task ThenConfigShouldBeWithTimeout(FileConfiguration fil... method Should_not_reload_config_on_change (line 58) | [Fact] method ThenConfigShouldBe (line 69) | private async Task ThenConfigShouldBe(FileConfiguration fileConfig) method Should_trigger_change_token_on_change (line 78) | [Fact] method Should_not_trigger_change_token_with_no_change (line 90) | [Fact] method GivenOcelotIsRunningReloadingConfig (line 105) | private void GivenOcelotIsRunningReloadingConfig(bool shouldReload) method GivenIHaveAChangeToken (line 112) | private void GivenIHaveAChangeToken() method TheChangeTokenShouldBeActive (line 117) | private void TheChangeTokenShouldBeActive(bool itShouldBeActive) FILE: test/Ocelot.AcceptanceTests/Configuration/DownstreamHttpVersionTests.cs class DownstreamHttpVersionTests (line 9) | [Trait("PR", "1127")] method Should_return_response_200_when_using_http_one (line 13) | [Fact] method Should_return_response_200_when_using_http_one_point_one (line 28) | [Fact] method Should_return_response_200_when_using_http_two_point_zero (line 44) | [Fact] method Should_return_response_502_when_using_http_one_to_talk_to_server_running_http_two (line 64) | [Fact] method Should_return_response_200_when_using_http_two_to_talk_to_server_running_http_one_point_one (line 84) | [Fact] method GivenRoute (line 104) | private FileRoute GivenRoute(int port, string scheme, Version httpVers... method GivenThereIsAServiceRunningOn (line 115) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method GivenThereIsAServiceUsingHttpsRunningOn (line 134) | private void GivenThereIsAServiceUsingHttpsRunningOn(int port, string ... FILE: test/Ocelot.AcceptanceTests/Configuration/TimeoutTests.cs class TimeoutTests (line 9) | [Trait("PR", "2073")] // https://github.com/ThreeMammals/Ocelot/pull/2073 method HasRouteAndGlobalTimeouts_RouteTimeoutShouldTakePrecedenceOverGlobalTimeout (line 12) | [Fact] method HasGlobalTimeoutOnly_ForAllRoutesGlobalTimeoutShouldTakePrecedenceOverAbsoluteGlobalTimeout (line 32) | [Fact] method HasRouteTimeout_ShouldTimeoutAfterRouteTimeout (line 61) | [Fact] class Sequential (line 81) | [Collection(nameof(SequentialTests))] method NoRouteTimeoutAndNoGlobalOne_ShouldTimeoutAfterCustomDefaultTimeout (line 84) | [Fact] class TimeoutTestsBase (line 113) | public class TimeoutTestsBase : Steps method Ms (line 115) | protected static int Ms(int seconds) => 1000 * seconds; method GivenConfiguration (line 117) | protected FileConfiguration GivenConfiguration(int port, int? routeTim... method GivenThereIsAServiceRunningOn (line 126) | protected virtual void GivenThereIsAServiceRunningOn(int port, HttpSta... method WatchWhenIGetUrlOnTheApiGateway (line 137) | protected async Task WatchWhenIGetUrlOnTheApiGateway(string... method ThenTimeoutIsInRange (line 145) | protected static void ThenTimeoutIsInRange(Stopwatch watcher, int lowD... FILE: test/Ocelot.AcceptanceTests/ContentTests.cs class ContentTests (line 7) | public sealed class ContentTests : Steps method ContentTests (line 14) | public ContentTests() : base() method Should_Not_add_content_type_or_content_length_headers (line 18) | [Fact] method Should_add_content_type_and_content_length_headers (line 34) | [Fact] method Should_add_default_content_type_header (line 49) | [Fact] method Should_Not_increase_memory_usage_When_downloading_large_file (line 63) | [Fact] method ThenMemoryUsageShouldNotIncrease (line 80) | private void ThenMemoryUsageShouldNotIncrease() method ThenTheContentTypeIsIs (line 87) | private void ThenTheContentTypeIsIs(string expected) method ThenTheContentLengthShouldBeZero (line 92) | private void ThenTheContentLengthShouldBeZero() method ThenTheContentTypeShouldBeEmpty (line 97) | private void ThenTheContentTypeShouldBeEmpty() method GivenThereIsAServiceRunningOn (line 103) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method GivenThereIsAServiceWithPayloadRunningOn (line 115) | private void GivenThereIsAServiceWithPayloadRunningOn(int port, string... method GenerateDummyDatFile (line 133) | private static string GenerateDummyDatFile(int sizeInMb) method GivenConfiguration (line 157) | private static FileConfiguration GivenConfiguration(int port, string m... FILE: test/Ocelot.AcceptanceTests/Core/LoadTests.cs class LoadTests (line 10) | [Collection(nameof(SequentialTests))] method ShouldLoadRegexCachingHeavily_NoMemoryLeaks (line 20) | [Fact] method ToMegabytes (line 75) | private static float ToMegabytes(long total) => (float)total / (1024 *... method AssertDelta (line 77) | private static void AssertDelta(float value0, float value1, float value2) method GivenThereIsAServiceRunningOn (line 90) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/Core/ThreadSafeHeadersTests.cs class ThreadSafeHeadersTests (line 7) | public sealed class ThreadSafeHeadersTests : Steps method ThreadSafeHeadersTests (line 11) | public ThreadSafeHeadersTests() method Should_return_same_response_for_each_different_header_under_load_to_downsteam_service (line 16) | [Fact] method GivenThereIsAServiceRunningOn (line 29) | public override void GivenThereIsAServiceRunningOn(int port, HttpStatu... method WhenIGetUrlOnTheApiGatewayMultipleTimesWithDifferentHeaderValues (line 35) | private void WhenIGetUrlOnTheApiGatewayMultipleTimesWithDifferentHeade... method GetForThreadSafeHeadersTest (line 48) | private async Task GetForThreadSafeHeadersTest(string url, int random,... method ThenTheSameHeaderValuesAreReturnedByTheDownstreamService (line 59) | private void ThenTheSameHeaderValuesAreReturnedByTheDownstreamService() class ThreadSafeHeadersTestResult (line 67) | private class ThreadSafeHeadersTestResult method ThreadSafeHeadersTestResult (line 69) | public ThreadSafeHeadersTestResult(int result, int random) FILE: test/Ocelot.AcceptanceTests/CustomMiddlewareTests.cs class CustomMiddlewareTests (line 10) | public class CustomMiddlewareTests : Steps method CustomMiddlewareTests (line 14) | public CustomMiddlewareTests() method Should_call_pre_query_string_builder_middleware (line 19) | [Fact] method Should_call_authorization_middleware (line 43) | [Fact] method Should_call_authentication_middleware (line 67) | [Fact] method Should_call_pre_error_middleware (line 92) | [Fact] method Should_call_pre_authorization_middleware (line 117) | [Fact] method Should_call_pre_http_authentication_middleware (line 142) | [Fact] method Should_not_throw_when_pipeline_terminates_early (line 167) | [Fact] method Should_fix_issue_237 (line 198) | [Fact] method GivenOcelotIsRunningWithMiddlewareBeforePipeline (line 226) | private Task GivenOcelotIsRunningWithMiddlewareBeforePipeline(... method ThenTheCounterIs (line 230) | private void ThenTheCounterIs(int expected) method GivenThereIsAServiceRunningOnPath (line 235) | private void GivenThereIsAServiceRunningOnPath(int port, string basePath) class FakeMiddleware (line 252) | public class FakeMiddleware method FakeMiddleware (line 257) | public FakeMiddleware(RequestDelegate next, Func callb... method Invoke (line 263) | public async Task Invoke(HttpContext context) FILE: test/Ocelot.AcceptanceTests/DefaultVersionPolicyTests.cs class DefaultVersionPolicyTests (line 9) | [Trait("Feat", "1672")] method DefaultVersionPolicyTests (line 12) | public DefaultVersionPolicyTests() method Should_return_bad_gateway_when_request_higher_receive_lower (line 16) | [Fact] method Should_return_bad_gateway_when_request_lower_receive_higher (line 31) | [Fact] method Should_return_bad_gateway_when_request_exact_receive_different (line 46) | [Fact] method Should_return_ok_when_request_version_exact_receive_exact (line 61) | [Fact] method Should_return_ok_when_request_version_lower_receive_lower (line 76) | [Fact] method Should_return_ok_when_request_version_lower_receive_exact (line 91) | [Fact] method Should_return_ok_when_request_version_higher_receive_higher (line 106) | [Fact] method Should_return_ok_when_request_version_higher_receive_exact (line 121) | [Fact] method GivenThereIsHttpsServiceRunningOn (line 136) | private void GivenThereIsHttpsServiceRunningOn(int port, HttpProtocols... method GivenHttpsRoute (line 148) | private static FileRoute GivenHttpsRoute(int port, string httpVersion,... FILE: test/Ocelot.AcceptanceTests/GzipTests.cs class GzipTests (line 9) | public sealed class GzipTests : Steps method GzipTests (line 11) | public GzipTests() method Should_return_response_200_with_simple_url (line 15) | [Fact] method GivenThePostHasGzipContent (line 31) | private static StreamContent GivenThePostHasGzipContent(object input) method GivenThereIsAServiceRunningOn (line 48) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/HttpDelegatingHandlersTests.cs class HttpDelegatingHandlersTests (line 8) | public sealed class HttpDelegatingHandlersTests : Steps method HttpDelegatingHandlersTests (line 12) | public HttpDelegatingHandlersTests() method Should_call_route_ordered_specific_handlers (line 16) | [Fact] method Should_call_global_di_handlers (line 37) | [Fact] method Should_call_global_di_handlers_multiple_times (line 53) | [Fact] method Should_call_global_di_handlers_with_dependency (line 85) | [Fact] method GivenRoute (line 102) | private static FileRoute GivenRoute(int port) => new() method GivenOcelotIsRunningWithSpecificHandlersRegisteredInDi (line 114) | private void GivenOcelotIsRunningWithSpecificHandlersRegisteredInDi SendAsync(HttpRequestMe... class FakeHandler (line 173) | private class FakeHandler : DelegatingHandler method SendAsync (line 177) | protected override async Task SendAsync(HttpReq... class FakeHandlerTwo (line 186) | private class FakeHandlerTwo : DelegatingHandler method SendAsync (line 190) | protected override async Task SendAsync(HttpReq... class FakeHandlerAgain (line 199) | private class FakeHandlerAgain : DelegatingHandler method SendAsync (line 201) | protected override async Task SendAsync(HttpReq... method GivenThereIsAServiceRunningOn (line 210) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/LoadBalancer/CookieStickySessionsTests.cs class CookieStickySessionsTests (line 8) | [Trait("Feat", "336")] // https://github.com/ThreeMammals/Ocelot/pull/336 method CookieStickySessionsTests (line 18) | public CookieStickySessionsTests() : base() method ShouldUseSameDownstreamHost_ForSingleRouteWithHighLoad (line 23) | [Fact] method ShouldUseDifferentDownstreamHost_ForDoubleRoutesWithDifferentCookies (line 42) | [Fact] method ShouldUseSameDownstreamHost_ForDifferentRoutesWithSameCookie (line 63) | [Fact] method ShouldUseGlobalOptions_ForStaticRoutes (line 84) | [Fact] method CookieName (line 126) | private static string CookieName([CallerMemberName] string cookieName ... method GivenStickySessionsRoute (line 128) | private FileRoute GivenStickySessionsRoute(int[] ports, string upstrea... method WhenIGetUrlOnTheApiGatewayMultipleTimes (line 141) | private Task WhenIGetUrlOnTheApiGatewayMultipleTimes(string url, int t... method GetParallelTask (line 152) | private async Task GetParallelTask(string url, string cookie, string v... method ThenServiceShouldHaveBeenCalledTimes (line 160) | private void ThenServiceShouldHaveBeenCalledTimes(int index, int times) method GivenProductServiceIsRunning (line 165) | private void GivenProductServiceIsRunning(int index, int port) FILE: test/Ocelot.AcceptanceTests/LoadBalancer/ILoadBalancerAnalyzer.cs type ILoadBalancerAnalyzer (line 7) | public interface ILoadBalancerAnalyzer method Analyze (line 12) | object Analyze(); method GetHostCounters (line 13) | Dictionary GetHostCounters(); method ToHostCountersDictionary (line 14) | Dictionary ToHostCountersDictionary(IEnumerab... method HasManyServiceGenerations (line 15) | bool HasManyServiceGenerations(int maxGeneration); method BottomOfConnections (line 16) | int BottomOfConnections(); method TopOfConnections (line 17) | int TopOfConnections(); FILE: test/Ocelot.AcceptanceTests/LoadBalancer/LeastConnectionAnalyzer.cs class LeastConnectionAnalyzer (line 10) | internal sealed class LeastConnectionAnalyzer : LoadBalancerAnalyzer, IL... method LeastConnectionAnalyzer (line 14) | public LeastConnectionAnalyzer(Func>> services, str... method Me_Leased (line 21) | private void Me_Leased(object sender, LeaseEventArgs args) => Events.A... method LeaseAsync (line 24) | public override Task> LeaseAsync(HttpCont... method Release (line 25) | public override void Release(ServiceHostAndPort hostAndPort) => loadBa... method ToHostCountersDictionary (line 27) | public override Dictionary ToHostCountersDict... FILE: test/Ocelot.AcceptanceTests/LoadBalancer/LeastConnectionAnalyzerCreator.cs class LeastConnectionAnalyzerCreator (line 8) | internal sealed class LeastConnectionAnalyzerCreator : ILoadBalancerCreator method Create (line 11) | public Response Create(DownstreamRoute route, IServiceD... FILE: test/Ocelot.AcceptanceTests/LoadBalancer/LoadBalancerAnalyzer.cs class LoadBalancerAnalyzer (line 11) | internal class LoadBalancerAnalyzer : ILoadBalancerAnalyzer, ILoadBalancer method LoadBalancerAnalyzer (line 14) | protected LoadBalancerAnalyzer(string serviceName) => _serviceName = s... method Analyze (line 20) | public virtual object Analyze() method HasManyServiceGenerations (line 76) | public virtual bool HasManyServiceGenerations(int maxGeneration) method GetHostCounters (line 92) | public virtual Dictionary GetHostCounters() method ToHostCountersDictionary (line 101) | public virtual Dictionary ToHostCountersDicti... method BottomOfConnections (line 104) | public virtual int BottomOfConnections() method TopOfConnections (line 110) | public virtual int TopOfConnections() method LeaseAsync (line 117) | public virtual Task> LeaseAsync(HttpConte... method Release (line 119) | public virtual void Release(ServiceHostAndPort hostAndPort) { } FILE: test/Ocelot.AcceptanceTests/LoadBalancer/LoadBalancerTests.cs class LoadBalancerTests (line 14) | public sealed class LoadBalancerTests : ConcurrentSteps method ShouldLoadBalanceRequestWithLeastConnection (line 16) | [Theory] method ShouldLoadBalanceRequestWithRoundRobin (line 59) | [Theory] method ShouldLoadBalanceRequestWithCustomLoadBalancer (line 89) | [Fact] method ShouldApplyGlobalOptions_ForStaticRoutes (line 111) | [Fact] method ShouldApplyGlobalGroupOptions_ForStaticRoutes_WhenRouteOptsHasAKey (line 146) | [Fact] class CustomLoadBalancer (line 192) | private sealed class CustomLoadBalancer : ILoadBalancer method CustomLoadBalancer (line 203) | public CustomLoadBalancer(Func>> services) => _se... method LeaseAsync (line 205) | public async Task> LeaseAsync(HttpConte... method Release (line 216) | public void Release(ServiceHostAndPort hostAndPort) { } method GivenLbRoute (line 219) | private FileRoute GivenLbRoute(int[] ports, string loadBalancer = null... FILE: test/Ocelot.AcceptanceTests/LoadBalancer/RoundRobinAnalyzer.cs class RoundRobinAnalyzer (line 11) | internal sealed class RoundRobinAnalyzer : LoadBalancerAnalyzer, ILoadBa... method RoundRobinAnalyzer (line 15) | public RoundRobinAnalyzer(Func>> services, string s... method Me_Leased (line 22) | private void Me_Leased(object sender, LeaseEventArgs args) => Events.A... method LeaseAsync (line 25) | public override Task> LeaseAsync(HttpCont... method Release (line 26) | public override void Release(ServiceHostAndPort hostAndPort) => loadBa... method ToHostCountersDictionary (line 30) | public override Dictionary ToHostCountersDict... FILE: test/Ocelot.AcceptanceTests/LoadBalancer/RoundRobinAnalyzerCreator.cs class RoundRobinAnalyzerCreator (line 8) | internal sealed class RoundRobinAnalyzerCreator : ILoadBalancerCreator method Create (line 11) | public Response Create(DownstreamRoute route, IServiceD... FILE: test/Ocelot.AcceptanceTests/LogLevelTests.cs class LogLevelTests (line 18) | public sealed class LogLevelTests : Steps method LogLevelTests (line 26) | public LogLevelTests() method ThenMessagesAreLogged (line 34) | private void ThenMessagesAreLogged(string[] notAllowedMessageTypes, st... method TestFactory (line 47) | private void TestFactory(string[] notAllowedMessageTypes, string[] all... method GivenOcelotIsRunningWithMinimumLogLevel (line 86) | private Task GivenOcelotIsRunningWithMinimumLogLevel(Logger logge... method If_minimum_log_level_is_critical_then_only_critical_messages_are_logged (line 112) | [Fact] method If_minimum_log_level_is_error_then_critical_and_error_are_logged (line 117) | [Fact] method If_minimum_log_level_is_warning_then_critical_error_and_warning_are_logged (line 122) | [Fact] method If_minimum_log_level_is_information_then_critical_error_warning_and_information_are_logged (line 127) | [Fact] method If_minimum_log_level_is_debug_then_critical_error_warning_information_and_debug_are_logged (line 132) | [Fact] method If_minimum_log_level_is_trace_then_critical_error_warning_information_debug_and_trace_are_logged (line 137) | [Fact] method GetLogger (line 142) | private Logger GetLogger(LogLevel logLevel) method UpdateAppSettings (line 174) | private void UpdateAppSettings(LogLevel logLevel) method GetLogFilePath (line 186) | private string GetLogFilePath() method GivenThereIsAServiceRunningOn (line 192) | private void GivenThereIsAServiceRunningOn(int port) FILE: test/Ocelot.AcceptanceTests/Logging/MemoryLogger.cs class MemoryLogger (line 7) | public class MemoryLogger : ILogger method BeginScope (line 16) | public IDisposable BeginScope(TState state) method IsEnabled (line 19) | public bool IsEnabled(LogLevel logLevel) => true; method Log (line 21) | public void Log(LogLevel logLevel, EventId eventId, TState sta... FILE: test/Ocelot.AcceptanceTests/Logging/TestLoggerFactory.cs class TestLoggerFactory (line 7) | public class TestLoggerFactory : IOcelotLoggerFactory method TestLoggerFactory (line 15) | public TestLoggerFactory(ILoggerFactory factory, IRequestScopedDataRep... method CreateLogger (line 24) | public IOcelotLogger CreateLogger() => _ologger; method Dispose (line 26) | protected virtual void Dispose(bool disposing) method Dispose (line 41) | public void Dispose() FILE: test/Ocelot.AcceptanceTests/Metadata/DownstreamMetadataTests.cs class DownstreamMetadataTests (line 9) | [Trait("Feat", "738")] type StringArrayConfig (line 12) | public enum StringArrayConfig type NumberConfig (line 21) | public enum NumberConfig method DownstreamMetadataTests (line 28) | public DownstreamMetadataTests() method ShouldMatchTargetObjects (line 32) | [Theory] method ShouldMatchTargetStringArrayAccordingToConfiguration (line 76) | [Theory] method ShouldMatchTargetNumberAccordingToConfiguration (line 144) | [Theory] method GivenOcelotIsRunningWithSpecificHandlerForType (line 195) | private void GivenOcelotIsRunningWithSpecificHandlerForType(Type curre... class StringDownStreamMetadataHandler (line 224) | private class StringDownStreamMetadataHandler : DownstreamMetadataHand... method StringDownStreamMetadataHandler (line 226) | public StringDownStreamMetadataHandler(IHttpContextAccessor httpCont... class StringArrayDownStreamMetadataHandler (line 231) | private class StringArrayDownStreamMetadataHandler : DownstreamMetadat... method StringArrayDownStreamMetadataHandler (line 233) | public StringArrayDownStreamMetadataHandler(IHttpContextAccessor htt... class BoolDownStreamMetadataHandler (line 239) | private class BoolDownStreamMetadataHandler : DownstreamMetadataHandle... method BoolDownStreamMetadataHandler (line 241) | public BoolDownStreamMetadataHandler(IHttpContextAccessor httpContex... class DoubleDownStreamMetadataHandler (line 246) | private class DoubleDownStreamMetadataHandler : DownstreamMetadataHand... method DoubleDownStreamMetadataHandler (line 248) | public DoubleDownStreamMetadataHandler(IHttpContextAccessor httpCont... class IntDownStreamMetadataHandler (line 253) | private class IntDownStreamMetadataHandler : DownstreamMetadataHandler... method IntDownStreamMetadataHandler (line 255) | public IntDownStreamMetadataHandler(IHttpContextAccessor httpContext... class SuperDataContainerDownStreamMetadataHandler (line 260) | private class SuperDataContainerDownStreamMetadataHandler : Downstream... method SuperDataContainerDownStreamMetadataHandler (line 262) | public SuperDataContainerDownStreamMetadataHandler(IHttpContextAcces... class DownstreamMetadataHandler (line 273) | private class DownstreamMetadataHandler : DelegatingHandler method DownstreamMetadataHandler (line 277) | public DownstreamMetadataHandler(IHttpContextAccessor httpContextAcc... method SendAsync (line 282) | protected override Task SendAsync( method GetSourceAndTargetDictionariesForStringArrayType (line 329) | public static (Dictionary SourceDictionary, Dictionary... method GetSourceAndTargetDictionariesForNumberType (line 433) | public static (Dictionary SourceDictionary, Dictionary... method GetSourceAndTargetDictionary (line 451) | public static (Dictionary SourceDictionary, Dictionary... class SuperDataContainer (line 552) | public class SuperDataContainer method Equals (line 562) | public override bool Equals(object obj) method GetHashCode (line 575) | public override int GetHashCode() FILE: test/Ocelot.AcceptanceTests/Properties/BddfyConfig.cs class BddfyConfig (line 6) | public static class BddfyConfig method Configure (line 8) | public static void Configure() class BddfyProcessor (line 19) | public class BddfyProcessor : IProcessor method Process (line 23) | public void Process(Story story) class BddfyBatchProcessingReporter (line 44) | public class BddfyBatchProcessingReporter : IBatchProcessor method Process (line 50) | public static void Process(Story story) method Process (line 62) | public void Process(IEnumerable stories) FILE: test/Ocelot.AcceptanceTests/QualityOfService/PollyQoSTests.cs class PollyQoSTests (line 15) | [Trait("Feat", "23")] // https://github.com/ThreeMammals/Ocelot/issues/23 method Should_not_timeout (line 19) | [Fact] method Should_timeout (line 42) | [Fact] method Should_open_circuit_breaker_after_two_exceptions (line 58) | [Fact] method Should_open_circuit_breaker_for_DefaultBreakDuration (line 83) | [Fact] method Should_open_circuit_breaker_then_close (line 120) | [Fact] method Should_open_circuit_breaker_then_close_without_timeout_strategy (line 150) | [Fact] // [SkippableFact] method Open_circuit_should_not_effect_different_route (line 168) | [Fact] // [SkippableFact] method Should_timeout_per_default_after_90_seconds (line 211) | [Fact] method HasRouteAndGlobalTimeouts_RouteTimeoutShouldTakePrecedenceOverGlobalTimeout (line 234) | [Fact] method HasGlobalTimeoutOnly_ForAllRoutesGlobalTimeoutShouldTakePrecedenceOverAbsoluteGlobalTimeout (line 259) | [Fact] method HasRouteAndGlobalFailureRatios_RouteFailureRatioShouldTakePrecedenceOverGlobalFailureRatio (line 289) | [Fact] method HasGlobalFailureRatioOnly_GlobalFailureRatioShouldTakePrecedenceOverPollyDefaultFailureRatio (line 334) | [Fact] method ShouldApplyGlobalQosOptions_ForStaticRoutes (line 388) | [Fact] method ShouldApplyGlobalQosOptions_ForStaticRoutes_WithGroupedOpts (line 424) | [Fact] method GivenRoute (line 467) | private FileRoute GivenRoute(int port, QoSOptions options, string upst... method GivenOcelotIsRunningWithPolly (line 475) | private Task GivenOcelotIsRunningWithPolly() method WithPolly (line 477) | private static void WithPolly(IServiceCollection services) method GivenIWaitMilliseconds (line 480) | private static Task GivenIWaitMilliseconds(int ms) => GivenIWaitAsync(... method GivenThereIsAPossiblyBrokenServiceRunningOn (line 482) | private void GivenThereIsAPossiblyBrokenServiceRunningOn(int port, str... method GivenThereIsAServiceRunningOn (line 505) | protected override void GivenThereIsAServiceRunningOn(int port, HttpSt... class PollyQosSteps (line 509) | public class PollyQosSteps : TimeoutTestsBase, IQosSteps, IDisposable method PollyQosSteps (line 512) | public PollyQosSteps() => steps = new(this); method Dispose (line 514) | public override void Dispose() method GivenThereIsABrokenServiceOnline (line 521) | public void GivenThereIsABrokenServiceOnline(HttpStatusCode onlineStat... method GivenThereIsABrokenServiceRunningOn (line 524) | public void GivenThereIsABrokenServiceRunningOn(int port, HttpStatusCo... method GivenThereIsAServiceRunningOn (line 527) | public void GivenThereIsAServiceRunningOn(int port, HttpStatusCode sta... method TestRouteCircuitBreaker (line 531) | public Task TestRouteCircuitBreaker(int[] ports, string upstreamPath, ... method TestRouteTimeout (line 534) | public Task TestRouteTimeout(int[] ports, string upstreamPath, FileQoS... FILE: test/Ocelot.AcceptanceTests/QualityOfService/QosSteps.cs class QosSteps (line 9) | public class QosSteps : Steps, IQosSteps method QosSteps (line 12) | public QosSteps(Steps self) => this.self = self; method TestRouteCircuitBreaker (line 14) | public async Task TestRouteCircuitBreaker(int[] ports, string upstream... method TestRouteTimeout (line 47) | public async Task TestRouteTimeout(int[] ports, string upstreamPath, F... method GivenThereIsAServiceRunningOn (line 71) | public void GivenThereIsAServiceRunningOn(int port, HttpStatusCode sta... method GivenThereIsABrokenServiceRunningOn (line 88) | public void GivenThereIsABrokenServiceRunningOn(int port, HttpStatusCo... method GivenThereIsABrokenServiceOnline (line 99) | public void GivenThereIsABrokenServiceOnline(HttpStatusCode onlineStat... type IQosSteps (line 113) | public interface IQosSteps method TestRouteCircuitBreaker (line 115) | Task TestRouteCircuitBreaker(int[] ports, string upstreamPath, FileQoS... method TestRouteTimeout (line 116) | Task TestRouteTimeout(int[] ports, string upstreamPath, FileQoSOptions... method GivenThereIsAServiceRunningOn (line 117) | void GivenThereIsAServiceRunningOn(int port, HttpStatusCode statusCode, method GivenThereIsABrokenServiceRunningOn (line 119) | void GivenThereIsABrokenServiceRunningOn(int port, HttpStatusCode brok... method GivenThereIsABrokenServiceOnline (line 120) | void GivenThereIsABrokenServiceOnline(HttpStatusCode onlineStatusCode,... FILE: test/Ocelot.AcceptanceTests/RateLimiting/ClientHeaderRateLimitingTests.cs class ClientHeaderRateLimitingTests (line 11) | public sealed class ClientHeaderRateLimitingTests : RateLimitingSteps method ClientHeaderRateLimitingTests (line 17) | public ClientHeaderRateLimitingTests() method Should_call_with_rate_limiting (line 20) | [Fact] method Should_wait_for_period_timespan_to_elapse_before_making_next_request (line 38) | [Fact] method Count (line 72) | private int Count() => ++_count; method Url (line 73) | private string Url() => $"/ClientRateLimit/?{Count()}"; method WhenIGetUrlOnTheApiGatewayMultipleTimes (line 75) | private async Task WhenIGetUrlOnTheApiGatewayMultipleTimes(Func WhenIGetUrlOnTheApiGatewayMultipleT... method WhenIGetUrlOnTheApiGatewayMultipleTimesWithRateLimitingByAHeader (line 10) | public async Task WhenIGetUrlOnTheApiGatewayMul... FILE: test/Ocelot.AcceptanceTests/ReasonPhraseTests.cs class ReasonPhraseTests (line 6) | public sealed class ReasonPhraseTests : Steps method ReasonPhraseTests (line 8) | public ReasonPhraseTests() { } method Should_return_reason_phrase (line 10) | [Fact] method GivenThereIsAServiceRunningOn (line 24) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/Request/RequestMapperTests.cs class RequestMapperTests (line 7) | [Trait("PR", "1972")] method RequestMapperTests (line 10) | public RequestMapperTests() method Should_map_request_without_content (line 14) | [Fact] method Should_map_request_with_content_length (line 30) | [Fact] method Should_map_request_with_empty_content (line 46) | [Fact] method Should_map_request_with_chunked_content (line 62) | [Fact] method Should_map_request_with_empty_chunked_content (line 78) | [Fact] method GivenThereIsAServiceRunningOn (line 94) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method GivenRoute (line 107) | private static FileRoute GivenRoute(int port, string method = null) =>... class ChunkedContent (line 120) | internal class ChunkedContent : HttpContent method ChunkedContent (line 124) | public ChunkedContent(params string[] chunks) method SerializeToStreamAsync (line 129) | protected override async Task SerializeToStreamAsync(Stream stream, Tr... method TryComputeLength (line 138) | protected override bool TryComputeLength(out long length) FILE: test/Ocelot.AcceptanceTests/Request/StreamContentTests.cs method Should_stream_with_content_length (line 12) | [Fact(Skip = "TODO Require fixing for net10.0 TFM or streaming feature r... method Should_stream_with_chunked_content (line 33) | [Fact(Skip = "TODO Require fixing for net10.0 TFM or streaming feature r... method GivenThereIsAServiceRunningOn (line 52) | public override void GivenThereIsAServiceRunningOn(int port, string base... method GivenRoute (line 79) | private static FileRoute GivenRoute(int port, string method = null) => n... class StreamTestContent (line 92) | internal class StreamTestContent : HttpContent method StreamTestContent (line 98) | public StreamTestContent(long size, bool sendChunked) method SerializeToStreamAsync (line 105) | protected override async Task SerializeToStreamAsync(Stream stream, Tr... method TryComputeLength (line 116) | protected override bool TryComputeLength(out long length) FILE: test/Ocelot.AcceptanceTests/RequestIdTests.cs class RequestIdTests (line 3) | public sealed class RequestIdTests : Steps method RequestIdTests (line 7) | public RequestIdTests() method Should_use_default_request_id_and_forward (line 11) | [Fact] method Should_use_request_id_and_forward (line 26) | [Fact] method Should_use_global_request_id_and_forward (line 41) | [Fact] method Should_use_global_request_id_create_and_forward (line 57) | [Fact] method WhenIGetUrlOnTheApiGatewayWithRequestId (line 72) | private async Task WhenIGetUrlOnTheApiGatewayWithRequestId(string url,... method GivenThereIsAServiceRunningOn (line 78) | private void GivenThereIsAServiceRunningOn(int port) method ThenTheRequestIdIsReturned (line 88) | private void ThenTheRequestIdIsReturned() method ThenTheRequestIdIsReturned (line 90) | private void ThenTheRequestIdIsReturned(string expected) FILE: test/Ocelot.AcceptanceTests/Requester/MessageInvokerPoolTests.cs class MessageInvokerPoolTests (line 13) | public sealed class MessageInvokerPoolTests : RequesterSteps method Should_reuse_cookies_from_container (line 16) | [Fact] method WhenICallTheClient (line 54) | private async Task WhenICallTheClient(string url) method GivenAMessageInvokerPool (line 60) | private void GivenAMessageInvokerPool() => method GivenTheFactoryReturns (line 62) | private void GivenTheFactoryReturns(List handlers) method GivenARequest (line 68) | private void GivenARequest(DownstreamRoute downstream, int port) method GivenARequestWithAUrlAndMethod (line 70) | private void GivenARequestWithAUrlAndMethod(DownstreamRoute downstream... method GivenADownstreamService (line 78) | private void GivenADownstreamService(int port) method ShouldApplyGlobalHttpHandlerOptions_ForStaticRoutes (line 108) | [Fact] method ShouldApplyGlobalGroupHttpHandlerOptions_ForStaticRoutes_WhenRouteOptsHasAKey (line 137) | [Fact] method ThenRouteHttpHandlerOptionsAre (line 177) | private void ThenRouteHttpHandlerOptionsAre(FileRoute route, int maxCo... method GivenOptions (line 192) | private static FileHttpHandlerOptions GivenOptions(int maxConnections ... method GivenRoute (line 202) | private FileRoute GivenRoute(int port, string path = null, FileHttpHan... FILE: test/Ocelot.AcceptanceTests/Requester/PayloadTooLargeTests.cs class PayloadTooLargeTests (line 9) | [Trait("Bug", "749")] // https://github.com/ThreeMammals/Ocelot/issues/749 method Should_throw_payload_too_large_exception_using_kestrel (line 16) | [Fact] method Should_throw_payload_too_large_exception_using_http_sys (line 30) | [Fact] method GivenRoute (line 46) | private static FileRoute GivenRoute(int port, string method = null) =>... method GivenOcelotIsRunningOnKestrelWithCustomBodyMaxSize (line 58) | private Task GivenOcelotIsRunningOnKestrelWithCustomBodyMaxSize(l... method GivenOcelotIsRunningOnHttpSysWithCustomBodyMaxSize (line 66) | private Task GivenOcelotIsRunningOnHttpSysWithCustomBodyMaxSize(l... FILE: test/Ocelot.AcceptanceTests/Requester/RequesterSteps.cs class RequesterSteps (line 9) | public class RequesterSteps : Steps method WithRequesterTesting (line 11) | public static void WithRequesterTesting(IServiceCollection services) method WithRequesterTesting (line 13) | public static void WithRequesterTesting(IServiceCollection services, b... FILE: test/Ocelot.AcceptanceTests/Requester/TestMessageInvokerPool.cs class TestMessageInvokerPool (line 8) | public class TestMessageInvokerPool : MessageInvokerPool, IMessageInvoke... method TestMessageInvokerPool (line 10) | public TestMessageInvokerPool(IDelegatingHandlerFactory handlerFactory... method CreateHandler (line 14) | protected override SocketsHttpHandler CreateHandler(DownstreamRoute ro... FILE: test/Ocelot.AcceptanceTests/Requester/TestTracer.cs class TestTracer (line 7) | public class TestTracer : IOcelotTracer method Event (line 12) | public void Event(HttpContext httpContext, string @event) method SendAsync (line 15) | public async Task SendAsync(HttpRequestMessage re... FILE: test/Ocelot.AcceptanceTests/ResponseCodeTests.cs class ResponseCodeTests (line 5) | public sealed class ResponseCodeTests : Steps method ResponseCodeTests (line 7) | public ResponseCodeTests() method ShouldReturnResponse304WhenServiceReturns304 (line 11) | [Fact] method GivenThereIsAServiceRunningOn (line 25) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/ReturnsErrorTests.cs class ReturnsErrorTests (line 7) | [Trait("Commit", "84256e7")] // https://github.com/ThreeMammals/Ocelot/c... method Should_return_bad_gateway_error_if_downstream_service_doesnt_respond (line 10) | [Fact] method Should_return_internal_server_error_if_downstream_service_returns_internal_server_error (line 26) | [Fact] method Should_log_warning_if_downstream_service_returns_internal_server_error (line 43) | [Fact] method GivenOcelotIsRunningWithLogger (line 62) | private Task GivenOcelotIsRunningWithLogger() method GivenThereIsAServiceRunningOn (line 68) | private void GivenThereIsAServiceRunningOn(int port) method ThenWarningShouldBeLogged (line 73) | private void ThenWarningShouldBeLogged(int howMany) class MockLoggerFactory (line 79) | internal class MockLoggerFactory : IOcelotLoggerFactory method CreateLogger (line 84) | public IOcelotLogger CreateLogger() method Verify (line 98) | public void Verify(Times howMany) method Dispose (line 101) | protected virtual void Dispose(bool disposing) method Dispose (line 115) | public void Dispose() FILE: test/Ocelot.AcceptanceTests/Routing/RoutingBasedOnHeadersTests.cs class RoutingBasedOnHeadersTests (line 7) | [Trait("PR", "1312")] method RoutingBasedOnHeadersTests (line 13) | public RoutingBasedOnHeadersTests() method Should_match_one_header_value (line 17) | [Fact] method Should_match_one_header_value_when_more_headers (line 39) | [Fact] method Should_match_two_header_values_when_more_headers (line 62) | [Fact] method Should_not_match_one_header_value (line 89) | [Fact] method Should_not_match_one_header_value_when_no_headers (line 111) | [Fact] method Should_not_match_two_header_values_when_one_different (line 131) | [Fact] method Should_not_match_two_header_values_when_one_not_existing (line 157) | [Fact] method Should_not_match_one_header_value_when_header_duplicated (line 182) | [Fact] method Should_aggregated_route_match_header_value (line 204) | [Fact] method Should_aggregated_route_not_match_header_value (line 230) | [Fact] method Should_match_header_placeholder (line 255) | [Fact] method Should_match_header_placeholder_not_in_downstream_path (line 277) | [Fact] method Should_distinguish_route_for_different_roles (line 299) | [Fact] method Should_match_header_and_url_placeholders (line 322) | [Fact] method Should_match_header_with_braces (line 344) | [Fact] method Should_match_two_headers_with_the_same_name (line 366) | [Fact] method Hello (line 392) | private static string Hello() => Hello("Jolanta"); method Hello (line 393) | private static string Hello(string who) => $"Hello from {who}"; method GivenThereIsAServiceRunningOn (line 395) | private void GivenThereIsAServiceRunningOn(int port) method GivenThereIsAServiceRunningOn (line 398) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method ThenTheDownstreamUrlPathShouldBe (line 418) | private void ThenTheDownstreamUrlPathShouldBe(string expected) => _dow... method GivenRouteWithKey (line 420) | private FileRoute GivenRouteWithKey(int port, string path = null, stri... method GivenRouteWithUpstreamHeaderTemplates (line 423) | private FileRoute GivenRouteWithUpstreamHeaderTemplates(int port, Dict... method GivenRouteWithUpstreamHeaderTemplates (line 430) | private FileRoute GivenRouteWithUpstreamHeaderTemplates(int port, stri... method GivenAggRouteWithUpstreamHeaderTemplates (line 437) | private static FileAggregateRoute GivenAggRouteWithUpstreamHeaderTempl... FILE: test/Ocelot.AcceptanceTests/Routing/RoutingTests.cs class RoutingTests (line 7) | public sealed class RoutingTests : Steps method RoutingTests (line 12) | public RoutingTests() method Should_not_match_forward_slash_in_pattern_before_next_forward_slash (line 16) | [Fact] method Should_return_response_404_when_no_configuration_at_all (line 31) | [Fact] method Should_return_response_200_with_forward_slash_and_placeholder_only (line 41) | [Fact] method Should_return_response_200_favouring_forward_slash_with_path_route (line 56) | [Fact] method Should_return_response_200_favouring_forward_slash (line 73) | [Fact] method Should_return_response_200_favouring_forward_slash_route_because_it_is_first (line 90) | [Fact] method Should_return_response_200_with_nothing_and_placeholder_only (line 107) | [Fact] method Should_return_response_200_with_simple_url (line 122) | [Fact] method Should_fix_issue_134 (line 137) | [Fact] method Should_return_response_200_when_path_missing_forward_slash_as_first_char (line 158) | [Fact] method Should_return_response_200_when_host_has_trailing_slash (line 173) | [Fact] method Should_return_ok_when_upstream_url_ends_with_forward_slash_but_template_does_not (line 188) | [Theory] method Should_fix_issue_649 (line 206) | [Theory] method Should_return_not_found_when_upstream_url_ends_with_forward_slash_but_template_does_not (line 225) | [Fact] method Should_return_response_200_with_empty_placeholder (line 239) | [Theory] method Should_return_response_200_with_complex_url (line 256) | [Fact] method Should_return_response_200_with_complex_url_that_starts_with_placeholder (line 271) | [Fact] method Should_not_add_trailing_slash_to_downstream_url (line 286) | [Fact] method Should_return_response_201_with_simple_url (line 300) | [Fact] method Should_return_response_201_with_complex_query_string (line 314) | [Fact] method Should_return_response_200_with_placeholder_for_final_url_path2 (line 329) | [Theory] method Should_return_correct_downstream_when_omitting_ending_placeholder (line 347) | [Theory] method Should_forward_Catch_All_query_string_when_last_slash (line 376) | [Trait("PR", "1911")] method ShouldMatchComplexQueriesWithEmbeddedPlaceholders (line 401) | [Theory] method ShouldMatchComplexQueriesCaseInsensitive (line 436) | [Theory] method ShouldNotMatchComplexQueriesCaseSensitive (line 466) | [Theory] method OnlyTheLastPlaceholderShouldMatchSeveralSegments (line 494) | [Theory] method Should_return_response_201_with_simple_url_and_multiple_upstream_http_method (line 518) | [Fact] method Should_return_response_200_with_simple_url_and_any_upstream_http_method (line 534) | [Fact] method Should_return_404_when_calling_upstream_route_with_no_matching_downstream_route (line 550) | [Fact] method Should_not_set_trailing_slash_on_url_template (line 568) | [Fact] method Should_use_priority (line 585) | [Fact] method Should_match_multiple_paths_with_catch_all (line 604) | [Fact] method Should_fix_issue_271 (line 620) | [Fact] method Should_change_downstream_path_by_upstream_path_when_path_contains_malicious_characters (line 640) | [Theory] method Should_match_correct_route_when_placeholder_appears_after_query_start (line 659) | [Fact] method Should_match_correct_route_when_a_configuration_exists_with_query_param_wildcard (line 680) | [Fact] method GivenThereIsAServiceRunningOn (line 700) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method ThenTheDownstreamUrlPathShouldBe (line 716) | private void ThenTheDownstreamUrlPathShouldBe(string expectedDownstrea... method ThenTheDownstreamUrlQueryStringShouldBe (line 721) | private void ThenTheDownstreamUrlQueryStringShouldBe(string expectedQu... FILE: test/Ocelot.AcceptanceTests/Routing/RoutingWithQueryStringTests.cs class RoutingWithQueryStringTests (line 5) | public sealed class RoutingWithQueryStringTests : Steps method RoutingWithQueryStringTests (line 7) | public RoutingWithQueryStringTests() method Should_return_response_200_with_query_string_template (line 11) | [Fact] method Should_return_200_with_query_string_template_different_keys (line 33) | [Theory] method Should_map_query_parameters_with_different_names (line 58) | [Fact] method Should_map_query_parameters_with_different_names_and_save_old_param_if_placeholder_and_param_names_differ (line 80) | [Fact] method Should_map_query_parameters_with_different_names_and_save_old_param_if_placeholder_and_param_names_differ_case_sensitive (line 102) | [Fact] method Should_return_200_and_forward_query_parameters_without_duplicates (line 124) | [Theory] method Should_return_response_200_with_odata_query_string (line 147) | [Fact] method Should_return_response_200_with_query_string_upstream_template (line 170) | [Fact] method Should_return_response_404_with_query_string_upstream_template_no_query_string (line 193) | [Fact] method Should_return_response_404_with_query_string_upstream_template_different_query_string (line 213) | [Fact] method Should_return_response_200_with_query_string_upstream_template_multiple_params (line 233) | [Fact] method Should_map_when_query_parameters_has_same_names_with_placeholder (line 256) | [Fact] method Should_copy_query_string_to_downstream_path (line 286) | [Fact] method Should_not_corrupt_query_parameter_names_containing_id_when_route_has_id_placeholder_as_a_Catch_All_Query_String (line 312) | [Fact] method Should_not_corrupt_query_parameter_names_containing_id_when_route_has_id_placeholder (line 343) | [Theory] method GivenThereIsAServiceRunningOn (line 388) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method ThenTheDownstreamUrlPathShouldBe (line 406) | private void ThenTheDownstreamUrlPathShouldBe(string expected) => _dow... method ThenTheDownstreamUrlQueryStringShouldBe (line 407) | private void ThenTheDownstreamUrlQueryStringShouldBe(string expected) ... FILE: test/Ocelot.AcceptanceTests/Routing/UpstreamHostTests.cs class UpstreamHostTests (line 9) | public sealed class UpstreamHostTests : Steps method UpstreamHostTests (line 11) | public UpstreamHostTests() method Should_return_response_200_with_simple_url_and_hosts_match (line 15) | [Fact] method Should_return_response_200_with_simple_url_and_hosts_match_multiple_re_routes (line 30) | [Fact] method Should_return_response_200_with_simple_url_and_hosts_match_multiple_re_routes_reversed (line 47) | [Fact] method Should_return_response_200_with_simple_url_and_hosts_match_multiple_re_routes_reversed_with_no_host_first (line 64) | [Fact] method Should_return_response_404_with_simple_url_and_hosts_dont_match (line 81) | [Fact] method GivenThereIsAServiceRunningOn (line 95) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/Security/SecurityOptionsTests.cs class SecurityOptionsTests (line 6) | public sealed class SecurityOptionsTests: Steps method SecurityOptionsTests (line 8) | public SecurityOptionsTests() method Should_call_with_allowed_ip_in_global_config (line 12) | [Fact] method Should_block_call_with_blocked_ip_in_global_config (line 28) | [Fact] method Should_call_with_allowed_ip_in_route_config (line 44) | [Fact] method Should_block_call_with_blocked_ip_in_route_config (line 63) | [Fact] method Should_call_with_allowed_ip_in_route_config_and_blocked_ip_in_global_config (line 82) | [Fact] method Should_block_call_with_blocked_ip_in_route_config_and_allowed_ip_in_global_config (line 103) | [Fact] method GivenThereIsAServiceRunningOn (line 123) | private void GivenThereIsAServiceRunningOn(int port, IPAddress ipAddess) method GivenGlobalConfiguration (line 133) | private FileConfiguration GivenGlobalConfiguration(FileRoute route, st... method GivenRoute (line 145) | private static FileRoute GivenRoute(int port, string downstream, strin... FILE: test/Ocelot.AcceptanceTests/SequentialTests.cs class SequentialTests (line 8) | [CollectionDefinition(nameof(SequentialTests), DisableParallelization = ... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ConsulAgentServiceExtensions.cs class ConsulAgentServiceExtensions (line 5) | internal static class ConsulAgentServiceExtensions method WithServiceName (line 7) | public static AgentService WithServiceName(this AgentService agent, st... method WithPort (line 13) | public static AgentService WithPort(this AgentService agent, int port) method WithAddress (line 19) | public static AgentService WithAddress(this AgentService agent, string... method ToServiceEntry (line 25) | public static ServiceEntry ToServiceEntry(this AgentService agent) => ... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ConsulConfigurationInConsulTests.cs class ConsulConfigurationInConsulTests (line 14) | public sealed class ConsulConfigurationInConsulTests : RateLimitingSteps method ConsulConfigurationInConsulTests (line 19) | public ConsulConfigurationInConsulTests() method Should_return_response_200_with_simple_url (line 24) | [Fact] method Should_load_configuration_out_of_consul (line 70) | [Fact] method Should_load_configuration_out_of_consul_if_it_is_changed (line 130) | [Fact] method Should_handle_request_to_consul_for_downstream_service_and_make_request_no_re_routes_and_rate_limit (line 223) | [Fact] method ThenTheConfigIsUpdatedInOcelot (line 305) | private async Task ThenTheConfigIsUpdatedInOcelot() method GivenTheConsulConfigurationIs (line 324) | private void GivenTheConsulConfigurationIs(FileConfiguration config) method GivenTheServicesAreRegisteredWithConsul (line 329) | private void GivenTheServicesAreRegisteredWithConsul(params ServiceEnt... method GivenOcelotIsRunningUsingConsulToStoreConfig (line 337) | private Task GivenOcelotIsRunningUsingConsulToStoreConfig() method GivenThereIsAFakeConsulServiceDiscoveryProvider (line 345) | private void GivenThereIsAFakeConsulServiceDiscoveryProvider(int port,... class FakeConsulGetResponse (line 387) | public class FakeConsulGetResponse method FakeConsulGetResponse (line 389) | public FakeConsulGetResponse(string value) => Value = value; method GivenThereIsAServiceRunningOn (line 400) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... class FakeCache (line 410) | private class FakeCache : IOcelotCache method Get (line 412) | public FileConfiguration Get(string key, string region) => throw new... method ClearRegion (line 413) | public void ClearRegion(string region) => throw new NotImplementedEx... method TryGetValue (line 414) | public bool TryGetValue(string key, string region, out FileConfigura... method Add (line 415) | public bool Add(string key, FileConfiguration value, string region, ... method AddOrUpdate (line 416) | public FileConfiguration AddOrUpdate(string key, FileConfiguration v... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ConsulIntegrationTests.cs class ConsulIntegrationTests (line 13) | public class ConsulIntegrationTests : Steps method ConsulIntegrationTests (line 28) | public ConsulIntegrationTests() method Arrange (line 42) | private void Arrange([CallerMemberName] string serviceName = null) method Should_return_service_from_consul (line 53) | [Fact] method Should_use_token (line 68) | [Fact] method Should_not_return_services_with_invalid_address (line 87) | [Fact] method Should_not_return_services_with_empty_address (line 105) | [Fact] method Should_not_return_services_with_invalid_port (line 123) | [Fact] method GetAsync_NoEntries_ShouldLogWarning (line 141) | [Fact] method GivenService (line 158) | private static AgentService GivenService(int port, string address = nu... method ThenTheLoggerHasBeenCalledCorrectlyWithValidationWarning (line 167) | private void ThenTheLoggerHasBeenCalledCorrectlyWithValidationWarning() method GivenThereIsAFakeConsulServiceDiscoveryProvider (line 177) | private void GivenThereIsAFakeConsulServiceDiscoveryProvider([CallerMe... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ConsulServiceDiscoveryTests.cs class ConsulServiceDiscoveryTests (line 27) | public sealed partial class ConsulServiceDiscoveryTests : ConcurrentStep... method ConsulServiceDiscoveryTests (line 38) | public ConsulServiceDiscoveryTests() method Dispose (line 45) | public override void Dispose() method ShouldDiscoverServicesInConsulAndLoadBalanceByLeastConnectionWhenConfigInRoute (line 51) | [Fact] method ShouldHandleRequestToConsulForDownstreamServiceAndMakeRequest (line 76) | [Fact] method ShouldHandleRequestToConsulForDownstreamServiceAndMakeRequestWhenDynamicRoutingWithNoRoutes (line 98) | [Fact] method ShouldUseConsulServiceDiscoveryAndLoadBalanceRequestWhenDynamicRoutingWithNoRoutes (line 129) | [Fact] method ShouldUseAclTokenToMakeRequestToConsul (line 154) | [Fact] method ShouldSendRequestToServiceAfterItBecomesAvailableInConsul (line 180) | [Fact] method ShouldPollConsulForDownstreamServiceAndMakeRequest (line 211) | [Fact] method WhenIGetUrlOnTheApiGatewayWaitingForTheResponseToBeOk (line 238) | private async Task WhenIGetUrlOnTheApiGatewayWaitingForTheResponseToBe... method ShouldUseConsulServiceDiscoveryWhenThereAreTwoUpstreamHosts (line 256) | [Theory] method ShouldReturnServiceAddressByOverriddenServiceBuilderWhenThereIsANode (line 319) | [Fact] method GetAnalyzer (line 361) | private TLoadBalancer GetAnalyzer... method WithLbAnalyzer (line 371) | private void WithLbAnalyzer(IServ... method ShouldReturnDifferentServicesWhenThereAre2SequentialRequestsToDifferentServices (line 376) | [Theory] method ShouldReturnDifferentServicesWhenSequentiallyRequestingToDifferentServices (line 417) | [Theory] method ShouldReturnDifferentServicesWhenConcurrentlyRequestingToDifferentServices (line 466) | [Theory] method ShouldApplyGlobalLoadBalancerOptions_ForAllDynamicRoutes (line 501) | [Fact] method WithLbAnalyzer (line 530) | private Action WithLbAnalyzer(string loadBalancer)... method ThenResponsesShouldHaveBodyFromDifferentServices (line 539) | private void ThenResponsesShouldHaveBodyFromDifferentServices(int[] po... method WithConsul (line 563) | private static void WithConsul(IServiceCollection services) => services method WithConsulServiceBuilder (line 566) | private static void WithConsulServiceBuilder(IServiceCollection servic... class MyConsulServiceBuilder (line 569) | public class MyConsulServiceBuilder : DefaultConsulServiceBuilder method MyConsulServiceBuilder (line 571) | public MyConsulServiceBuilder(IHttpContextAccessor contextAccessor, ... method GetDownstreamHost (line 574) | protected override string GetDownstreamHost(ServiceEntry entry, Node... method GivenServiceEntry (line 577) | private static ServiceEntry GivenServiceEntry(int port, string address... method GivenDiscoveryRoute (line 589) | private FileRoute GivenDiscoveryRoute(string downstream = null, string... method GivenServiceDiscovery (line 605) | private FileConfiguration GivenServiceDiscovery(int consulPort, params... method WhenIGetUrlOfRequestComingFromHost (line 618) | private async Task WhenIGetUrlOfRequestComingFromHost(string url, stri... method ThenTheTokenIs (line 627) | private void ThenTheTokenIs(string token) method WhenIAddAServiceBackIn (line 632) | private void WhenIAddAServiceBackIn(ServiceEntry serviceEntry) method WhenIRemoveAService (line 637) | private void WhenIRemoveAService(ServiceEntry serviceEntry) method GivenIResetCounters (line 642) | private void GivenIResetCounters() method GivenTheServicesAreRegisteredWithConsul (line 648) | private void GivenTheServicesAreRegisteredWithConsul(params ServiceEnt... method GivenTheServiceNodesAreRegisteredWithConsul (line 649) | private void GivenTheServiceNodesAreRegisteredWithConsul(params Node[]... method ServiceNameRegex (line 651) | [GeneratedRegex("/v1/health/service/(?[^/]+)", RegexOptio... method GivenThereIsAFakeConsulServiceDiscoveryProvider (line 654) | private void GivenThereIsAFakeConsulServiceDiscoveryProvider(string url) method ThenConsulShouldHaveBeenCalledTimes (line 695) | private void ThenConsulShouldHaveBeenCalledTimes(int expected) => _cou... method ThenConsulNodesShouldHaveBeenCalledTimes (line 696) | private void ThenConsulNodesShouldHaveBeenCalledTimes(int expected) =>... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ConsulTwoDownstreamServicesTests.cs class ConsulTwoDownstreamServicesTests (line 7) | public sealed class ConsulTwoDownstreamServicesTests : Steps method ConsulTwoDownstreamServicesTests (line 11) | public ConsulTwoDownstreamServicesTests() method Should_fix_issue_194 (line 16) | [Fact] method GivenThereIsAFakeConsulServiceDiscoveryProvider (line 46) | private void GivenThereIsAFakeConsulServiceDiscoveryProvider(int port) method GivenProductServiceIsRunning (line 60) | private void GivenProductServiceIsRunning(int port, string basePath, H... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ConsulWebSocketTests.cs class ConsulWebSocketTests (line 13) | public sealed class ConsulWebSocketTests : WebSocketsSteps method ShouldProxyWebsocketInputToDownstreamServiceAndUseServiceDiscoveryAndLoadBalancer (line 17) | [Fact] method WithConsul (line 87) | private void WithConsul(IServiceCollection services) => services.AddOc... method GivenTheServicesAreRegisteredWithConsul (line 89) | private void GivenTheServicesAreRegisteredWithConsul(params ServiceEnt... method GivenThereIsAFakeConsulServiceDiscoveryProvider (line 97) | private void GivenThereIsAFakeConsulServiceDiscoveryProvider(int port,... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/DynamicRoutingTests.cs class DynamicRoutingTests (line 26) | public class DynamicRoutingTests : ConcurrentSteps method ShouldForwardQueryStringToDownstream (line 28) | [Fact] method ShouldApplyGlobalLoadBalancerOptions_ForAllDynamicRoutes (line 50) | [Fact] method ShouldApplyGlobalGroupLoadBalancerOptions_ForDynamicRoutes_WhenRouteOptsHasAKey (line 72) | [Fact] method ShouldApplyGlobalCacheOptions_ForAllDynamicRoutes (line 119) | [Fact] method AssertCachedRoute (line 145) | private void AssertCachedRoute(int ttl, string serviceName, int[] port... method ShouldApplyGlobalGroupCacheOptions_WhenRouteOptsHasAKey (line 177) | [Fact] method ShouldApplyGlobalHttpHandlerOptions_ForAllDynamicRoutes (line 242) | [Fact] method ShouldApplyGlobalGroupHttpHandlerOptions_ForDynamicRoutes_WhenRouteOptsHasAKey (line 272) | [Fact] method ShouldApplyGlobalAuthenticationOptions_ForAllDynamicRoutes (line 330) | [Fact] method ShouldApplyGlobalGroupAuthenticationOptions_ForDynamicRoutes_WhenRouteOptsHasAKey (line 362) | [Fact] method ShouldApplyGlobalQosOptions_ForAllDynamicRoutes (line 423) | [Fact] method ShouldApplyGlobalQosOptions_ForAllDynamicRoutes_WithGroupedOpts (line 457) | [Fact] method GivenDynamicRouting (line 521) | private FileConfiguration GivenDynamicRouting(Dictionary serv... method WithDiscoveryAndPolly (line 562) | private static void WithDiscoveryAndPolly(IServiceCollection services)... method WithDiscoveryAndRequesterTesting (line 565) | private static void WithDiscoveryAndRequesterTesting(IServiceCollectio... method WithDiscoveryAndJwtBearerAuthentication (line 570) | private static Action WithDiscoveryAndJwtBearerAut... method ThenRouteHttpHandlerOptionsAre (line 579) | private void ThenRouteHttpHandlerOptionsAre(string serviceName, IDicti... method ServiceNamespace (line 604) | protected override string ServiceNamespace() => nameof(DynamicRoutingT... class DynamicRoutingDiscoveryProvider (line 607) | public class DynamicRoutingDiscoveryProvider : IServiceDiscoveryProvider method DynamicRoutingDiscoveryProvider (line 613) | public DynamicRoutingDiscoveryProvider(IServiceProvider serviceProvide... method GetAsync (line 620) | public Task> GetAsync() FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/EurekaServiceDiscoveryTests.cs method EurekaServiceDiscoveryTests (line 16) | public EurekaServiceDiscoveryTests() method Should_use_eureka_service_discovery_and_make_request (line 22) | [Theory(Skip = "TODO Requires upgrade to v4.0 after package upgraded")] method GivenOcelotIsRunningWithEureka (line 72) | private void GivenOcelotIsRunningWithEureka() method GivenTheServicesAreRegisteredWithEureka (line 75) | private void GivenTheServicesAreRegisteredWithEureka(params IServiceInst... method GivenThereIsAFakeEurekaServiceDiscoveryProvider (line 83) | private void GivenThereIsAFakeEurekaServiceDiscoveryProvider(int port, s... method GivenEurekaProductServiceOneIsRunning (line 153) | private void GivenEurekaProductServiceOneIsRunning(int port, HttpStatusC... class FakeEurekaService (line 172) | public class FakeEurekaService : IServiceInstance method FakeEurekaService (line 174) | public FakeEurekaService(string serviceId, string host, int port, bool... class Port (line 193) | public class Port class SecurePort (line 201) | public class SecurePort class DataCenterInfo (line 209) | public class DataCenterInfo class LeaseInfo (line 215) | public class LeaseInfo class ValueMetadata (line 224) | public class ValueMetadata class Instance (line 229) | public class Instance class Application (line 252) | public class Application class Applications (line 257) | public class Applications class EurekaApplications (line 263) | public class EurekaApplications FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/KubeIntegrationTests.cs class KubeIntegrationTests (line 18) | public class KubeIntegrationTests : Steps method KubeIntegrationTests (line 25) | public KubeIntegrationTests() method Should_return_service_from_k8s (line 32) | [Fact] method Should_not_return_service_from_k8s_when_k8s_api_returns_error_response (line 59) | [Theory] method Should_return_single_service_from_k8s_during_concurrent_calls (line 120) | [Fact] method GivenClientAndProvider (line 158) | private (IKubeApiClient Client, KubeClientOptions ClientOptions, Kube ... method GivenEndpoints (line 184) | protected EndpointsV1 GivenEndpoints( method GivenThereIsAFakeKubeServiceDiscoveryProvider (line 212) | protected void GivenThereIsAFakeKubeServiceDiscoveryProvider( method GivenThereIsAFakeKubeServiceDiscoveryProvider (line 216) | protected void GivenThereIsAFakeKubeServiceDiscoveryProvider(string ur... method GetKubeApiErrorMessage (line 257) | private static string GetKubeApiErrorMessage(string serviceName, strin... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/KubernetesServiceDiscoveryTests.cs class KubernetesServiceDiscoveryTests (line 25) | public sealed class KubernetesServiceDiscoveryTests : ConcurrentSteps method KubernetesServiceDiscoveryTests (line 31) | public KubernetesServiceDiscoveryTests() method ShouldReturnServicesFromK8s (line 43) | [Theory] method ShouldReturnServicesByPortNameAsDownstreamScheme (line 70) | [Theory] method ShouldHighlyLoadOnStableKubeProvider_WithRoundRobinLoadBalancing (line 111) | [Theory] method ShouldHighlyLoadOnUnstableKubeProvider_WithRoundRobinLoadBalancing (line 145) | [Theory] method ShouldReturnServicesFromK8s_AddKubernetesWithNullConfigureOptions (line 170) | [Theory] method ShouldReturnServicesFromK8s_OneWatchRequestUpdatesServicesInfo (line 198) | [Fact] method ShouldApplyGlobalLoadBalancerOptions_ForAllDynamicRoutes (line 246) | [Theory] method AddKubernetesWithNullConfigureOptions (line 294) | private void AddKubernetesWithNullConfigureOptions(IServiceCollection ... method GivenServiceDiscoveryAndLoadBalancing (line 297) | private (EndpointsV1 Endpoints, int[] ServicePorts) GivenServiceDiscov... method HighlyLoadOnKubeProviderAndRoundRobinBalancer (line 327) | private void HighlyLoadOnKubeProviderAndRoundRobinBalancer(string disc... method ThenTheTokenIs (line 389) | private void ThenTheTokenIs(string token) => _receivedToken.ShouldBe(t... method ThenK8sShouldBeCalledExactly (line 390) | private void ThenK8sShouldBeCalledExactly(int totalRequests) => _k8sCo... method GivenEndpoints (line 392) | private EndpointsV1 GivenEndpoints(EndpointSubsetV1 subset, [CallerMem... method GivenSubsetAddress (line 408) | private static EndpointSubsetV1 GivenSubsetAddress(Uri downstream, End... method GivenRouteWithServiceName (line 424) | private FileRoute GivenRouteWithServiceName([CallerMemberName] string ... method GivenKubeConfiguration (line 436) | private FileConfiguration GivenKubeConfiguration(FileRoute route, stri... method GivenThereIsAFakeKubernetesProvider (line 454) | private void GivenThereIsAFakeKubernetesProvider(EndpointsV1 endpoints, method GivenThereIsAFakeKubernetesProvider (line 458) | private void GivenThereIsAFakeKubernetesProvider(EndpointsV1 endpoints... method GivenThereIsAFakeKubernetesProvider (line 508) | private void GivenThereIsAFakeKubernetesProvider(ResourceEventV1 _k8sWatchResetEvent.Set() ? 1... method GivenHandleWatchRequest (line 518) | private async Task GivenHandleWatchRequest(HttpContext context, method GetValidateScopesDescriptor (line 551) | private static ServiceDescriptor GetValidateScopesDescriptor() method AddKubernetes (line 555) | private IOcelotBuilder AddKubernetes(IServiceCollection services) => s... method WithKubernetes (line 559) | private void WithKubernetes(IServiceCollection services) => AddKuberne... method WithKubernetesAndFakeKubeServiceCreator (line 560) | private void WithKubernetesAndFakeKubeServiceCreator(IServiceCollectio... method WithKubernetesAndRoundRobin (line 562) | private void WithKubernetesAndRoundRobin(IServiceCollection services) ... method GetRoundRobinAnalyzer (line 574) | private RoundRobinAnalyzer GetRoundRobinAnalyzer(DownstreamRoute route... method ServiceName (line 582) | protected override string ServiceName([CallerMemberName] string servic... method ServiceNamespace (line 583) | protected override string ServiceNamespace() => nameof(KubernetesServi... class FakeKubeServiceCreator (line 586) | internal class FakeKubeServiceCreator : KubeServiceCreator method FakeKubeServiceCreator (line 588) | public FakeKubeServiceCreator(IOcelotLoggerFactory factory) : base(fac... method GetServiceHostAndPort (line 590) | protected override ServiceHostAndPort GetServiceHostAndPort(KubeRegist... method GetServiceTags (line 599) | protected override IEnumerable GetServiceTags(KubeRegistryConf... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/PollKubeConcurrencyIntegrationTests.cs class PollKubeConcurrencyIntegrationTests (line 21) | public class PollKubeConcurrencyIntegrationTests : Steps method PollKubeConcurrencyIntegrationTests (line 40) | public PollKubeConcurrencyIntegrationTests() method Scenario_1_SingleCallAfterStart_HandlerCalledOnce (line 56) | [Fact(Skip = "Under development")] method Scenario_2_ThreeParallelCallsWithinFirstInterval_HandlerCalledOnce (line 92) | [Fact(Skip = "Under development")] method Scenario_3_FirstIntervalThenSecondPollingWithNewVersion_HandlerCalledTwice (line 143) | [Fact(Skip = "Under development")] method Scenario_4_MultipleCallsEachIntervalNewVersionEachPolling_CounterIncreasedByOne (line 203) | [Fact(Skip = "Under development")] method Scenario_5_HeavyLoad1000CallsEachInterval_HandlerCalledTwice (line 268) | [Fact(Skip = "Under development")] method Scenario_5b_HeavyLoadAllResponsesConsistent_NoPartialUpdates (line 330) | [Fact(Skip = "Under development")] method GivenClientAndPollKubeProvider (line 390) | private (IKubeApiClient Client, KubeClientOptions ClientOptions, PollK... method GivenThereIsAFakeKubeServiceDiscoveryProvider (line 418) | protected void GivenThereIsAFakeKubeServiceDiscoveryProvider( method GivenEndpointsWithVersion (line 450) | private static EndpointsV1 GivenEndpointsWithVersion(int version) FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/PollKubeIntegrationTests.cs class PollKubeIntegrationTests (line 17) | [Trait("Milestone", ".NET 10")] // https://github.com/ThreeMammals/Ocelo... method PollKubeIntegrationTests (line 27) | public PollKubeIntegrationTests() method Should_return_service_from_k8s_on_first_call (line 35) | [Fact(Skip = "Under development")] method Should_return_queued_service_on_concurrent_calls (line 70) | [Fact] method Should_poll_at_specified_intervals (line 111) | [Fact] method Should_remove_outdated_versions_and_keep_latest (line 149) | [Fact] method Should_return_empty_when_provider_disposed (line 188) | [Fact] method Should_handle_k8s_api_error_gracefully (line 222) | [Fact] method Should_perform_initial_poll_on_first_call_when_queue_is_empty (line 249) | [Fact(Skip = "Under development")] method Should_not_enqueue_services_when_already_polling (line 283) | [Fact] method Should_safely_handle_disposal_during_polling (line 314) | [Fact(Skip = "Under development")] method GivenClientAndPollKubeProvider (line 345) | private (IKubeApiClient Client, KubeClientOptions ClientOptions, PollK... method GivenThereIsAFakeKubeServiceDiscoveryProvider (line 377) | protected void GivenThereIsAFakeKubeServiceDiscoveryProvider( method GivenThereIsAFakeKubeServiceDiscoveryProvider (line 381) | protected void GivenThereIsAFakeKubeServiceDiscoveryProvider( method GivenEndpoints (line 414) | private static EndpointsV1 GivenEndpoints() method GetKubeApiErrorMessage (line 433) | private static string GetKubeApiErrorMessage(string serviceName, strin... FILE: test/Ocelot.AcceptanceTests/ServiceDiscovery/ServiceFabricTests.cs class ServiceFabricTests (line 6) | public sealed class ServiceFabricTests : Steps method ServiceFabricTests (line 10) | public ServiceFabricTests() method Should_fix_issue_555 (line 14) | [Fact] method Should_support_service_fabric_naming_and_dns_service_stateless_and_guest (line 53) | [Fact] method Should_support_service_fabric_naming_and_dns_service_statefull_and_actors (line 90) | [Fact] method should_support_placeholder_in_service_fabric_service_name (line 127) | [Theory] method GivenThereIsAServiceRunningOn (line 169) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/SslTests.cs class SslTests (line 6) | public sealed class SslTests : Steps method SslTests (line 8) | public SslTests() method Should_dangerous_accept_any_server_certificate_validator (line 12) | [Fact] method Should_not_dangerous_accept_any_server_certificate_validator (line 27) | [Fact] method GivenSslRoute (line 41) | private FileRoute GivenSslRoute(int port, bool validatorEnabled) method GivenThereIsAServiceRunningOn (line 49) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/StartupTests.cs class StartupTests (line 10) | public class StartupTests : Steps method StartupTests (line 12) | public StartupTests() method Should_not_try_and_write_to_disk_on_startup_when_not_using_admin_api (line 16) | [Fact] method GivenOcelotIsRunningWithBlowingUpDiskRepo (line 31) | private void GivenOcelotIsRunningWithBlowingUpDiskRepo(IFileConfigurat... method GivenThereIsAServiceRunningOn (line 37) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... class FakeFileConfigurationRepository (line 48) | private class FakeFileConfigurationRepository : IFileConfigurationRepo... method Get (line 50) | public Task> Get() => throw new NotImple... method Set (line 51) | public Task Set(FileConfiguration fileConfiguration) => th... FILE: test/Ocelot.AcceptanceTests/Steps.cs class Steps (line 7) | public class Steps : AcceptanceSteps method Steps (line 9) | public Steps() : base() method IsCiCd (line 13) | public static bool IsCiCd() => IsRunningInGitHubActions(); method IsRunningInGitHubActions (line 14) | public static bool IsRunningInGitHubActions() method GivenOcelotIsRunningWithDelegatingHandler (line 17) | public void GivenOcelotIsRunningWithDelegatingHandler(bool g... method GivenOcelotIsRunningAsync (line 21) | public Task GivenOcelotIsRunningAsync(OcelotPipelineConfiguration... FILE: test/Ocelot.AcceptanceTests/Transformations/ClaimsToDownstreamPathTests.cs class ClaimsToDownstreamPathTests (line 11) | [Trait("Feat", "968")] // https://github.com/ThreeMammals/Ocelot/pull/968 method Should_return_200_OK_and_change_downstream_path (line 15) | [Fact] method UpdateSubClaim (line 44) | protected override void UpdateSubClaim(object sender, AuthenticationTo... method ThenTheDownstreamPathIs (line 50) | private void ThenTheDownstreamPathIs(string path) method MapStatus (line 54) | protected override Task MapStatus(HttpContext context) FILE: test/Ocelot.AcceptanceTests/Transformations/ClaimsToHeadersForwardingTests.cs class ClaimsToHeadersForwardingTests (line 11) | [Trait("Commit", "84256e7")] // https://github.com/ThreeMammals/Ocelot/c... method Should_return_200_OK_and_forward_claim_as_header (line 15) | [Fact] method UpdateSubClaim (line 50) | protected override void UpdateSubClaim(object sender, AuthenticationTo... method MapStatus (line 55) | protected override Task MapStatus(HttpContext context) FILE: test/Ocelot.AcceptanceTests/Transformations/ClaimsToQueryStringForwardingTests.cs class ClaimsToQueryStringForwardingTests (line 11) | [Trait("Commit", "f7f4a39")] // https://github.com/ThreeMammals/Ocelot/c... method GivenAddQueriesToRequest (line 15) | private static Dictionary GivenAddQueriesToRequest(Fil... method Should_return_200_OK_and_forward_claim_as_query_string (line 32) | [Fact] method Should_return_200_OK_and_forward_claim_as_query_string_and_preserve_original_string (line 55) | [Fact] method ThenTheQueryStringIs (line 79) | private void ThenTheQueryStringIs(string queryString) method UpdateSubClaim (line 85) | protected override void UpdateSubClaim(object sender, AuthenticationTo... method MapStatus (line 90) | protected override Task MapStatus(HttpContext context) FILE: test/Ocelot.AcceptanceTests/Transformations/HeaderTests.cs class HeaderTests (line 13) | [Trait("Feat", "204")] // https://github.com/ThreeMammals/Ocelot/pull/204 method Should_transform_upstream_header (line 20) | [Fact] method Should_transform_downstream_header (line 38) | [Fact] method Should_fix_issue_190 (line 55) | [Fact] method Should_fix_issue_205 (line 78) | [Fact] method Should_fix_issue_417 (line 101) | [Fact] method Request_should_reuse_cookies_with_cookie_container (line 125) | [Fact] method Request_should_have_own_cookies_no_cookie_container (line 147) | [Fact] method Issue_474_should_not_put_spaces_in_header (line 169) | [Fact] method Issue_474_should_put_spaces_in_header (line 188) | [Fact] method Should_pass_remote_ip_address_if_as_x_forwarded_for_header (line 209) | [Fact(DisplayName = "TODO Redevelop Placeholders as part of Header Tra... method ShouldApplyGlobalUpstreamHeaderTransformsForAllRoutes (line 243) | [Fact] method ShouldApplyGlobalDownstreamHeaderTransformsForAllRoutes (line 304) | [Fact] method GetRemoteIpAddress (line 344) | private static string GetRemoteIpAddress(HttpContext context) method GivenThereIsAServiceRunningOn (line 352) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... method GivenThereIsAServiceReturningAHeaderBack (line 385) | private void GivenThereIsAServiceReturningAHeaderBack(int port, HttpSt... method GivenThereIsAServiceEchoingAHeader (line 400) | private void GivenThereIsAServiceEchoingAHeader(int port, HttpStatusCo... method WhenIGetUrlOnTheApiGatewayWithAllowAutoRedirect (line 422) | private async Task WhenIGetUrlOnTheApiGatewayWithAllowAutoRedirect(str... FILE: test/Ocelot.AcceptanceTests/Transformations/MethodTests.cs class MethodTests (line 6) | public sealed class MethodTests : Steps method MethodTests (line 8) | public MethodTests() method Should_return_response_200_when_get_converted_to_post (line 12) | [Fact] method Should_return_response_200_when_get_converted_to_post_with_content (line 26) | [Fact] method Should_return_response_200_when_get_converted_to_get_with_content (line 44) | [Fact] method GivenRouteWithMethods (line 62) | private FileRoute GivenRouteWithMethods(int port, string up = null, st... method GivenThereIsAServiceRunningOn (line 72) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.AcceptanceTests/Usings.cs class Usings (line 24) | internal class Usings { } FILE: test/Ocelot.AcceptanceTests/WebSockets/ClientWebSocketTests.cs class ClientWebSocketTests (line 15) | public sealed class ClientWebSocketTests : WebSocketsSteps method ClientWebSocketTests (line 20) | public ClientWebSocketTests() method Dispose (line 25) | public override void Dispose() method Http11CLient_DirectConnection_ShouldConnect (line 34) | [Theory] method Http20CLient_DirectConnection_ShouldConnect (line 55) | [Fact] method Http11CLient_OcelotInTheMiddle_ShouldConnect (line 82) | [Theory] method Http20CLient_OcelotInTheMiddle_ShouldConnect (line 117) | [Fact(DisplayName = "TODO " + nameof(Http20CLient_OcelotInTheMiddle_Sh... method Http11Client_ConnectionClosedPrematurely_ShouldCloseSocketsWithoutExceptions (line 145) | [Theory] method Bug930_StepsToReproduce (line 205) | private static void Bug930_StepsToReproduce(MemoryLogger logger) method Expected (line 220) | private static string Expected([CallerMemberName] string testName = null) method GivenWsRoute (line 223) | private static FileRoute GivenWsRoute(string scheme, string host, int ... method GivenOptions (line 231) | private void GivenOptions() method GivenHttp2Options (line 247) | private void GivenHttp2Options() method WhenISendAndReceiveEchoMessage (line 265) | private async Task WhenISendAndReceiveEchoMessage([CallerMembe... FILE: test/Ocelot.AcceptanceTests/WebSockets/WebSocketsFactoryTests.cs class WebSocketsFactoryTests (line 6) | public sealed class WebSocketsFactoryTests : WebSocketsSteps method ShouldProxyWebsocketInputToDownstreamService (line 8) | [Fact] method ShouldProxyWebsocketInputToDownstreamServiceAndUseLoadBalancer (line 27) | [Fact] method GivenRoute (line 47) | private FileRoute GivenRoute(string downstream = null, params int[] po... FILE: test/Ocelot.AcceptanceTests/WebSockets/WebSocketsSteps.cs class WebSocketsSteps (line 16) | public class WebSocketsSteps : Steps method WithConsole (line 22) | protected static void WithConsole(WebHostBuilderContext context, ILogg... method WithConfiguration (line 25) | protected static void WithConfiguration(WebHostBuilderContext hosting,... method WithoutServices (line 27) | protected static void WithoutServices(IServiceCollection services) { } method GivenWebSocketServiceIsRunningOnAsync (line 29) | protected Task GivenWebSocketServiceIsRunningOnAsync(string url, Actio... method ThenBothDownstreamServicesAreCalled (line 38) | protected void ThenBothDownstreamServicesAreCalled() method GivenWebSocketsServiceIsRunningAsync (line 46) | protected Task GivenWebSocketsServiceIsRunningAsync(int port, string p... method GivenWebSocketsHttp2ServiceIsRunningAsync (line 72) | protected Task GivenWebSocketsHttp2ServiceIsRunningAsync(int port, Fun... method EchoAsync (line 92) | protected static async Task EchoAsync(WebSocket ws, CancellationToken ... method MessageAsync (line 116) | protected static async Task MessageAsync(WebSocket webSocket, Cancella... method StartClient (line 136) | protected async Task StartClient(Uri url) method StartSecondClient (line 179) | protected async Task StartSecondClient(Uri url) method WhenIStartTheClients (line 223) | protected Task WhenIStartTheClients(int port) method StartOcelotWithWebSockets (line 231) | protected Task StartOcelotWithWebSockets(int port, Action steps.Dispose(); method AllTheThingsBenchmarks (line 14) | public AllTheThingsBenchmarks() method SetUp (line 21) | [GlobalSetup] method Baseline (line 35) | [Benchmark(Baseline = true)] FILE: test/Ocelot.Benchmarks/BenchmarkSteps.cs class BenchmarkSteps (line 9) | internal class BenchmarkSteps : AcceptanceSteps method GivenThereIsAServiceRunningOnKestrel (line 11) | public void GivenThereIsAServiceRunningOnKestrel(int port, string base... method GivenThereIsAServiceRunningOnKestrel (line 20) | public void GivenThereIsAServiceRunningOnKestrel(int port, string base... method GivenOcelotIsRunning (line 23) | public int GivenOcelotIsRunning(Action postConfigureH... method GivenOcelotIsRunning (line 25) | public int GivenOcelotIsRunning(Action configureA... FILE: test/Ocelot.Benchmarks/DownstreamRouteFinderMiddlewareBenchmarks.cs class DownstreamRouteFinderMiddlewareBenchmarks (line 13) | [SimpleJob(launchCount: 1, warmupCount: 2, iterationCount: 5)] method DownstreamRouteFinderMiddlewareBenchmarks (line 21) | public DownstreamRouteFinderMiddlewareBenchmarks() method SetUp (line 28) | [GlobalSetup] method Baseline (line 59) | [Benchmark(Baseline = true)] FILE: test/Ocelot.Benchmarks/ExceptionHandlerMiddlewareBenchmarks.cs class ExceptionHandlerMiddlewareBenchmarks (line 11) | [SimpleJob(launchCount: 1, warmupCount: 2, iterationCount: 5)] method ExceptionHandlerMiddlewareBenchmarks (line 19) | public ExceptionHandlerMiddlewareBenchmarks() method SetUp (line 26) | [GlobalSetup] method Baseline (line 46) | [Benchmark(Baseline = true)] FILE: test/Ocelot.Benchmarks/MsLoggerBenchmarks.cs class MsLoggerBenchmarks (line 12) | [Config(typeof(MsLoggerBenchmarks))] method Dispose (line 18) | public void Dispose() => steps.Dispose(); method MsLoggerBenchmarks (line 20) | public MsLoggerBenchmarks() method SendRequest (line 27) | private Task SendRequest() method LogLevelCritical (line 32) | [Benchmark(Baseline = true)] method SetUpCritical (line 35) | [GlobalSetup(Target = nameof(LogLevelCritical))] method LogLevelError (line 38) | [Benchmark] method SetupError (line 41) | [GlobalSetup(Target = nameof(LogLevelError))] method LogLevelWarning (line 44) | [Benchmark] method SetUpWarning (line 47) | [GlobalSetup(Target = nameof(LogLevelWarning))] method LogLevelInformation (line 50) | [Benchmark] method SetUpInformation (line 53) | [GlobalSetup(Target = nameof(LogLevelInformation))] method LogLevelTrace (line 56) | [Benchmark] method SetUpTrace (line 59) | [GlobalSetup(Target = nameof(LogLevelTrace))] method OcelotCleanup (line 62) | [GlobalCleanup(Targets = new[] method Cleanup (line 72) | [GlobalCleanup] method GivenOcelotIsRunning (line 78) | private void GivenOcelotIsRunning(LogLevel minLogLevel) method OcelotFactory (line 103) | private void OcelotFactory(LogLevel minLogLevel) FILE: test/Ocelot.Benchmarks/PayloadBenchmarks.cs class PayloadBenchmarks (line 12) | [Config(typeof(PayloadBenchmarks))] method Dispose (line 17) | public void Dispose() => steps.Dispose(); method PayloadBenchmarks (line 22) | public PayloadBenchmarks() method SetUp (line 29) | [GlobalSetup] method Baseline (line 44) | [Benchmark(Baseline = true)] method Payloads (line 57) | public static IEnumerable Payloads() method GetBaseDirectory (line 82) | private static string GetBaseDirectory() method GeneratePayload (line 89) | private static object[] GeneratePayload(int size, string directory, st... method GenerateDummyJsonFile (line 108) | private static string GenerateDummyJsonFile(int sizeInKb, string paylo... method GenerateDummyDatFile (line 153) | private static string GenerateDummyDatFile(int sizeInMb, string payloa... FILE: test/Ocelot.Benchmarks/Program.cs class Program (line 5) | public class Program method Main (line 7) | public static void Main(string[] args) FILE: test/Ocelot.Benchmarks/ResponseBenchmarks.cs class ResponseBenchmarks (line 12) | [Config(typeof(ResponseBenchmarks))] method Dispose (line 21) | public void Dispose() => steps.Dispose(); method ResponseBenchmarks (line 23) | public ResponseBenchmarks() method SetUp (line 30) | [GlobalSetup] method Baseline (line 43) | [Benchmark(Baseline = true)] method Payloads (line 56) | public static IEnumerable Payloads() method GetBaseDirectory (line 81) | private static string GetBaseDirectory() method GeneratePayload (line 88) | private static object[] GeneratePayload(int size, string directory, st... method GenerateDummyJsonFile (line 107) | private static string GenerateDummyJsonFile(int sizeInKb, string paylo... method GenerateDummyDatFile (line 152) | private static string GenerateDummyDatFile(int sizeInMb, string payloa... method GivenThereIsAServiceRunningOn (line 168) | private void GivenThereIsAServiceRunningOn(int port, string basePath, ... FILE: test/Ocelot.Benchmarks/SerilogBenchmarks.cs class SerilogBenchmarks (line 14) | [Config(typeof(SerilogBenchmarks))] method Dispose (line 20) | public void Dispose() => steps.Dispose(); method SerilogBenchmarks (line 22) | public SerilogBenchmarks() method SendRequest (line 29) | private Task SendRequest() method LogLevelCritical (line 34) | [Benchmark(Baseline = true)] method SetUpCritical (line 37) | [GlobalSetup(Target = nameof(LogLevelCritical))] method LogLevelError (line 40) | [Benchmark] method SetupError (line 43) | [GlobalSetup(Target = nameof(LogLevelError))] method LogLevelWarning (line 46) | [Benchmark] method SetUpWarning (line 49) | [GlobalSetup(Target = nameof(LogLevelWarning))] method LogLevelInformation (line 52) | [Benchmark] method SetUpInformation (line 55) | [GlobalSetup(Target = nameof(LogLevelInformation))] method LogLevelTrace (line 58) | [Benchmark] method SetUpTrace (line 61) | [GlobalSetup(Target = nameof(LogLevelTrace))] method OcelotCleanup (line 64) | [GlobalCleanup(Targets = new[] method Cleanup (line 74) | [GlobalCleanup] method GivenOcelotIsRunning (line 80) | private void GivenOcelotIsRunning(LogLevel minLogLevel) method OcelotFactory (line 132) | private void OcelotFactory(LogLevel minLogLevel) FILE: test/Ocelot.Benchmarks/UrlPathToUrlPathTemplateMatcherBenchmarks.cs class UrlPathToUrlPathTemplateMatcherBenchmarks (line 6) | [Config(typeof(UrlPathToUrlPathTemplateMatcherBenchmarks))] method UrlPathToUrlPathTemplateMatcherBenchmarks (line 13) | public UrlPathToUrlPathTemplateMatcherBenchmarks() method SetUp (line 20) | [GlobalSetup] method Baseline (line 28) | [Benchmark(Baseline = true)] FILE: test/Ocelot.ManualTest/Actions/Basic.cs class Basic (line 6) | public class Basic method RunAsync (line 8) | internal static async Task RunAsync(string[] args) FILE: test/Ocelot.ManualTest/Actions/ManualTests.cs class ManualTests (line 3) | public class ManualTests method Run (line 5) | internal static void Run(string[] args) FILE: test/Ocelot.ManualTest/DelegatingHandlers/FakeHandler.cs class FakeHandler (line 5) | public class FakeHandler : DelegatingHandler method FakeHandler (line 9) | public FakeHandler(IOcelotLoggerFactory factory) method SendAsync (line 14) | protected override Task SendAsync(HttpRequestMess... FILE: test/Ocelot.ManualTest/Middlewares/MetadataMiddleware.cs class MetadataMiddleware (line 7) | public class MetadataMiddleware method Invoke (line 9) | public static Task Invoke(HttpContext context, Func next) method GetLogger (line 27) | private static IOcelotLogger GetLogger(HttpContext context) FILE: test/Ocelot.UnitTests/Authentication/AuthenticationMiddlewareTests.cs class AuthenticationMiddlewareTests (line 16) | public class AuthenticationMiddlewareTests : UnitTest method AuthenticationMiddlewareTests (line 28) | public AuthenticationMiddlewareTests() method MiddlewareName_Cstor_ReturnsTypeName (line 46) | [Fact] method Should_call_next_middleware_if_route_is_not_authenticated (line 68) | [Fact] method Should_call_next_middleware_if_route_is_using_options_method (line 85) | [Fact] method Should_call_next_middleware_if_route_is_using_several_options_authentication_providers (line 102) | [Fact] method Should_provide_backward_compatibility_if_route_has_several_options_authentication_providers (line 128) | [Fact] method Should_not_call_next_middleware_and_return_no_result_if_all_multiple_keys_were_failed (line 158) | [Fact] method GivenHappyPath (line 187) | private void GivenHappyPath(bool isHappy = true, string userName = null) method Should_SetUnauthenticatedError_and_not_call_next_middleware_if_identity_IsNOT_authenticated (line 202) | [Fact] method SetUnauthenticatedError (line 227) | [Theory] method Should_not_call_next_middleware_and_return_no_result_if_providers_keys_are_empty (line 260) | [Theory] method AuthenticateAsync_CatchException (line 297) | [Fact] method GivenTheAuthenticationIsFail (line 328) | private void GivenTheAuthenticationIsFail() method GivenTheAuthenticationIsSuccess (line 335) | private void GivenTheAuthenticationIsSuccess(bool isAuthenticated = tr... method GivenTheAuthenticationThrowsException (line 347) | private void GivenTheAuthenticationThrowsException() method GivenTheDownStreamRouteIs (line 354) | private void GivenTheDownStreamRouteIs(DownstreamRoute downstreamRoute) method GivenTheRequestIsUsingMethod (line 359) | private void GivenTheRequestIsUsingMethod(string method) method ThenTheUserIsAuthenticated (line 364) | private void ThenTheUserIsAuthenticated(string expected = null) method ThenTheUserIsNotAuthenticated (line 370) | private void ThenTheUserIsNotAuthenticated(string expected = null) method WhenICallTheMiddleware (line 379) | private Task WhenICallTheMiddleware(bool isAuthenticated = true) FILE: test/Ocelot.UnitTests/Authentication/AuthenticationOptionsCreatorTests.cs class AuthenticationOptionsCreatorTests (line 8) | public class AuthenticationOptionsCreatorTests method AuthenticationOptionsCreatorTests (line 20) | public AuthenticationOptionsCreatorTests() method Create_OptionsObjIsNotNull_CreatedFromRoute (line 25) | [Theory] method Create_GlobalAuthOptsObjIsNull_CreatedSuccessfully (line 47) | [Theory] method Create_GlobalConfigExists_ShouldUseGlobal (line 68) | [Fact] method Create_RouteKeyProviderEmpty_ShouldUseGlobal (line 86) | [Fact] method Create_RouteAndGlobalKeyExist_ShouldUseRoute (line 105) | [Theory] method Create (line 137) | [Fact] method Create_FileAuthenticationOptions (line 178) | [Fact] method Create_FileRoute_ArgumentNullChecks (line 203) | [Fact] method Create_FromRoute (line 222) | [Fact] method Create_FromDynamicRoute_NullChecks (line 259) | [Fact] method Create_FromDynamicRoute (line 277) | [Fact] method CreateProtected_NullCheck (line 314) | [Fact] method CreateProtected (line 335) | [Fact] method CreateFileRoute (line 423) | private static FileRoute CreateFileRoute(List allowedScopes, s... method CreateGlobalConfiguration (line 433) | private static FileGlobalConfiguration CreateGlobalConfiguration(List<... FILE: test/Ocelot.UnitTests/Authentication/FileAuthenticationOptionsTests.cs class FileAuthenticationOptionsTests (line 5) | public class FileAuthenticationOptionsTests method ToString_Serialized (line 7) | [Fact] FILE: test/Ocelot.UnitTests/Authentication/FileGlobalAuthenticationOptionsTests.cs class FileGlobalAuthenticationOptionsTests (line 5) | [Trait("Feat", "585")] method Constructor_ShouldInitializeBaseAndRouteKeys (line 10) | [Fact] method Constructor_WithAuthScheme_ShouldSetAuthScheme (line 21) | [Fact] method Constructor_WithFileAuthenticationOptions_ShouldCopyValues (line 35) | [Fact] method RouteKeys_ShouldAllowSetAndGet (line 60) | [Fact] method ShouldImplementIRouteGroup (line 76) | [Fact] FILE: test/Ocelot.UnitTests/Authorization/AuthorizationMiddlewareTests.cs class AuthorizationMiddlewareTests (line 13) | public class AuthorizationMiddlewareTests : UnitTest method AuthorizationMiddlewareTests (line 23) | public AuthorizationMiddlewareTests() method GetWarnings (line 39) | private List GetWarnings() => _warnings.Select(w => w()).ToLis... method Should_call_scopes_authorizer_when_route_is_authenticated (line 41) | [Fact] method Should_call_authorization_service (line 63) | [Fact] method Invoke_RouteIsAuthenticated_WhenScopesAuthorizerError_ShouldUpsertErrors (line 84) | [Fact] method GivenTheDownStreamRouteIs (line 117) | private void GivenTheDownStreamRouteIs(List t... method GivenScopesAuthorizerReturns (line 123) | private void GivenScopesAuthorizerReturns(Response expected) => ... method GivenClaimsAuthorizerReturns (line 127) | private void GivenClaimsAuthorizerReturns(Response expected) => ... method ThenScopesAuthorizerIsCalled (line 131) | private void ThenScopesAuthorizerIsCalled(Func times = null) method ThenClaimsAuthorizerIsCalled (line 135) | private void ThenClaimsAuthorizerIsCalled(Func times = null) FILE: test/Ocelot.UnitTests/Authorization/ClaimsAuthorizerTests.cs class ClaimsAuthorizerTests (line 9) | public class ClaimsAuthorizerTests : UnitTest method ClaimsAuthorizerTests (line 17) | public ClaimsAuthorizerTests() method Should_authorize_user (line 22) | [Fact] method Should_authorize_dynamic_user (line 42) | [Fact] method Should_not_authorize_dynamic_user (line 66) | [Fact] method Should_authorize_user_multiple_claims_of_same_type (line 90) | [Fact] method Should_not_authorize_user (line 111) | [Fact] method GivenAClaimsPrincipal (line 128) | private void GivenAClaimsPrincipal(ClaimsPrincipal claimsPrincipal) method GivenARouteClaimsRequirement (line 133) | private void GivenARouteClaimsRequirement(Dictionary r... method GivenAPlaceHolderNameAndValueList (line 138) | private void GivenAPlaceHolderNameAndValueList(List n... method GivenRoute (line 430) | private static FileRoute GivenRoute(FileCacheOptions options) => new() method GivenCacheOptions (line 435) | private static FileCacheOptions GivenCacheOptions() => new() FILE: test/Ocelot.UnitTests/Cache/CachedResponseTests.cs class CachedResponseTests (line 5) | public class CachedResponseTests method Ctor (line 7) | [Fact] method Ctor_Defaulting (line 29) | [Fact] FILE: test/Ocelot.UnitTests/Cache/DefaultCacheKeyGeneratorTests.cs class DefaultCacheKeyGeneratorTests (line 11) | public sealed class DefaultCacheKeyGeneratorTests : UnitTest, IDisposable method DefaultCacheKeyGeneratorTests (line 21) | public DefaultCacheKeyGeneratorTests() method Should_generate_cache_key_with_request_content (line 32) | [Fact] method Should_generate_cache_key_without_request_content (line 50) | [Fact] method Should_generate_cache_key_with_cache_options_header (line 65) | [Fact] method Should_generate_cache_key_happy_path (line 86) | [Fact] method GivenDownstreamRoute (line 103) | private static DownstreamRoute GivenDownstreamRoute(CacheOptions optio... method WhenGenerateRequestCacheKey (line 108) | private ValueTask WhenGenerateRequestCacheKey(DownstreamRoute ... method Dispose (line 111) | public void Dispose() class HttpContentStub (line 117) | internal class HttpContentStub : HttpContent method HttpContentStub (line 121) | public HttpContentStub(string content) method SerializeToStreamAsync (line 129) | protected override Task SerializeToStreamAsync(Stream stream, Transpor... method TryComputeLength (line 130) | protected override bool TryComputeLength(out long length) => throw new... FILE: test/Ocelot.UnitTests/Cache/DefaultMemoryCacheTests.cs class DefaultMemoryCacheTests (line 6) | public class DefaultMemoryCacheTests : UnitTest method DefaultMemoryCacheTests (line 9) | public DefaultMemoryCacheTests() method Should_cache (line 18) | [Fact] method Doesnt_exist (line 33) | [Fact] method Should_add_or_update (line 43) | [Fact] method Should_clear_region (line 60) | [Fact] method Should_clear_key_if_ttl_expired (line 79) | [Fact] method Should_not_add_to_cache_if_timespan_empty (line 94) | [Theory] class Fake (line 110) | private class Fake method Fake (line 112) | public Fake(int value) FILE: test/Ocelot.UnitTests/Cache/FileCacheOptionsTests.cs class FileCacheOptionsTests (line 5) | public class FileCacheOptionsTests method Ctor_int (line 7) | [Fact] method Ctor_FileCacheOptions (line 17) | [Fact] FILE: test/Ocelot.UnitTests/Cache/FileGlobalCacheOptionsTests.cs class FileGlobalCacheOptionsTests (line 5) | [Trait("Feat", "585")] method Ctor_int (line 9) | [Fact] method Ctor_FileCacheOptions (line 19) | [Fact] FILE: test/Ocelot.UnitTests/Cache/OutputCacheMiddlewareTests.cs class OutputCacheMiddlewareTests (line 13) | public class OutputCacheMiddlewareTests : UnitTest method OutputCacheMiddlewareTests (line 26) | public OutputCacheMiddlewareTests() method Should_returned_cached_item_when_it_is_in_cache (line 39) | [Fact] method Should_returned_cached_item_when_it_is_in_cache_expires_header (line 62) | [Fact] method Should_continue_with_pipeline_and_cache_response (line 81) | [Fact] method Should_not_use_cache (line 95) | [Fact] method Should_not_add_to_cache_when_errors (line 111) | [Fact] method CreateHttpResponseMessage_CachedIsNull (line 131) | [Fact] method ThenTheMessageIs (line 146) | private void ThenTheMessageIs(string expected) method WhenICallTheMiddlewareAsync (line 153) | private async Task WhenICallTheMiddlewareAsync() method GivenThereIsACachedResponse (line 159) | private void GivenThereIsACachedResponse(CachedResponse response) method GivenResponseIsNotCached (line 167) | private void GivenResponseIsNotCached(HttpResponseMessage responseMess... method GivenTheDownstreamRouteIs (line 172) | private void GivenTheDownstreamRouteIs(CacheOptions options = null) method ThenTheCacheGetIsCalledCorrectly (line 187) | private void ThenTheCacheGetIsCalledCorrectly() method ThenTheCacheAddIsCalled (line 194) | private void ThenTheCacheAddIsCalled(Func howMany = null) FILE: test/Ocelot.UnitTests/Claims/AddClaimsToRequestTests.cs class AddClaimsToRequestTests (line 11) | public class AddClaimsToRequestTests : UnitTest method AddClaimsToRequestTests (line 20) | public AddClaimsToRequestTests() method Should_add_claims_to_context (line 26) | [Fact] method If_claims_exists_should_replace_it (line 51) | [Fact] method Should_return_error (line 77) | [Fact] method GivenClaimsToThings (line 98) | private void GivenClaimsToThings(List configuration) method GivenHttpContext (line 103) | private void GivenHttpContext(HttpContext context) method GivenTheClaimParserReturns (line 108) | private void GivenTheClaimParserReturns(Response claimValue) method WhenIAddClaimsToTheRequest (line 121) | private void WhenIAddClaimsToTheRequest() method ThenTheResultIsSuccess (line 126) | private void ThenTheResultIsSuccess() method ThenTheResultIsError (line 131) | private void ThenTheResultIsError() class AnyError (line 136) | private class AnyError : Error method AnyError (line 138) | public AnyError() FILE: test/Ocelot.UnitTests/Claims/ClaimsToClaimsMiddlewareTests.cs class ClaimsToClaimsMiddlewareTests (line 14) | public class ClaimsToClaimsMiddlewareTests : UnitTest method ClaimsToClaimsMiddlewareTests (line 23) | public ClaimsToClaimsMiddlewareTests() method Should_call_claims_to_request_correctly (line 34) | [Fact] method GivenTheDownStreamRouteIs (line 64) | private void GivenTheDownStreamRouteIs(Ocelot.DownstreamRouteFinder.Do... method GivenTheAddClaimsToRequestReturns (line 71) | private void GivenTheAddClaimsToRequestReturns() method ThenTheClaimsToRequestIsCalledCorrectly (line 79) | private void ThenTheClaimsToRequestIsCalledCorrectly() FILE: test/Ocelot.UnitTests/Configuration/AggregatesCreatorTests.cs class AggregatesCreatorTests (line 9) | public class AggregatesCreatorTests : UnitTest method AggregatesCreatorTests (line 22) | public AggregatesCreatorTests() method Should_return_no_aggregates (line 29) | [Fact] method Should_create_aggregates (line 56) | [Fact] method ThenTheAggregatesAreCreated (line 103) | private void ThenTheAggregatesAreCreated() method ThenTheUtpCreatorIsCalledCorrectly (line 125) | private void ThenTheUtpCreatorIsCalledCorrectly() method GivenTheUtpCreatorReturns (line 131) | private void GivenTheUtpCreatorReturns() method GivenTheUhtpCreatorReturns (line 141) | private void GivenTheUhtpCreatorReturns() method ThenTheResultIsEmpty (line 151) | private void ThenTheResultIsEmpty() method ThenTheResultIsNotNull (line 156) | private void ThenTheResultIsNotNull() method TheUtpCreatorIsNotCalled (line 161) | private void TheUtpCreatorIsNotCalled() method GivenThe (line 166) | private void GivenThe(FileConfiguration fileConfiguration) method GivenThe (line 171) | private void GivenThe(List routes) method WhenICreate (line 176) | private void WhenICreate() FILE: test/Ocelot.UnitTests/Configuration/ChangeTracking/OcelotConfigurationChangeTokenSourceTests.cs class OcelotConfigurationChangeTokenSourceTests (line 5) | public class OcelotConfigurationChangeTokenSourceTests : UnitTest method OcelotConfigurationChangeTokenSourceTests (line 9) | public OcelotConfigurationChangeTokenSourceTests() method Should_activate_change_token (line 14) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/ChangeTracking/OcelotConfigurationChangeTokenTests.cs class OcelotConfigurationChangeTokenTests (line 5) | public class OcelotConfigurationChangeTokenTests : UnitTest method Should_call_callback_with_state (line 7) | [Fact] method Should_not_call_callback_if_it_is_disposed (line 22) | [Fact] method Callback (line 45) | private void Callback(object state) method GivenIHaveAChangeToken (line 52) | private void GivenIHaveAChangeToken() method AndIRegisterACallback (line 57) | private void AndIRegisterACallback() method ThenIShouldGetADisposableWrapper (line 62) | private void ThenIShouldGetADisposableWrapper() method GivenIActivateTheToken (line 67) | private void GivenIActivateTheToken() method ThenTheCallbackShouldBeCalled (line 74) | private void ThenTheCallbackShouldBeCalled() method ThenTheCallbackShouldNotBeCalled (line 81) | private void ThenTheCallbackShouldNotBeCalled() method AndIDisposeTheCallbackWrapper (line 87) | private void AndIDisposeTheCallbackWrapper() FILE: test/Ocelot.UnitTests/Configuration/ChangeTracking/OcelotConfigurationMonitorTests.cs class OcelotConfigurationMonitorTests (line 9) | public class OcelotConfigurationMonitorTests : UnitTest method OcelotConfigurationMonitorTests (line 18) | public OcelotConfigurationMonitorTests() method Constructor_WithValidDependencies_ShouldCreateInstance (line 25) | [Fact] method Constructor_WithNullRepository_ShouldThrowArgumentNullException (line 40) | [Fact] method Constructor_WithNullChangeTokenSource_ShouldThrowArgumentNullException (line 55) | [Fact] method CurrentValue_WhenCalled_ShouldReturnConfigurationFromRepository (line 70) | [Fact] method Get_WithValidName_ShouldReturnConfigurationFromRepository (line 86) | [Fact] method Get_WithEmptyName_ShouldReturnConfigurationFromRepository (line 103) | [Fact] method Get_WithNullName_ShouldReturnConfigurationFromRepository (line 119) | [Fact] method OnChange_WithValidListener_ShouldRegisterCallbackOnChangeToken (line 135) | [Fact] method OnChange_ShouldReturnDisposableWrapper (line 159) | [Fact] method OnChange_WhenChangeTokenCallbackIsInvoked_ShouldCallListenerWithCurrentValueAndEmptyString (line 178) | [Fact] method OnChange_WithNullListener_ShouldThrowArgumentNullException (line 208) | [Fact] method CurrentValue_MultipleInvocations_ShouldCallRepositoryEachTime (line 225) | [Fact] method Get_MultipleInvocationsWithDifferentNames_ShouldCallRepositoryEachTime (line 241) | [Fact] method OnChange_MultipleListenersRegistered_ShouldRegisterAllCallbacks (line 257) | [Fact] method GivenTheRepositoryMock (line 279) | private void GivenTheRepositoryMock() method GivenTheChangeTokenSourceMock (line 284) | private void GivenTheChangeTokenSourceMock() method GivenTheChangeTokenMock (line 290) | private void GivenTheChangeTokenMock() method GivenATestConfigurationIsSet (line 298) | private void GivenATestConfigurationIsSet() method GivenTheMonitorIsCreated (line 305) | private void GivenTheMonitorIsCreated() FILE: test/Ocelot.UnitTests/Configuration/ClaimToThingConfigurationParserTests.cs class ClaimToThingConfigurationParserTests (line 11) | [Trait("Commit", "84256e7")] // https://github.com/ThreeMammals/Ocelot/c... method ClaimToThingConfigurationParserTests (line 17) | public ClaimToThingConfigurationParserTests() method Returns_no_instructions_error (line 22) | [Fact] method Returns_no_instructions_not_for_claims_error (line 42) | [Fact] method Can_parse_entry_to_work_out_properties_with_key (line 61) | [Fact] method Can_parse_entry_to_work_out_properties_with_key_delimiter_and_index (line 78) | [Fact] method ThenAnErrorIsReturned (line 95) | private static void ThenAnErrorIsReturned(Response resul... method ThenTheClaimParserPropertiesAreReturned (line 101) | private static void ThenTheClaimParserPropertiesAreReturned(Response WhenICallTheExtractor(Dictionary cl... method GivenTheConfigHeaderExtractorReturns (line 80) | private void GivenTheConfigHeaderExtractorReturns(Response GivenSomeMetadataInRoute() =... method ThenDownstreamMetadataMustContain (line 76) | private static void ThenDownstreamMetadataMustContain(MetadataOptions ... FILE: test/Ocelot.UnitTests/Configuration/DownstreamAddressesCreatorTests.cs class DownstreamAddressesCreatorTests (line 7) | public class DownstreamAddressesCreatorTests : UnitTest method DownstreamAddressesCreatorTests (line 11) | public DownstreamAddressesCreatorTests() method Should_do_nothing (line 16) | [Fact] method Should_create_downstream_addresses_from_old_downstream_path_and_port (line 30) | [Fact] method Should_create_downstream_addresses_from_downstream_host_and_ports (line 53) | [Fact] class ListOfDownstreamHostAndPortExtensions (line 79) | internal static class ListOfDownstreamHostAndPortExtensions method TheThenFollowingIsReturned (line 81) | public static void TheThenFollowingIsReturned(this List(string key, string value... method Should_parse_from_json_array (line 132) | [Fact] method Should_throw_error_when_invalid_json (line 150) | [Fact] method Should_parse_json_with_custom_json_settings_options (line 163) | [Fact] type FakeObject (line 188) | record FakeObject method Should_parse_integers (line 195) | [Theory] method Should_parse_double (line 202) | [Theory] method Should_parse_number (line 211) | private void Should_parse_number(string value, T expected) method Should_throw_error_when_invalid_number (line 224) | [Fact] method Should_parse_truthy_values (line 237) | [Theory] FILE: test/Ocelot.UnitTests/Configuration/DownstreamRouteTests.cs class DownstreamRouteTests (line 6) | [Collection(nameof(SequentialTests))] method Name_UnknownPaths_ShouldBeQuestionMark (line 9) | [Fact] method Name_NoServiceDiscovery_ShouldBePathTemplate (line 25) | [Theory] method Name_UpstreamPathTemplate_ShouldContainOriginalValue (line 44) | [Theory] method Name_DownstreamPathTemplate_ShouldContainPathTemplate (line 66) | [Theory] method Name_WithServiceDiscovery_ShouldBeUniqueDiscoveryString (line 85) | [Fact] method Name_UseServiceDiscovery_ShouldContainUpstreamPathTemplate (line 102) | [Theory] method DefaultTimeoutSeconds_Setter_ShouldBeGreaterThanOrEqualToThree (line 122) | [Theory] method ToString_ShouldBeLoadBalancerKey (line 139) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/DynamicRoutesCreatorTests.cs class DynamicRoutesCreatorTests (line 7) | public class DynamicRoutesCreatorTests : UnitTest method DynamicRoutesCreatorTests (line 27) | public DynamicRoutesCreatorTests() method Should_return_nothing (line 41) | [Fact] method Should_return_routes (line 60) | [Fact] method CreateTimeout_HasRouteTimeout_ShouldCreateFromRoute (line 87) | [Fact] method CreateTimeout_NoRouteTimeoutAndHasGlobalOne_ShouldCreateFromGlobalConfig (line 104) | [Fact] method CreateTimeout_NoRouteTimeoutAndNoGlobalOne_ShouldCreateFromDownstreamRouteDefaults (line 121) | [Fact] method GivenDynamicRoute (line 140) | private static FileDynamicRoute GivenDynamicRoute(string serviceName, ... method ThenTheBasicCreatorsAreCalledCorrectly (line 154) | private void ThenTheBasicCreatorsAreCalledCorrectly() method ThenTheRoutesAreReturned (line 168) | private void ThenTheRoutesAreReturned() method GivenTheVersionCreatorReturns (line 182) | private void GivenTheVersionCreatorReturns() method GivenTheVersionPolicyCreatorReturns (line 188) | private void GivenTheVersionPolicyCreatorReturns() method GivenTheMetadataCreatorReturns (line 194) | private void GivenTheMetadataCreatorReturns() method GivenTheRloCreatorReturns (line 204) | private void GivenTheRloCreatorReturns() FILE: test/Ocelot.UnitTests/Configuration/FileConfigurationSetterTests.cs class FileConfigurationSetterTests (line 12) | public class FileConfigurationSetterTests : UnitTest method FileConfigurationSetterTests (line 22) | public FileConfigurationSetterTests() method Should_set_configuration (line 30) | [Fact] method Should_return_error_if_unable_to_set_file_configuration (line 61) | [Fact] method Should_return_error_if_unable_to_set_ocelot_configuration (line 75) | [Fact] method GivenTheRepoReturns (line 90) | private void GivenTheRepoReturns(Response response) method GivenTheCreatorReturns (line 97) | private void GivenTheCreatorReturns(Response c... method ThenTheConfigurationRepositoryIsCalledCorrectly (line 105) | private void ThenTheConfigurationRepositoryIsCalledCorrectly() FILE: test/Ocelot.UnitTests/Configuration/FileInternalConfigurationCreatorTests.cs class FileInternalConfigurationCreatorTests (line 12) | public class FileInternalConfigurationCreatorTests : UnitTest method FileInternalConfigurationCreatorTests (line 27) | public FileInternalConfigurationCreatorTests() method Should_return_validation_error (line 38) | [Fact] method Should_return_internal_configuration (line 52) | [Fact] method ThenTheDependenciesAreCalledCorrectly (line 67) | private void ThenTheDependenciesAreCalledCorrectly() method GivenTheDependenciesAreSetUp (line 81) | private void GivenTheDependenciesAreSetUp() method GivenTheValidationSucceeds (line 94) | private void GivenTheValidationSucceeds() method GivenTheValidationFails (line 101) | private void GivenTheValidationFails() FILE: test/Ocelot.UnitTests/Configuration/FileModels/FileDynamicRouteTests.cs class FileDynamicRouteTests (line 5) | public class FileDynamicRouteTests method Ctor (line 7) | [Fact] method Ctor_IRouteGrouping_IsImplemented (line 20) | [Fact] method Ctor_IRouteRateLimiting_IsImplemented (line 32) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/FileModels/FileGlobalHttpHandlerOptionsTests.cs class FileGlobalHttpHandlerOptionsTests (line 5) | [Trait("Feat", "585")] // https://github.com/ThreeMammals/Ocelot/issues/585 method Ctor_Default (line 9) | [Fact] method Ctor_FileHttpHandlerOptions (line 20) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/FileModels/FileMetadataOptionsTests.cs class FileMetadataOptionsTests (line 6) | public class FileMetadataOptionsTests method Ctor_Default (line 8) | [Fact] method Ctor_CopyingFrom (line 19) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/FileModels/FileRouteTests.cs class FileRouteTests (line 5) | public class FileRouteTests : UnitTest method Ctor_Copying_Copied (line 7) | [Fact] method Clone_ShouldClone (line 22) | [Fact] method ToString_NoKeyNoDiscovery_ShouldBeUpstreamPathTemplate (line 38) | [Fact] method ToString_NoKeyNoUpstreamPathTemplate_ShouldBeDownstreamPathTemplate (line 56) | [Theory] method ToString_NoKeyWithServiceDiscovery_ShouldContainServiceName (line 77) | [Fact] method ToString_HasKey_ShouldBeKey (line 96) | [Fact] method GivenFileRoute (line 112) | private static FileRoute GivenFileRoute() method AssertEquality (line 153) | private static void AssertEquality(FileRoute actual, FileRoute expected) FILE: test/Ocelot.UnitTests/Configuration/HashCreationTests.cs class HashCreationTests (line 6) | public class HashCreationTests method Should_create_hash_and_salt (line 8) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/HeaderFindAndReplaceCreatorTests.cs class HeaderFindAndReplaceCreatorTests (line 12) | public class HeaderFindAndReplaceCreatorTests : UnitTest method HeaderFindAndReplaceCreatorTests (line 22) | public HeaderFindAndReplaceCreatorTests() method Should_create (line 43) | [Fact] method Create_WithRouteAndWithoutGlobalConfigurationParam_GlobalConfigurationInjectionIsReused (line 86) | [Fact] method Should_create_with_add_headers_to_request (line 111) | [Fact] method Should_use_base_url_placeholder (line 135) | [Fact] method Should_log_errors_and_not_add_headers (line 161) | [Fact] method ThenTheLoggerIsCalledCorrectly (line 203) | private void ThenTheLoggerIsCalledCorrectly(int times, params string[]... method Should_use_base_url_partial_placeholder (line 214) | [Fact] method Should_map_with_partial_placeholder_in_the_middle (line 240) | [Fact] method Should_add_trace_id_header (line 267) | [Fact] method Should_add_downstream_header_as_is_when_no_replacement_is_given (line 288) | [Fact] method Should_add_upstream_header_as_is_when_no_replacement_is_given (line 308) | [Fact] method Merge_ShouldMergeGlobalIntoRouteOpts (line 328) | [Fact] method Merge_NullParams_NullChecksHaveBeenPerformed (line 360) | [Fact] method GivenThePlaceholderIs (line 372) | private void GivenThePlaceholderIs(string placeholderValue) method GivenTheBaseUrlErrors (line 377) | private void GivenTheBaseUrlErrors() method ThenTheFollowingAddHeaderToDownstreamIsReturned (line 382) | private void ThenTheFollowingAddHeaderToDownstreamIsReturned(AddHeader... method ThenTheFollowingAddHeaderToUpstreamIsReturned (line 388) | private void ThenTheFollowingAddHeaderToUpstreamIsReturned(AddHeader a... method ThenTheFollowingDownstreamIsReturned (line 394) | private void ThenTheFollowingDownstreamIsReturned(List new() method GlobalConfiguration (line 338) | private static FileGlobalConfiguration GlobalConfiguration() => new() method GivenRoute (line 352) | private static FileRoute GivenRoute(FileHttpHandlerOptions options = n... method GivenDynamicRoute (line 354) | private static FileDynamicRoute GivenDynamicRoute(FileHttpHandlerOptio... FILE: test/Ocelot.UnitTests/Configuration/HttpHandlerOptionsTests.cs class HttpHandlerOptionsTests (line 6) | public class HttpHandlerOptionsTests method Ctor (line 8) | [Fact] method Ctor_FileHttpHandlerOptions (line 19) | [Theory] method Ctor_FileHttpHandlerOptions_MaxConnectionsPerServer (line 50) | [Fact] method Ctor_FileHttpHandlerOptions_bool (line 72) | [Theory] FILE: test/Ocelot.UnitTests/Configuration/HttpVersionPolicyCreatorTests.cs class HttpVersionPolicyCreatorTests (line 5) | [Trait("Feat", "1672")] method HttpVersionPolicyCreatorTests (line 10) | public HttpVersionPolicyCreatorTests() method Should_create_version_policy_based_on_input (line 14) | [Theory] method Should_default_to_request_version_or_lower (line 27) | [Theory] method Should_default_to_request_version_or_lower_when_setting_gibberish (line 40) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/MetadataOptionsTests.cs class MetadataOptionsTests (line 7) | public class MetadataOptionsTests method Ctor_Parameterless (line 9) | [Fact] method Ctor_CopyingFrom_MetadataOptions (line 24) | [Fact] method Ctor_CopyingFrom_FileMetadataOptions (line 48) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/Parser/ParsingConfigurationHeaderErrorTests.cs class ParsingConfigurationHeaderErrorTests (line 6) | public class ParsingConfigurationHeaderErrorTests : UnitTest method Ctor (line 8) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/Repository/ConsulFileConfigurationPollerOptionTests.cs class ConsulFileConfigurationPollerOptionTests (line 9) | public class ConsulFileConfigurationPollerOptionTests method ConsulFileConfigurationPollerOptionTests (line 15) | public ConsulFileConfigurationPollerOptionTests() method Constructor_ShouldSetDependencies (line 22) | [Fact] method Delay_ShouldReturnDefaultValue_WhenFileConfigurationIsNull (line 32) | [Fact] method Delay_ShouldReturnFileConfigPollingInterval_WhenFileConfigHasValidPollingInterval (line 53) | [Fact] method Delay_ShouldReturnDefaultValue_WhenFileConfigPollingIntervalIsZero (line 81) | [Fact] method Delay_ShouldReturnDefaultValue_WhenFileConfigIsError (line 113) | [Fact] method Delay_ShouldReturnDefaultValue_WhenFileConfigServiceDiscoveryProviderIsNull (line 135) | [Fact] method Delay_ShouldReturnInternalConfigPollingInterval_WhenFileConfigFailsButInternalConfigIsValid (line 164) | [Fact] method Delay_ShouldReturnDefaultValue_WhenInternalConfigPollingIntervalIsZero (line 193) | [Fact] method Delay_ShouldReturnDefaultValue_WhenInternalConfigIsError (line 221) | [Fact] method Delay_ShouldReturnDefaultValue_WhenInternalConfigServiceProviderConfigurationIsNull (line 243) | [Fact] method Delay_ShouldPreferFileConfigOverInternalConfig_WhenBothHaveValidPollingIntervals (line 268) | [Fact] method Delay_ShouldReturn1000_WhenPollingIntervalIsNegative (line 309) | [Fact] method Delay_ShouldCallFileConfigurationRepositoryGet (line 338) | [Fact] method Delay_ShouldCallInternalConfigRepositoryGet_WhenFileConfigDoesNotHaveValidPollingInterval (line 359) | [Fact] method Delay_ShouldNotCallInternalConfigRepositoryGet_WhenFileConfigHasValidPollingInterval (line 380) | [Fact] method Delay_ShouldReturnValidPollingInterval_WithVariousValues (line 406) | [Theory] FILE: test/Ocelot.UnitTests/Configuration/Repository/DiskFileConfigurationRepositoryTests.cs class DiskFileConfigurationRepositoryTests (line 11) | public sealed class DiskFileConfigurationRepositoryTests : FileUnitTest method DiskFileConfigurationRepositoryTests (line 18) | public DiskFileConfigurationRepositoryTests() method Arrange (line 25) | private void Arrange([CallerMemberName] string testName = null) method Should_return_file_configuration (line 31) | [Fact] method Should_return_file_configuration_if_environment_name_is_unavailable (line 45) | [Fact] method Should_set_file_configuration (line 60) | [Fact] method Should_set_file_configuration_if_environment_name_is_unavailable (line 75) | [Fact] method Should_set_environment_file_configuration_and_ocelot_file_configuration (line 90) | [Fact] method GivenTheUserAddedOcelotJson (line 107) | private FileInfo GivenTheUserAddedOcelotJson() method GivenTheEnvironmentNameIsUnavailable (line 121) | private void GivenTheEnvironmentNameIsUnavailable() method WhenISetTheConfiguration (line 126) | private async Task WhenISetTheConfiguration(FileConfiguration fileConf... method ThenTheConfigurationIsStoredAs (line 133) | private void ThenTheConfigurationIsStoredAs(FileConfiguration expecteds) method ThenTheOcelotJsonIsStoredAs (line 156) | private static void ThenTheOcelotJsonIsStoredAs(FileInfo ocelotJson, F... method GivenTheConfigurationIs (line 163) | private void GivenTheConfigurationIs(FileConfiguration fileConfigurati... method ThenTheConfigurationJsonIsIndented (line 177) | private void ThenTheConfigurationJsonIsIndented(FileConfiguration expe... method ThenTheFollowingIsReturned (line 186) | private void ThenTheFollowingIsReturned(FileConfiguration expecteds) method FakeFileConfigurationForSet (line 209) | private static FileConfiguration FakeFileConfigurationForSet() method FakeFileConfigurationForGet (line 215) | private static FileConfiguration FakeFileConfigurationForGet() method GivenRoute (line 221) | private static FileRoute GivenRoute(string host, string downstream) =>... method GivenConfiguration (line 228) | private static FileConfiguration GivenConfiguration(params FileRoute[]... FILE: test/Ocelot.UnitTests/Configuration/Repository/FileConfigurationPollerTests.cs class FileConfigurationPollerTests (line 11) | public sealed class FileConfigurationPollerTests : UnitTest, IDisposable method FileConfigurationPollerTests (line 25) | public FileConfigurationPollerTests() method Should_start_and_poll_initial_configuration (line 42) | [Fact] method Should_not_replace_timer_when_start_called_twice (line 52) | [Fact] method Should_do_nothing_when_stop_called_before_start (line 68) | [Fact] method Should_call_setter_when_gets_new_config (line 79) | [Fact] method Should_call_setter_only_once_when_configuration_does_not_change_across_multiple_poll_cycles (line 93) | [Fact] method Should_not_poll_if_already_polling (line 104) | [Fact] method Should_return_early_on_timer_tick_when_polling_is_already_in_progress (line 118) | [Fact] method Should_do_nothing_if_call_to_provider_fails (line 142) | [Fact] method Should_not_add_to_internal_repo_if_internal_configuration_creation_fails (line 154) | [Fact] method Should_stop_polling_when_stopped (line 173) | [Fact] method Should_dispose_cleanly_without_starting (line 189) | [Fact] method GivenConfiguration (line 196) | private static FileConfiguration GivenConfiguration() => new() method WhenProviderErrors (line 207) | private void WhenProviderErrors() method WhenTheConfigIsChanged (line 214) | private void WhenTheConfigIsChanged(FileConfiguration newConfig, int d... method AssertWhile (line 222) | private bool AssertWhile(Action assertion, int milliSeconds = 4_000) method ThenTheSetterIsCalled (line 239) | private void ThenTheSetterIsCalled(FileConfiguration fileConfig, int t... method ThenTheSetterIsNotCalled (line 249) | private void ThenTheSetterIsNotCalled() method ThenTheCreatorIsCalled (line 255) | private void ThenTheCreatorIsCalled(FileConfiguration fileConfig, int ... method ThenTheCreatorIsCalled (line 264) | private void ThenTheCreatorIsCalled(int times) method ThenTheConfigIsNotAdded (line 273) | private void ThenTheConfigIsNotAdded() method ThenTheConfigIsNotAddedMoreThan (line 278) | private void ThenTheConfigIsNotAddedMoreThan(int times) method NumberOfGetInvocations (line 287) | private int NumberOfGetInvocations() method CurrentTimer (line 292) | private Timer CurrentTimer() method ThenTheProviderIsPolled (line 301) | private void ThenTheProviderIsPolled() method Dispose (line 310) | public void Dispose() FILE: test/Ocelot.UnitTests/Configuration/Repository/InMemoryConfigurationRepositoryTests.cs class InMemoryConfigurationRepositoryTests (line 9) | public class InMemoryConfigurationRepositoryTests : UnitTest method InMemoryConfigurationRepositoryTests (line 17) | public InMemoryConfigurationRepositoryTests() method Can_add_config (line 24) | [Fact] method Can_get_config (line 38) | [Fact] class FakeConfig (line 52) | private class FakeConfig : IInternalConfiguration method FakeConfig (line 56) | public FakeConfig(string downstreamTemplatePath, string administrati... FILE: test/Ocelot.UnitTests/Configuration/Repository/InMemoryFileConfigurationPollerOptionsTests.cs class InMemoryFileConfigurationPollerOptionsTests (line 5) | public class InMemoryFileConfigurationPollerOptionsTests method Delay (line 7) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/RequestIdKeyCreatorTests.cs class RequestIdKeyCreatorTests (line 6) | public class RequestIdKeyCreatorTests : UnitTest method Should_use_global_configuration (line 10) | [Fact] method Should_use_re_route_specific (line 27) | [Fact] method Should_use_re_route_over_global_specific (line 44) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/RouteKeyCreatorTests.cs class RouteKeyCreatorTests (line 8) | public class RouteKeyCreatorTests : UnitTest method Should_return_sticky_session_key (line 12) | [Fact] method Should_return_route_key (line 26) | [Fact] method Should_return_route_key_with_upstream_host (line 49) | [Fact] method Should_return_route_key_with_svc_name (line 73) | [Fact] method Should_return_route_key_with_load_balancer_options (line 92) | [Fact] method Create_FileDynamicRoute_TryStickySession (line 116) | [Fact] method Create_FileDynamicRoute_HasLoadBalancingKey (line 132) | [Fact] method Create_FileDynamicRoute_NoLBKey (line 148) | [Fact] method Create_String_String_TryStickySession (line 168) | [Fact] method Create_String_String_HasLoadBalancingKey (line 183) | [Fact] method Create_String_String_NoLBKey (line 198) | [Fact] method AsString (line 213) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/RouteTests.cs class RouteTests (line 6) | public class RouteTests method Ctor (line 8) | [Fact] method Ctor_Boolean (line 28) | [Fact] method Ctor_Boolean_DownstreamRoute (line 41) | [Fact] method Ctor_DownstreamRoute (line 55) | [Fact] method Ctor_DownstreamRoute_HttpMethod (line 69) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/SecurityOptionsCreatorTests.cs class SecurityOptionsCreatorTests (line 7) | public sealed class SecurityOptionsCreatorTests : UnitTest method Should_create_route_security_config (line 11) | [Fact] method Should_create_global_security_config (line 32) | [Fact] method Should_create_global_route_security_config (line 56) | [Fact] class SecurityOptionsExtensions (line 88) | internal static class SecurityOptionsExtensions method ThenTheResultIs (line 90) | public static void ThenTheResultIs(this SecurityOptions actual, Securi... FILE: test/Ocelot.UnitTests/Configuration/ServiceProviderConfigurationCreatorTests.cs class ServiceProviderConfigurationCreatorTests (line 7) | public class ServiceProviderConfigurationCreatorTests : UnitTest method Should_create_service_provider_config (line 11) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/StaticRoutesCreatorTests.cs class StaticRoutesCreatorTests (line 9) | public class StaticRoutesCreatorTests : UnitTest method StaticRoutesCreatorTests (line 48) | public StaticRoutesCreatorTests() method Should_return_nothing (line 88) | [Fact] method Should_return_routes (line 101) | [Fact] method CreateTimeout_HasRouteTimeout_ShouldCreateFromRoute (line 171) | [Fact] method CreateTimeout_NoRouteTimeoutAndHasGlobalOne_ShouldCreateFromGlobalConfig (line 188) | [Fact] method CreateTimeout_NoRouteTimeoutAndNoGlobalOne_ShouldCreateFromDownstreamRouteDefaults (line 205) | [Fact] method SetUpRoute_FileRouteUpstreamHttpMethod (line 224) | [Theory] method ThenTheDependenciesAreCalledCorrectly (line 244) | private void ThenTheDependenciesAreCalledCorrectly() method GivenTheDependenciesAreSetUpCorrectly (line 250) | private void GivenTheDependenciesAreSetUpCorrectly() method ThenTheRoutesAreCreated (line 294) | private void ThenTheRoutesAreCreated() method ThenTheRouteIsSet (line 301) | private void ThenTheRouteIsSet(FileRoute expected, int routeIndex) method ThenTheDepsAreCalledFor (line 343) | private void ThenTheDepsAreCalledFor(FileRoute fileRoute, FileGlobalCo... FILE: test/Ocelot.UnitTests/Configuration/UpstreamHeaderTemplatePatternCreatorTests.cs class UpstreamHeaderTemplatePatternCreatorTests (line 6) | public class UpstreamHeaderTemplatePatternCreatorTests method Create_WithUpstreamHeaderTemplates_ShouldCreatePattern (line 10) | [Trait("PR", "1312")] FILE: test/Ocelot.UnitTests/Configuration/UpstreamTemplatePatternCreatorTests.cs class UpstreamTemplatePatternCreatorTests (line 11) | public class UpstreamTemplatePatternCreatorTests : UnitTest method UpstreamTemplatePatternCreatorTests (line 17) | public UpstreamTemplatePatternCreatorTests() method Should_match_up_to_next_slash (line 23) | [Fact] method Should_use_re_route_priority (line 41) | [Fact] method Should_use_zero_priority (line 59) | [Fact] method Should_set_upstream_template_pattern_to_ignore_case_sensitivity (line 77) | [Fact] method Should_match_forward_slash_or_no_forward_slash_if_template_end_with_forward_slash (line 95) | [Fact] method Should_set_upstream_template_pattern_to_respect_case_sensitivity (line 113) | [Fact] method Should_create_template_pattern_that_matches_anything_to_end_of_string (line 131) | [Fact] method Should_create_template_pattern_that_matches_more_than_one_placeholder (line 149) | [Fact] method Should_create_template_pattern_that_matches_more_than_one_placeholder_with_trailing_slash (line 167) | [Fact] method Should_create_template_pattern_that_matches_to_end_of_string (line 185) | [Fact] method Should_create_template_pattern_that_matches_to_end_of_string_when_slash_and_placeholder (line 202) | [Fact] method Should_create_template_pattern_that_starts_with_placeholder_then_has_another_later (line 219) | [Fact] method Should_create_template_pattern_that_matches_query_string (line 237) | [Fact] method Should_create_template_pattern_that_matches_query_string_with_multiple_params (line 254) | [Fact] method Should_not_match_when_placeholder_appears_after_query_start (line 271) | [Theory] method Should_not_match_with_query_param_wildcard (line 290) | [Theory] method GetRegex_NoKey_ReturnsNull (line 309) | [Fact] method CreateTemplate_PatternProperty_NullChecks (line 321) | [Fact] class UpstreamPathTemplateExtensions (line 340) | internal static class UpstreamPathTemplateExtensions method ShouldMatchWithRegex (line 342) | public static void ShouldMatchWithRegex(this UpstreamPathTemplate actu... FILE: test/Ocelot.UnitTests/Configuration/Validation/FileAuthenticationOptionsValidatorTests.cs class FileAuthenticationOptionsValidatorTests (line 9) | [Trait("PR", "2114")] // https://github.com/ThreeMammals/Ocelot/pull/2114 method FileAuthenticationOptionsValidatorTests (line 18) | public FileAuthenticationOptionsValidatorTests() method Should_be_valid_if_specified_authentication_provider_is_registered (line 24) | [Fact] method Should_not_be_valid_if_specified_authentication_provider_is_not_registered (line 39) | [Fact] method GivenAnAuthProvider (line 54) | private void GivenAnAuthProvider(string key) method CreateAuthenticationOptions (line 64) | private void CreateAuthenticationOptions(string key) method ValidateAsync (line 72) | private async Task ValidateAsync() class FakeAuthHandler (line 77) | private class FakeAuthHandler : IAuthenticationHandler method AuthenticateAsync (line 79) | public Task AuthenticateAsync() => throw new Not... method ChallengeAsync (line 80) | public Task ChallengeAsync(AuthenticationProperties properties) => t... method ForbidAsync (line 81) | public Task ForbidAsync(AuthenticationProperties properties) => thro... method InitializeAsync (line 82) | public Task InitializeAsync(AuthenticationScheme scheme, HttpContext... FILE: test/Ocelot.UnitTests/Configuration/Validation/FileConfigurationFluentValidatorTests.cs class FileConfigurationFluentValidatorTests (line 21) | public class FileConfigurationFluentValidatorTests : UnitTest method FileConfigurationFluentValidatorTests (line 31) | public FileConfigurationFluentValidatorTests() method Configuration_is_valid_if_service_discovery_options_specified_and_has_service_fabric_as_option (line 45) | [Fact] method Configuration_is_valid_if_service_discovery_options_specified_and_has_service_discovery_handler (line 61) | [Fact] method Configuration_is_valid_if_service_discovery_options_specified_dynamically_and_has_service_discovery_handler (line 79) | [Fact] method Configuration_is_invalid_if_service_discovery_options_specified_but_no_service_discovery_handler (line 96) | [Fact] method Configuration_is_invalid_if_service_discovery_options_specified_dynamically_but_service_discovery_handler (line 115) | [Fact] method Configuration_is_invalid_if_service_discovery_options_specified_but_no_service_discovery_handler_with_matching_name (line 133) | [Fact] method Configuration_is_valid_if_qos_options_specified_and_has_qos_handler (line 153) | [Fact] method Configuration_is_valid_if_qos_options_specified_globally_and_has_qos_handler (line 173) | [Fact] method Configuration_is_invalid_if_qos_options_specified_but_no_qos_handler (line 194) | [Fact] method Configuration_is_invalid_if_qos_options_specified_globally_but_no_qos_handler (line 215) | [Fact] method Configuration_is_valid_if_aggregates_are_valid (line 237) | [Fact] method Configuration_is_invalid_if_aggregates_are_duplicate_of_routes (line 262) | [Fact] method Configuration_is_valid_if_aggregates_are_not_duplicate_of_routes (line 288) | [Fact] method Configuration_is_invalid_if_aggregates_are_duplicate_of_aggregates (line 314) | [Fact] method Configuration_is_invalid_if_routes_dont_exist_for_aggregate (line 346) | [Fact] method Configuration_is_invalid_if_aggregate_has_routes_with_specific_request_id_keys (line 371) | [Fact] method Configuration_is_invalid_if_scheme_in_downstream_or_upstream_template (line 398) | [Fact] method Configuration_is_valid_with_one_route (line 419) | [Fact] method Configuration_is_invalid_without_slash_prefix_downstream_path_template (line 432) | [Fact] method Configuration_is_invalid_without_slash_prefix_upstream_path_template (line 446) | [Fact] method Configuration_is_invalid_if_upstream_url_contains_forward_slash_then_another_forward_slash (line 460) | [Fact] method Configuration_is_invalid_if_downstream_url_contains_forward_slash_then_another_forward_slash (line 474) | [Fact] method Configuration_is_valid_with_valid_authentication_provider (line 488) | [Fact] method Configuration_is_invalid_with_invalid_authentication_provider (line 504) | [Fact] method Configuration_is_not_valid_with_duplicate_routes_all_verbs (line 524) | [Fact] method Configuration_is_valid_with_duplicate_routes_all_verbs_but_different_hosts (line 540) | [Fact] method Configuration_is_not_valid_with_duplicate_routes_specific_verbs (line 555) | [Fact] method Configuration_is_valid_with_duplicate_routes_different_verbs (line 572) | [Fact] method Configuration_is_not_valid_with_duplicate_routes_with_duplicated_upstreamhosts (line 588) | [Fact] method Configuration_is_valid_with_duplicate_routes_but_different_upstreamhosts (line 604) | [Fact] method Configuration_is_valid_with_duplicate_routes_but_one_upstreamhost_is_not_set (line 619) | [Fact] method Configuration_is_invalid_with_invalid_rate_limit_configuration (line 634) | [Fact] method Configuration_is_valid_with_valid_rate_limit_configuration (line 654) | [Fact] method Configuration_is_valid_with_using_service_discovery_and_service_name (line 673) | [Fact] method Configuration_is_invalid_when_not_using_service_discovery_and_host (line 691) | [Theory] method HaveServiceDiscoveryProviderRegistered_RouteServiceName_Validated (line 709) | [Theory] method HaveServiceDiscoveryProviderRegistered_ServiceDiscoveryProvider_Validated (line 729) | [Theory] method HaveServiceDiscoveryProviderRegistered_ServiceDiscoveryFinderDelegates_Validated (line 754) | [Theory] method Configuration_is_valid_when_not_using_service_discovery_and_host_is_set (line 777) | [Fact] method Configuration_is_valid_when_no_downstream_but_has_host_and_port (line 795) | [Fact] method Configuration_is_not_valid_when_no_host_and_port (line 813) | [Fact] method Configuration_is_not_valid_when_host_and_port_is_empty (line 829) | [Fact] method Configuration_is_not_valid_when_upstream_headers_the_same (line 848) | [Fact] method Configuration_is_valid_when_upstream_headers_not_the_same (line 874) | [Fact] method Configuration_is_valid_when_upstream_headers_count_not_the_same (line 899) | [Fact] method Configuration_is_valid_when_one_upstream_headers_empty_and_other_not_empty (line 923) | [Fact] method IsPlaceholderNotDuplicatedIn_RuleForFileRoute_PathTemplatePlaceholdersAreValidated (line 944) | [Theory] method Configuration_is_invalid_when_placeholder_is_used_twice_in_upstream_path_template (line 968) | [Theory] method Configuration_is_invalid_when_placeholder_is_used_twice_in_downstream_path_template (line 987) | [Theory] method Configuration_is_not_valid_if_specified_authentication_provider_is_not_registered (line 1007) | [Fact] method Configuration_is_valid_if_specified_authentication_provider_is_registered (line 1019) | [Fact] method Configuration_is_not_valid_if_one_authentication_provider_is_not_registered (line 1031) | [Fact] method Configuration_is_valid_if_all_specified_authentication_provider_are_registered (line 1043) | [Fact] method GivenDefaultRoute (line 1056) | private static FileRoute GivenDefaultRoute() => GivenDefaultRoute(null... method GivenDefaultRoute (line 1057) | private static FileRoute GivenDefaultRoute(string upstream, string dow... method GivenServiceDiscoveryRoute (line 1072) | private static FileRoute GivenServiceDiscoveryRoute() => new() method GivenRouteWithUpstreamHeaderTemplates (line 1081) | private static FileRoute GivenRouteWithUpstreamHeaderTemplates(string ... method GivenAConfiguration (line 1093) | private void GivenAConfiguration(FileConfiguration fileConfiguration) ... method GivenAConfiguration (line 1095) | private FileConfiguration GivenAConfiguration(params FileRoute[] routes) method GivenConfigurationWithAuthenticationKey (line 1103) | private void GivenConfigurationWithAuthenticationKey(string key) method GivenConfigurationWithAuthenticationKeys (line 1109) | private void GivenConfigurationWithAuthenticationKeys(string[] keys) method GivenDefaultServiceDiscoveryProvider (line 1115) | private static FileServiceDiscoveryProvider GivenDefaultServiceDiscove... method WhenIValidateTheConfiguration (line 1123) | private async Task WhenIValidateTheConfiguration() method ThenTheResultIsValid (line 1126) | private void ThenTheResultIsValid() method ThenTheResultIsNotValid (line 1129) | private void ThenTheResultIsNotValid() method ThenTheErrorIs (line 1132) | private void ThenTheErrorIs() method ThenTheErrorMessageAtPositionIs (line 1135) | private void ThenTheErrorMessageAtPositionIs(int index, string expected) method ThenThereAreErrors (line 1138) | private void ThenThereAreErrors(bool isError) method ThenTheErrorMessagesAre (line 1141) | private void ThenTheErrorMessagesAre(IEnumerable messages) method GivenTheAuthSchemeExists (line 1151) | private void GivenTheAuthSchemeExists(string name) method GivenTheAuthSchemesExists (line 1159) | private void GivenTheAuthSchemesExists(string[] names) method GivenAQoSHandler (line 1164) | private void GivenAQoSHandler() method GivenAServiceDiscoveryHandler (line 1175) | private void GivenAServiceDiscoveryHandler() class FakeServiceDiscoveryProvider (line 1186) | private class FakeServiceDiscoveryProvider : IServiceDiscoveryProvider method GetAsync (line 1188) | public Task> GetAsync() => Task.FromResult method TestHandler (line 1198) | public TestHandler(IOptionsMonitor options, ILoggerFact... method HandleAuthenticateAsync (line 1201) | protected override Task HandleAuthenticateAsync() FILE: test/Ocelot.UnitTests/Configuration/Validation/FileQoSOptionsFluentValidatorTests.cs class FileQoSOptionsFluentValidatorTests (line 11) | public class FileQoSOptionsFluentValidatorTests : UnitTest method FileQoSOptionsFluentValidatorTests (line 16) | public FileQoSOptionsFluentValidatorTests() method Should_be_valid_as_nothing_set (line 23) | [Fact] method Should_be_valid_as_qos_delegate_set (line 36) | [Fact] method Should_be_invalid_as_no_qos_delegate (line 54) | [Fact] method GivenAQosDelegate (line 72) | private void GivenAQosDelegate() FILE: test/Ocelot.UnitTests/Configuration/Validation/HostAndPortValidatorTests.cs class HostAndPortValidatorTests (line 6) | public class HostAndPortValidatorTests : UnitTest method HostAndPortValidatorTests (line 10) | public HostAndPortValidatorTests() method Should_be_invalid_because_host_empty (line 15) | [Theory] method Should_be_valid_because_host_set (line 34) | [Fact] FILE: test/Ocelot.UnitTests/Configuration/Validation/RouteFluentValidatorTests.cs class RouteFluentValidatorTests (line 10) | public class RouteFluentValidatorTests : UnitTest method RouteFluentValidatorTests (line 16) | public RouteFluentValidatorTests() method Downstream_path_template_should_not_be_empty (line 28) | [Fact] method Upstream_path_template_should_not_be_empty (line 42) | [Fact] method Downstream_path_template_should_start_with_forward_slash (line 59) | [Fact] method Downstream_path_template_should_not_contain_double_forward_slash (line 76) | [Fact] method Downstream_path_template_should_not_contain_scheme (line 93) | [Theory] method Upstream_path_template_should_start_with_forward_slash (line 114) | [Fact] method Upstream_path_template_should_not_contain_double_forward_slash (line 132) | [Fact] method Upstream_path_template_should_not_contain_scheme (line 150) | [Theory] method ShouldValidate_FileRateLimitByHeaderRule_Limit (line 172) | [Theory] method Should_not_be_valid_if_enable_rate_limiting_true_and_period_is_empty (line 198) | [Fact] method Should_not_be_valid_if_enable_rate_limiting_true_and_period_has_value (line 216) | [Fact] method IsValidPeriod_ReflectionLifeHack_BranchesAreCovered (line 233) | [Theory] method Should_not_be_valid_if_specified_authentication_provider_isnt_registered (line 266) | [Fact] method Should_not_be_valid_if_not_using_service_discovery_and_no_host_and_ports (line 288) | [Fact] method Should_be_valid_if_using_service_discovery_and_no_host_and_ports (line 306) | [Fact] method Should_be_valid_re_route_using_host_and_port_and_paths (line 324) | [Fact] method Should_be_valid_if_specified_authentication_provider_is_registered (line 349) | [Fact] method Should_be_valid_re_route_using_downstream_http_version (line 380) | [Theory] method Should_be_invalid_re_route_using_downstream_http_version (line 416) | [Theory] method GivenRoute (line 449) | private static FileRoute GivenRoute() => new() method GivenAnAuthProvider (line 459) | private void GivenAnAuthProvider(string key) class FakeAutheHandler (line 471) | private class FakeAutheHandler : IAuthenticationHandler method InitializeAsync (line 473) | public Task InitializeAsync(AuthenticationScheme scheme, HttpContext... method AuthenticateAsync (line 478) | public Task AuthenticateAsync() method ChallengeAsync (line 483) | public Task ChallengeAsync(AuthenticationProperties properties) method ForbidAsync (line 488) | public Task ForbidAsync(AuthenticationProperties properties) class ValidationResultExtensions (line 495) | static class ValidationResultExtensions method ThenTheErrorsContains (line 497) | public static void ThenTheErrorsContains(this ValidationResult result,... method ThenSingleErrorIs (line 500) | public static void ThenSingleErrorIs(this ValidationResult result, str... FILE: test/Ocelot.UnitTests/Configuration/VersionCreatorTests.cs class VersionCreatorTests (line 5) | public class VersionCreatorTests : UnitTest method Should_create_version_based_on_input (line 9) | [Fact] method Should_default_to_version_one_point_one (line 20) | [Fact] FILE: test/Ocelot.UnitTests/Consul/AgentServiceExtensions.cs class AgentServiceExtensions (line 5) | internal static class AgentServiceExtensions method WithServiceName (line 7) | public static AgentService WithServiceName(this AgentService agent, st... method WithPort (line 13) | public static AgentService WithPort(this AgentService agent, int port) method WithAddress (line 19) | public static AgentService WithAddress(this AgentService agent, string... method ToServiceEntry (line 25) | public static ServiceEntry ToServiceEntry(this AgentService agent) => ... FILE: test/Ocelot.UnitTests/Consul/ConsulFileConfigurationRepositoryTests.cs class ConsulFileConfigurationRepositoryTests (line 14) | public class ConsulFileConfigurationRepositoryTests : UnitTest method ConsulFileConfigurationRepositoryTests (line 26) | public ConsulFileConfigurationRepositoryTests() method Should_set_config (line 46) | [Fact] method Should_get_config (line 60) | [Fact] method Should_get_null_config (line 74) | [Fact] method Should_get_config_from_cache (line 88) | [Fact] method Should_set_config_key (line 102) | [Fact] method Should_set_default_config_key (line 117) | [Fact] method ThenTheConfigKeyIs (line 131) | private void ThenTheConfigKeyIs(string expected) method GivenTheConfigKeyComesFromFileConfig (line 136) | private void GivenTheConfigKeyComesFromFileConfig(string key) method ThenTheConfigurationIs (line 142) | private void ThenTheConfigurationIs(FileConfiguration config) method GivenWritingToConsulSucceeds (line 149) | private void GivenWritingToConsulSucceeds() method GivenFetchFromCacheSucceeds (line 158) | private void GivenFetchFromCacheSucceeds() method GivenFetchFromConsulReturnsNull (line 163) | private void GivenFetchFromConsulReturnsNull() method GivenFetchFromConsulSucceeds (line 170) | private void GivenFetchFromConsulSucceeds() method ThenTheConfigurationIsStoredAs (line 186) | private void ThenTheConfigurationIsStoredAs(FileConfiguration config) method GivenFakeFileConfiguration (line 193) | private FileConfiguration GivenFakeFileConfiguration() FILE: test/Ocelot.UnitTests/Consul/ConsulProviderFactoryTests.cs class ConsulProviderFactoryTests (line 12) | public sealed class ConsulProviderFactoryTests : UnitTest, IDisposable method ConsulProviderFactoryTests (line 18) | public ConsulProviderFactoryTests() method Dispose (line 43) | public void Dispose() method Get_EmptyTypeName_ReturnedConsul (line 49) | [Fact] method Get_PollConsulTypeName_ReturnedPollConsul (line 63) | [Fact] method Get_RoutesWithTheSameServiceName_ReturnedSameProvider (line 74) | [Fact] method Get_MultipleServiceNames_ShouldReturnProviderAccordingToServiceName (line 94) | [Fact] method Get_RootProvider_ShouldThrowInvalidOperationException (line 126) | [Fact] method DummyPollingConsulServiceFactory (line 141) | private IServiceDiscoveryProvider DummyPollingConsulServiceFactory(str... method GivenRoute (line 143) | private static DownstreamRoute GivenRoute(string serviceName) => new D... method CreateProvider (line 147) | private IServiceDiscoveryProvider CreateProvider(DownstreamRoute route... FILE: test/Ocelot.UnitTests/Consul/DefaultConsulServiceBuilderTests.cs class DefaultConsulServiceBuilderTests (line 11) | public sealed class DefaultConsulServiceBuilderTests method DefaultConsulServiceBuilderTests (line 20) | public DefaultConsulServiceBuilderTests() method Arrange (line 32) | private void Arrange([CallerMemberName] string testName = null) method Ctor_PrivateMembers_PropertiesAreInitialized (line 41) | [Fact] method GetNode_EntryBranch_ReturnsEntryNode (line 63) | [Fact] method GetNode_NodesBranch_ReturnsNodeFromCollection (line 78) | [Fact] method GetDownstreamHost_BothBranches_NameOrAddress (line 116) | [Fact] method GetServiceVersion_TagsIsNull_EmptyString (line 138) | [Fact] method GetServiceVersion_HasTags_HappyPath (line 158) | [Fact] method GetServiceTags_BothBranches (line 180) | [Fact] FILE: test/Ocelot.UnitTests/Consul/OcelotBuilderExtensionsTests.cs class OcelotBuilderExtensionsTests (line 13) | public class OcelotBuilderExtensionsTests : UnitTest method OcelotBuilderExtensionsTests (line 18) | public OcelotBuilderExtensionsTests() method GetHostingEnvironment (line 26) | private static IWebHostEnvironment GetHostingEnvironment() method AddConsul_ShouldSetUpConsul (line 34) | [Fact] method AddConfigStoredInConsul_ShouldSetUpConsul (line 45) | [Fact] method AddConsulGeneric_TServiceBuilder_ShouldSetUpConsul (line 57) | [Fact] class FakeConsulServiceBuilder (line 71) | internal class FakeConsulServiceBuilder : IConsulServiceBuilder method BuildServices (line 74) | public IEnumerable BuildServices(ServiceEntry[] entries, Node... method CreateService (line 75) | public Service CreateService(ServiceEntry serviceEntry, Node serviceNo... method IsValid (line 76) | public bool IsValid(ServiceEntry entry) => throw new NotImplementedExc... FILE: test/Ocelot.UnitTests/Consul/PollingConsulServiceDiscoveryProviderTests.cs class PollingConsulServiceDiscoveryProviderTests (line 9) | public class PollingConsulServiceDiscoveryProviderTests : UnitTest method PollingConsulServiceDiscoveryProviderTests (line 18) | public PollingConsulServiceDiscoveryProviderTests() method Should_return_service_from_consul (line 28) | [Fact] method Should_return_service_from_consul_without_delay (line 42) | [Fact] method GivenConsulReturns (line 56) | private void GivenConsulReturns(Service service) method WhenIGetTheServices (line 62) | private void WhenIGetTheServices(int expected) method WhenIGetTheServicesWithoutDelay (line 80) | private async Task WhenIGetTheServicesWithoutDelay(int expected) FILE: test/Ocelot.UnitTests/Controllers/FileConfigurationControllerTests.cs class FileConfigurationControllerTests (line 11) | public class FileConfigurationControllerTests : UnitTest method FileConfigurationControllerTests (line 17) | public FileConfigurationControllerTests() method Should_get_file_configuration (line 24) | [Fact] method Should_return_error_when_cannot_get_config (line 38) | [Fact] method Should_post_file_configuration (line 53) | [Fact] method Should_return_error_when_cannot_set_config (line 67) | [Fact] method Should_catch_exception_when_cannot_set_config (line 82) | [Fact] class FakeError (line 100) | private class FakeError : Error method FakeError (line 102) | public FakeError() : base(string.Empty, OcelotErrorCode.CannotAddDat... FILE: test/Ocelot.UnitTests/Controllers/OutputCacheControllerTests.cs class OutputCacheControllerTests (line 7) | public class OutputCacheControllerTests : UnitTest method OutputCacheControllerTests (line 12) | public OutputCacheControllerTests() method Delete_ByKey_ClearedRegion (line 18) | [Fact] FILE: test/Ocelot.UnitTests/DependencyInjection/ConfigurationBuilderExtensionsTests.cs class ConfigurationBuilderExtensionsTests (line 11) | public sealed class ConfigurationBuilderExtensionsTests : FileUnitTest method ConfigurationBuilderExtensionsTests (line 23) | public ConfigurationBuilderExtensionsTests() method EnvironmentName (line 28) | protected override string EnvironmentName() method Should_add_base_url_to_config (line 31) | [Fact] method Should_merge_files_to_file (line 46) | [Fact] method Should_store_given_configurations_when_provided_file_configuration_object (line 63) | [Fact] method Should_merge_files_except_env (line 77) | [Fact] method Should_merge_files_in_specific_folder (line 92) | [Fact] method Should_merge_files_to_memory (line 105) | [Fact] method Should_merge_files_with_null_environment (line 122) | [Fact] method Should_use_relative_path_for_global_config (line 142) | [Fact] method GivenCombinedFileConfigurationObject (line 157) | private void GivenCombinedFileConfigurationObject([CallerMemberName] s... method GivenMultipleConfigurationFiles (line 167) | private void GivenMultipleConfigurationFiles(string folder, bool withE... method GetFileGlobalConfigurationData (line 196) | private static FileGlobalConfiguration GetFileGlobalConfigurationData(... method GetFileAggregatesRouteData (line 216) | private static List GetFileAggregatesRouteData() =... method GetRoute (line 225) | private static FileRoute GetRoute(string suffix) => new() method GetServiceARoutes (line 238) | private static List GetServiceARoutes() => new() { GetRoute... method GetServiceBRoutes (line 239) | private static List GetServiceBRoutes() => new() { GetRoute... method GetEnvironmentSpecificRoutes (line 240) | private static List GetEnvironmentSpecificRoutes() => new()... method GivenTheEnvironmentIs (line 242) | private void GivenTheEnvironmentIs(string folder, [CallerMemberName] s... method WhenIAddOcelotConfigurationWithCombinedFileConfiguration (line 249) | private void WhenIAddOcelotConfigurationWithCombinedFileConfiguration() method WhenIAddOcelotConfiguration (line 256) | private void WhenIAddOcelotConfiguration(string folder, MergeOcelotJso... method WhenIAddOcelotConfigurationWithDefaultFilePaths (line 263) | private void WhenIAddOcelotConfigurationWithDefaultFilePaths(string fo... method ThenTheConfigsAreMergedAndAddedInApplicationConfiguration (line 270) | private FileConfiguration ThenTheConfigsAreMergedAndAddedInApplication... method NotContainsEnvSpecificConfig (line 309) | private void NotContainsEnvSpecificConfig() method TheOcelotPrimaryConfigFileExists (line 317) | private void TheOcelotPrimaryConfigFileExists(bool expected) FILE: test/Ocelot.UnitTests/DependencyInjection/OcelotBuilderTests.cs class OcelotBuilderTests (line 35) | public class OcelotBuilderTests : UnitTest method OcelotBuilderTests (line 42) | public OcelotBuilderTests() method GetHostingEnvironment (line 50) | private static IWebHostEnvironment GetHostingEnvironment() method AddDelegatingHandler_Generic_NotGlobal (line 58) | [Fact] method AddDelegatingHandler_Generic_Global (line 76) | [Fact] method AddDelegatingHandler_Type_TypeCheck (line 94) | [Fact] method AddDelegatingHandler_Type_Global (line 111) | [Fact] method AddDelegatingHandler_Type_NotGlobal (line 127) | [Fact] method Should_set_up_services (line 143) | [Fact] method Should_return_ocelot_builder (line 150) | [Fact] method Should_use_logger_factory (line 160) | [Fact] method Should_set_up_without_passing_in_config (line 174) | [Fact] method Should_add_singleton_defined_aggregators (line 181) | [Fact] method Should_add_transient_defined_aggregators (line 202) | [Fact] method Should_add_custom_load_balancer_creators_by_default_ctor (line 223) | [Fact] method Should_add_custom_load_balancer_creators_by_factory_method (line 236) | [Fact] method Should_add_custom_load_balancer_creators_by_di_factory_method (line 249) | [Fact] method Should_add_custom_load_balancer_creators_by_factory_method_with_arguments (line 262) | [Fact] method Should_replace_iplaceholder (line 275) | [Fact] method Should_add_custom_load_balancer_creators (line 290) | [Fact] method Should_use_default_mvc_builder (line 303) | [Fact] method CstorShouldUseDefaultBuilderToInitMvcCoreBuilder (line 313) | private void CstorShouldUseDefaultBuilderToInitMvcCoreBuilder() method Should_use_custom_mvc_builder_no_configuration (line 392) | [Fact] method Should_use_custom_mvc_builder_with_configuration (line 403) | [Theory] method CreateInstance_CreatedFromImplementationInstance (line 420) | [Fact] method CreateInstance_CreatedByImplementationFactory (line 436) | [Fact] method FakeCustomBuilder (line 455) | private IMvcCoreBuilder FakeCustomBuilder(IMvcCoreBuilder builder, Ass... method WhenISetupOcelotServicesWithCustomMvcBuider (line 464) | private void WhenISetupOcelotServicesWithCustomMvcBuider(IConfiguratio... method CstorShouldUseCustomBuilderToInitMvcCoreBuilder (line 472) | private void CstorShouldUseCustomBuilderToInitMvcCoreBuilder() method ShouldFindConfiguration (line 492) | private void ShouldFindConfiguration() method ThenTheSpecificHandlersAreTransient (line 500) | private void ThenTheSpecificHandlersAreTransient() method ThenTheGlobalHandlersAreTransient (line 509) | private void ThenTheGlobalHandlersAreTransient() method ThenTheProviderIsRegisteredAndReturnsHandlers (line 518) | private void ThenTheProviderIsRegisteredAndReturnsHandlers() method ThenTheProviderIsRegisteredAndReturnsSpecificHandlers (line 526) | private void ThenTheProviderIsRegisteredAndReturnsSpecificHandlers> LeaseAsync(HttpContext htt... method Release (line 568) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... FILE: test/Ocelot.UnitTests/DependencyInjection/ServiceCollectionExtensionsTests.cs class ServiceCollectionExtensionsTests (line 11) | public class ServiceCollectionExtensionsTests method AddOcelot_NoConfiguration_DefaultConfiguration (line 13) | [Fact] method FindConfiguration_HasDescriptor_HappyPath (line 29) | [Theory] method AddOcelotUsingBuilder_NoConfigurationParam_ShouldFindConfiguration (line 54) | [Fact] method AddOcelotUsingBuilder_WithConfigurationParam_ShouldFindConfiguration (line 71) | [Theory] method AssertConfiguration (line 93) | private void AssertConfiguration(IOcelotBuilder ocelot, IConfiguration... method CustomBuilder (line 104) | private IMvcCoreBuilder CustomBuilder(IMvcCoreBuilder builder, Assembl... FILE: test/Ocelot.UnitTests/DownstreamPathManipulation/ChangeDownstreamPathTemplateTests.cs class ChangeDownstreamPathTemplateTests (line 14) | [Trait("Feat", "968")] // https://github.com/ThreeMammals/Ocelot/pull/968 method ChangeDownstreamPathTemplateTests (line 27) | public ChangeDownstreamPathTemplateTests() method Should_change_downstream_path_request (line 33) | [Fact] method Should_replace_existing_placeholder_value (line 57) | [Fact] method Should_return_error_when_no_placeholder_in_downstream_path (line 84) | [Fact] method Should_return_error_when_claim_parser_returns_error (line 109) | [Fact] method GivenTheClaimParserReturns (line 135) | private void GivenTheClaimParserReturns(Response claimValue) method WhenIChangeDownstreamPath (line 142) | private void WhenIChangeDownstreamPath() method ThenClaimDataIsContainedInPlaceHolder (line 145) | private void ThenClaimDataIsContainedInPlaceHolder(string name, string... FILE: test/Ocelot.UnitTests/DownstreamPathManipulation/ClaimsToDownstreamPathMiddlewareTests.cs class ClaimsToDownstreamPathMiddlewareTests (line 16) | [Trait("Feat", "968")] // https://github.com/ThreeMammals/Ocelot/pull/968 method ClaimsToDownstreamPathMiddlewareTests (line 27) | public ClaimsToDownstreamPathMiddlewareTests() method Should_call_add_queries_correctly (line 39) | [Fact] FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/DiscoveryDownstreamRouteFinderTests.cs class DiscoveryDownstreamRouteFinderTests (line 15) | public class DiscoveryDownstreamRouteFinderTests : UnitTest method DiscoveryDownstreamRouteFinderTests (line 33) | public DiscoveryDownstreamRouteFinderTests() method Should_create_downstream_route (line 44) | [Fact] method Should_create_downstream_route_with_rate_limit_options (line 58) | [Fact] method Should_cache_downstream_route (line 95) | [Fact] method Should_not_cache_downstream_route (line 113) | [Fact] method Should_create_downstream_route_with_no_path (line 131) | [Fact] method Should_create_downstream_route_with_only_first_segment_no_traling_slash (line 146) | [Fact] method Should_create_downstream_route_with_segments_no_traling_slash (line 161) | [Fact] method Should_create_downstream_route_and_forward_query_string (line 180) | [Fact] method Should_create_downstream_route_for_sticky_sessions (line 203) | [Fact] method Should_create_downstream_route_with_qos (line 221) | [Fact] method Should_create_downstream_route_with_handler_options (line 241) | [Fact] method GetServiceName (line 255) | [Theory] method Should_create_downstream_route_with_load_balancer_options (line 278) | [Fact] method ShouldFindFirstOrDefaultDownstreamRoute_WithOrWithoutServiceNamespace (line 311) | [Theory] method ThenTheDownstreamRouteIsCreated (line 354) | private void ThenTheDownstreamRouteIsCreated(string serviceName = null... method ThenTheDownstreamPathIsForwardSlash (line 377) | private void ThenTheDownstreamPathIsForwardSlash() method GivenTheConfiguration (line 385) | private void GivenTheConfiguration() method GivenInternalConfiguration (line 402) | private void GivenInternalConfiguration(Route route = null, int index ... method WhenICreate (line 421) | private void WhenICreate() method WhenICreateAgain (line 426) | private void WhenICreateAgain() FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/DownstreamRouteFinderMiddlewareTests.cs class DownstreamRouteFinderMiddlewareTests (line 14) | public class DownstreamRouteFinderMiddlewareTests : UnitTest method DownstreamRouteFinderMiddlewareTests (line 26) | public DownstreamRouteFinderMiddlewareTests() method Should_call_scoped_data_repository_correctly (line 39) | [Fact] method GivenTheFollowingConfig (line 60) | private void GivenTheFollowingConfig(IInternalConfiguration config) method GivenTheDownStreamRouteFinderReturns (line 66) | private void GivenTheDownStreamRouteFinderReturns(DownstreamRouteHolde... method ThenTheScopedDataRepositoryIsCalledCorrectly (line 74) | private void ThenTheScopedDataRepositoryIsCalledCorrectly() FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/DownstreamRouteFinderTests.cs class DownstreamRouteFinderTests (line 13) | public class DownstreamRouteFinderTests : UnitTest method DownstreamRouteFinderTests (line 30) | public DownstreamRouteFinderTests() method Should_return_highest_priority_when_first (line 39) | [Fact] method Should_return_highest_priority_when_lowest (line 68) | [Fact] method Should_return_route (line 97) | [Fact] method Should_not_append_slash_to_upstream_url_path (line 125) | [Fact] method Should_return_route_if_upstream_path_and_upstream_template_are_the_same (line 156) | [Fact] method Should_return_correct_route_for_http_verb (line 183) | [Fact] method Should_not_return_route (line 212) | [Fact] method Should_return_correct_route_for_http_verb_setting_multiple_upstream_http_method (line 236) | [Fact] method Should_return_correct_route_for_http_verb_setting_all_upstream_http_method (line 263) | [Fact] method Should_not_return_route_for_http_verb_not_setting_in_upstream_http_method (line 290) | [Fact] method Should_return_route_when_host_matches (line 316) | [Fact] method Should_return_route_when_upstreamhost_is_null (line 345) | [Fact] method Should_not_return_route_when_host_doesnt_match (line 374) | [Fact] method Should_not_return_route_when_host_doesnt_match_with_empty_upstream_http_method (line 402) | [Fact] method Should_return_route_when_host_does_match_with_empty_upstream_http_method (line 429) | [Fact] method Should_return_route_when_host_matches_but_null_host_on_same_path_first (line 455) | [Fact] method Should_return_route_when_upstream_headers_match (line 486) | [Fact] method Should_not_return_route_when_upstream_headers_dont_match (line 530) | [Fact] method Should_filter_static_routes (line 564) | [Theory] method GivenRoute (line 598) | private static Route GivenRoute(bool? isDynamic = null, string downstr... method GivenDownstreamRoute (line 618) | private static DownstreamRoute GivenDownstreamRoute(string downstream ... method GivenTheTemplateVariableAndNameFinderReturns (line 627) | private void GivenTheTemplateVariableAndNameFinderReturns(Response actual, ... FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/HeaderMatcher/HeadersToHeaderTemplatesMatcherTests.cs class HeadersToHeaderTemplatesMatcherTests (line 7) | [Trait("PR", "1312")] method Should_match_when_no_template_headers (line 13) | [Fact] method Should_match_the_same_headers (line 30) | [Fact] method Should_not_match_the_same_headers_when_differ_case_and_case_sensitive (line 50) | [Fact] method Should_match_the_same_headers_when_differ_case_and_case_insensitive (line 70) | [Fact] method Should_not_match_different_headers_values (line 90) | [Fact] method Should_not_match_the_same_headers_names (line 110) | [Fact] method Should_match_all_the_same_headers (line 130) | [Fact] method Should_not_match_the_headers_when_one_of_them_different (line 155) | [Fact] method Should_match_the_header_with_placeholder (line 180) | [Fact] method Should_match_the_header_with_placeholders (line 200) | [Fact] method Should_not_match_the_header_with_placeholders (line 220) | [Fact] FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/UrlMatcher/PlaceholderNameAndValueTests.cs class PlaceholderNameAndValueTests (line 5) | public sealed class PlaceholderNameAndValueTests method Key (line 7) | [Fact] method ToString_Override (line 22) | [Fact] FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/UrlMatcher/RegExUrlMatcherTests.cs class RegExUrlMatcherTests (line 7) | public class RegExUrlMatcherTests : UnitTest method Should_not_match (line 12) | [Fact] method Should_match (line 27) | [Fact] method Should_match_path_with_no_query_string (line 42) | [Fact] method Should_match_query_string (line 59) | [Fact] method Should_match_query_string_with_multiple_params (line 77) | [Fact] method Should_not_match_slash_becaue_we_need_to_match_something_after_it (line 95) | [Fact] method Should_not_match_forward_slash_only_regex (line 111) | [Fact] method Should_not_match_issue_134 (line 126) | [Fact] method Should_match_forward_slash_only_regex (line 141) | [Fact] method Should_find_match_when_template_smaller_than_valid_path (line 156) | [Fact] method Should_not_find_match (line 171) | [Fact] method Can_match_down_stream_url (line 186) | [Fact] method Can_match_down_stream_url_with_no_slash (line 201) | [Fact] method Can_match_down_stream_url_with_one_slash (line 216) | [Fact] method Can_match_down_stream_url_with_downstream_template (line 231) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_one_place_holder (line 246) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_two_place_holders (line 261) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_two_place_holders_seperated_by_something (line 276) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_three_place_holders_seperated_by_something (line 291) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_three_place_holders (line 306) | [Fact] method Should_ignore_case_sensitivity (line 321) | [Fact] method Should_respect_case_sensitivity (line 336) | [Fact] method GivenUpstreamPathTemplate (line 351) | private static UpstreamPathTemplate GivenUpstreamPathTemplate(string d... FILE: test/Ocelot.UnitTests/DownstreamRouteFinder/UrlMatcher/UrlPathPlaceholderNameAndValueFinderTests.cs class UrlPathPlaceholderNameAndValueFinderTests (line 6) | public class UrlPathPlaceholderNameAndValueFinderTests : UnitTest method Can_match_down_stream_url (line 12) | [Fact] method Can_match_down_stream_url_with_nothing_then_placeholder_no_value_is_blank (line 22) | [Fact] method Can_match_down_stream_url_with_nothing_then_placeholder_value_is_test (line 32) | [Fact] method Should_match_everything_in_path_with_query (line 42) | [Fact] method Should_match_everything_in_path (line 52) | [Fact] method Can_match_down_stream_url_with_forward_slash_then_placeholder_no_value_is_blank (line 62) | [Fact] method Can_match_down_stream_url_with_forward_slash (line 72) | [Fact] method Can_match_down_stream_url_with_forward_slash_then_placeholder_then_another_value (line 82) | [Fact] method Should_not_find_anything (line 92) | [Fact] method Should_find_query_string (line 102) | [Fact] method Should_find_query_string_dont_include_hardcoded (line 112) | [Fact] method Should_find_multiple_query_string (line 122) | [Fact] method Should_find_multiple_query_string_and_path (line 134) | [Fact] method Should_find_multiple_query_string_and_path_that_ends_with_slash (line 147) | [Fact] method Can_match_down_stream_url_with_no_slash (line 160) | [Fact] method Can_match_down_stream_url_with_one_slash (line 170) | [Fact] method Can_match_down_stream_url_with_downstream_template (line 180) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_one_place_holder (line 190) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_two_place_holders (line 200) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_two_place_holders_seperated_by_something (line 212) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_three_place_holders_seperated_by_something (line 224) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_three_place_holders (line 237) | [Fact] method Can_match_down_stream_url_with_downstream_template_with_place_holder_to_final_url_path (line 249) | [Theory] method Check_for_placeholder_at_end_of_template (line 262) | [Fact] method Should_fix_issue_748 (line 273) | [Theory] method Should_resolve_catchall_at_end_with_middle_placeholder (line 288) | [Theory] method Can_match_between_slashes (line 305) | [Theory] method Can_match_all_placeholders_between_slashes (line 318) | [Theory] method Find_CaseInsensitive_MatchedAllPlaceholdersBetweenSlashes (line 356) | [Theory] method Find_CaseInsensitive_CannotMatchPlaceholders (line 386) | [Theory] method Find_HasCatchAll_OnlyTheLastPlaceholderCanContainSlashes (line 416) | [Theory] method ThenSinglePlaceholderIs (line 452) | private void ThenSinglePlaceholderIs(string expectedName, string expec... method ThenTheTemplatesVariablesAre (line 458) | private void ThenTheTemplatesVariablesAre(params PlaceholderNameAndVal... method ThenTheExpectedVariablesCantBeFound (line 466) | private void ThenTheExpectedVariablesCantBeFound(params PlaceholderNam... FILE: test/Ocelot.UnitTests/DownstreamUrlCreator/DownstreamPathPlaceholderReplacerTests.cs class DownstreamPathPlaceholderReplacerTests (line 10) | public class DownstreamPathPlaceholderReplacerTests : UnitTest method Can_replace_no_template_variables (line 14) | [Fact] method Can_replace_no_template_variables_with_slash (line 29) | [Fact] method Can_replace_url_no_slash (line 44) | [Fact] method Can_replace_url_one_slash (line 59) | [Fact] method Can_replace_url_multiple_slash (line 74) | [Fact] method Can_replace_url_one_template_variable (line 89) | [Fact] method Can_replace_url_one_template_variable_with_path_after (line 108) | [Fact] method Can_replace_url_two_template_variable (line 127) | [Fact] method Can_replace_url_three_template_variable (line 147) | [Fact] method GivenRoute (line 168) | private static Route GivenRoute(string downstream = null, string metho... method GivenDownstreamRoute (line 178) | private static DownstreamRoute GivenDownstreamRoute(string downstream ... FILE: test/Ocelot.UnitTests/DownstreamUrlCreator/DownstreamUrlCreatorMiddlewareTests.cs class DownstreamUrlCreatorMiddlewareTests (line 14) | public sealed class DownstreamUrlCreatorMiddlewareTests : UnitTest method DownstreamUrlCreatorMiddlewareTests (line 28) | public DownstreamUrlCreatorMiddlewareTests() method Should_replace_scheme_and_path (line 40) | [Fact] method ShouldThrowNotSupportedException_WhenReplacerReturnedEmpty (line 66) | [Fact] method Should_replace_query_string (line 93) | [Fact] method Should_replace_query_string_but_leave_non_placeholder_queries (line 124) | [Fact] method Should_replace_query_string_but_leave_non_placeholder_queries_2 (line 155) | [Fact] method Should_replace_query_string_exact_match (line 186) | [Fact] method Should_not_create_service_fabric_url (line 218) | [Fact] method Should_create_service_fabric_url (line 246) | [Fact] method Should_create_service_fabric_url_with_query_string_for_stateless_service (line 274) | [Fact] method Should_create_service_fabric_url_with_query_string_for_stateful_service (line 302) | [Fact] method Should_create_service_fabric_url_with_version_from_upstream_path_template (line 330) | [Fact] method Should_not_remove_additional_query_parameter_when_placeholder_and_parameter_names_are_different (line 359) | [Fact] method Should_not_replace_by_empty_scheme (line 391) | [Fact] method Should_map_query_parameters_with_different_names (line 419) | [Fact] method Should_map_query_parameters_with_different_names_and_save_old_param_if_placeholder_and_param_names_differ (line 451) | [Fact] method Should_forward_query_parameters_without_duplicates (line 483) | [Theory] method Should_fix_issue_748 (line 517) | [Theory] method Should_omit_the_ending_slash_from_the_downstream_path_when_the_upstream_path_has_no_ending_slash (line 556) | [Fact] method Should_map_when_query_parameters_has_same_names_with_placeholder (line 589) | [Fact] method ShouldNotFailToHandleUrlWithSpecialRegexChars (line 629) | [Theory] method Should_not_corrupt_query_parameter_names_containing_id_when_route_has_id_placeholder (line 664) | [Theory] method GetPath (line 701) | private static ReadOnlySpan GetPath(string downstreamPath) method GetPath_ShouldReturnSubstringBeforeQuestionMark (line 704) | [Theory] method GetPath_ShouldReturnFullPath_WhenNoQuestionMark (line 716) | [Theory] method GetPath_ShouldHandleEmptyString (line 728) | [Fact] method GetQueryString (line 738) | private static ReadOnlySpan GetQueryString(string downstreamPath) method GetQueryString_ShouldReturnSubstringStartingWithQuestionMark (line 741) | [Theory] method GetQueryString_ShouldReturnEmpty_WhenNoQuestionMark (line 753) | [Theory] method GetQueryString_ShouldHandleEmptyString (line 765) | [Fact] method GetQueryString_ShouldHandleOnlyQuestionMark (line 775) | [Fact] method AsHashSet (line 785) | private static HashSet AsHashSet(IEnumerable colle... method AsHttpMethod (line 786) | private static HttpMethod AsHttpMethod(string method) => new(method); method GivenTheServiceProviderConfigIs (line 788) | private void GivenTheServiceProviderConfigIs(ServiceProviderConfigurat... method GivenTheDownStreamRouteIs (line 797) | private void GivenTheDownStreamRouteIs(DownstreamRouteHolder downstrea... method GivenTheDownstreamRequestUriIs (line 803) | private void GivenTheDownstreamRequestUriIs(string uri) method GivenTheUrlReplacerWillReturnSequence (line 809) | private void GivenTheUrlReplacerWillReturnSequence(params string[] paths) method GivenTheUrlReplacerWillReturn (line 819) | private void GivenTheUrlReplacerWillReturn(string path) method ThenTheDownstreamRequestUriIs (line 827) | private void ThenTheDownstreamRequestUriIs(string expectedUri) method ThenTheQueryStringIs (line 832) | private void ThenTheQueryStringIs(string queryString) class DownstreamUrlCreatorMiddlewareTestWrapper (line 838) | internal class DownstreamUrlCreatorMiddlewareTestWrapper : DownstreamUrl... method DownstreamUrlCreatorMiddlewareTestWrapper (line 840) | public DownstreamUrlCreatorMiddlewareTestWrapper(RequestDelegate next,... method GetPath (line 843) | public static new ReadOnlySpan GetPath(ReadOnlySpan downst... method GetQueryString (line 846) | public static new ReadOnlySpan GetQueryString(ReadOnlySpan... FILE: test/Ocelot.UnitTests/Errors/ErrorTests.cs class ErrorTests (line 5) | public class ErrorTests method Should_return_message (line 7) | [Fact] FILE: test/Ocelot.UnitTests/Errors/ExceptionHandlerMiddlewareTests.cs class ExceptionHandlerMiddlewareTests (line 10) | public class ExceptionHandlerMiddlewareTests : UnitTest method ExceptionHandlerMiddlewareTests (line 20) | public ExceptionHandlerMiddlewareTests() method NoDownstreamException (line 40) | [Fact] method DownstreamException (line 56) | [Fact] method ShouldSetRequestId (line 71) | [Fact] method ShouldSetAspDotNetRequestId (line 91) | [Fact] method Should_throw_exception_if_config_provider_throws (line 108) | [Fact] class FakeError (line 125) | private class FakeError : Error method FakeError (line 127) | internal FakeError() FILE: test/Ocelot.UnitTests/Eureka/EurekaMiddlewareConfigurationProviderTests.cs class EurekaMiddlewareConfigurationProviderTests (line 12) | public class EurekaMiddlewareConfigurationProviderTests method ShouldNotBuild (line 14) | [Fact] method ShouldBuild (line 32) | [Fact] FILE: test/Ocelot.UnitTests/Eureka/EurekaProviderFactoryTests.cs class EurekaProviderFactoryTests (line 8) | public class EurekaProviderFactoryTests method Should_not_get (line 10) | [Fact] method Should_get (line 21) | [Fact] FILE: test/Ocelot.UnitTests/Eureka/EurekaServiceDiscoveryProviderTests.cs class EurekaServiceDiscoveryProviderTests (line 8) | public class EurekaServiceDiscoveryProviderTests : UnitTest method EurekaServiceDiscoveryProviderTests (line 15) | public EurekaServiceDiscoveryProviderTests() method Should_return_empty_services (line 22) | [Fact] method Should_return_service_from_client (line 32) | [Fact] method Should_return_services_from_client (line 55) | [Fact] class EurekaService (line 75) | public class EurekaService : IServiceInstance method EurekaService (line 77) | public EurekaService(string serviceId, string host, int port, bool isS... FILE: test/Ocelot.UnitTests/Eureka/OcelotBuilderExtensionsTests.cs class OcelotBuilderExtensionsTests (line 14) | public sealed class OcelotBuilderExtensionsTests : UnitTest method OcelotBuilderExtensionsTests (line 20) | public OcelotBuilderExtensionsTests() method GetHostingEnvironment (line 28) | private static IWebHostEnvironment GetHostingEnvironment() method AddEureka_NoExceptions_ShouldSetUpEureka (line 36) | [Fact] method AddEureka_DefaultServices_HappyPath (line 53) | [Fact] method Of (line 75) | private static bool Of(ServiceDescriptor descriptor) FILE: test/Ocelot.UnitTests/FileUnitTest.cs class FileUnitTest (line 5) | public class FileUnitTest : FileUnit FILE: test/Ocelot.UnitTests/Headers/AddHeadersToRequestClaimToThingTests.cs class AddHeadersToRequestClaimToThingTests (line 16) | [Trait("Commit", "84256e7")] // https://github.com/ThreeMammals/Ocelot/c... method AddHeadersToRequestClaimToThingTests (line 26) | public AddHeadersToRequestClaimToThingTests() method Should_add_headers_to_downstreamRequest (line 35) | [Fact] method Should_replace_existing_headers_on_request (line 57) | [Fact] method Should_return_error (line 80) | [Fact] method GivenTheClaimParserReturns (line 98) | private Response GivenTheClaimParserReturns(Response c... method ThenTheHeaderIsAdded (line 105) | private void ThenTheHeaderIsAdded(Response claimValue) class AnyError (line 108) | private class AnyError : Error method AnyError (line 110) | public AnyError() FILE: test/Ocelot.UnitTests/Headers/AddHeadersToRequestPlainTests.cs class AddHeadersToRequestPlainTests (line 13) | public class AddHeadersToRequestPlainTests : UnitTest method AddHeadersToRequestPlainTests (line 22) | public AddHeadersToRequestPlainTests() method Should_log_error_if_cannot_find_placeholder (line 32) | [Fact] method Should_add_placeholder_to_downstream_request (line 47) | [Fact] method Should_add_plain_text_header_to_downstream_request (line 62) | [Fact] method Should_overwrite_existing_header_with_added_header (line 72) | [Fact] method WhenAddingHeader (line 85) | private void WhenAddingHeader(string headerKey, string headerValue) method ThenTheHeaderGetsTakenOverToTheRequestHeaders (line 91) | private void ThenTheHeaderGetsTakenOverToTheRequestHeaders() method ThenTheHeaderGetsTakenOverToTheRequestHeaders (line 100) | private void ThenTheHeaderGetsTakenOverToTheRequestHeaders(string expe... FILE: test/Ocelot.UnitTests/Headers/AddHeadersToResponseTests.cs class AddHeadersToResponseTests (line 11) | public class AddHeadersToResponseTests : UnitTest method AddHeadersToResponseTests (line 20) | public AddHeadersToResponseTests() method Should_add_header (line 30) | [Fact] method Should_add_trace_id_placeholder (line 46) | [Fact] method Should_add_trace_id_placeholder_and_normal (line 64) | [Fact] method Should_do_nothing_and_log_error (line 84) | [Fact] method GivenTheTraceIdIs (line 102) | private void GivenTheTraceIdIs(string traceId) method ThenTheHeaderIsReturned (line 107) | private void ThenTheHeaderIsReturned(string key, string value) FILE: test/Ocelot.UnitTests/Headers/ClaimsToHeadersMiddlewareTests.cs class ClaimsToHeadersMiddlewareTests (line 18) | [Trait("Commit", "84256e7")] // https://github.com/ThreeMammals/Ocelot/c... method ClaimsToHeadersMiddlewareTests (line 29) | public ClaimsToHeadersMiddlewareTests() method Should_call_add_headers_to_request_correctly (line 41) | [Fact] FILE: test/Ocelot.UnitTests/Headers/HttpContextRequestHeaderReplacerTests.cs class HttpContextRequestHeaderReplacerTests (line 8) | public class HttpContextRequestHeaderReplacerTests : UnitTest method HttpContextRequestHeaderReplacerTests (line 13) | public HttpContextRequestHeaderReplacerTests() method Should_replace_headers (line 19) | [Fact] method Should_not_replace_headers (line 38) | [Fact] FILE: test/Ocelot.UnitTests/Headers/HttpHeadersTransformationMiddlewareTests.cs class HttpHeadersTransformationMiddlewareTests (line 13) | public class HttpHeadersTransformationMiddlewareTests : UnitTest method HttpHeadersTransformationMiddlewareTests (line 25) | public HttpHeadersTransformationMiddlewareTests() method Should_call_pre_and_post_header_transforms (line 41) | [Fact] method ThenAddHeadersToResponseIsCalledCorrectly (line 60) | private void ThenAddHeadersToResponseIsCalledCorrectly() method ThenAddHeadersToRequestIsCalledCorrectly (line 66) | private void ThenAddHeadersToRequestIsCalledCorrectly() method GivenTheDownstreamRequestIs (line 72) | private void GivenTheDownstreamRequestIs() method GivenTheHttpResponseMessageIs (line 77) | private void GivenTheHttpResponseMessageIs() method GivenTheRouteHasPreFindAndReplaceSetUp (line 82) | private void GivenTheRouteHasPreFindAndReplaceSetUp() method ThenTheIHttpContextRequestHeaderReplacerIsCalledCorrectly (line 96) | private void ThenTheIHttpContextRequestHeaderReplacerIsCalledCorrectly() method ThenTheIHttpResponseHeaderReplacerIsCalledCorrectly (line 101) | private void ThenTheIHttpResponseHeaderReplacerIsCalledCorrectly() method GivenTheFollowingRequest (line 106) | private void GivenTheFollowingRequest() FILE: test/Ocelot.UnitTests/Headers/HttpResponseHeaderReplacerTests.cs class HttpResponseHeaderReplacerTests (line 13) | public class HttpResponseHeaderReplacerTests : UnitTest method HttpResponseHeaderReplacerTests (line 27) | public HttpResponseHeaderReplacerTests() method Should_replace_headers (line 38) | [Fact] method Should_not_replace_headers (line 56) | [Fact] method Should_replace_downstream_base_url_with_ocelot_base_url (line 74) | [Fact] method Should_replace_downstream_base_url_with_ocelot_base_url_with_port (line 97) | [Fact] method Should_replace_downstream_base_url_with_ocelot_base_url_and_path (line 120) | [Fact] method Should_replace_downstream_base_url_with_ocelot_base_url_with_path_and_port (line 143) | [Fact] method Should_replace_downstream_base_url_and_port_with_ocelot_base_url (line 166) | [Fact] method Should_replace_downstream_base_url_and_port_with_ocelot_base_url_and_port (line 189) | [Fact] method ThenTheHeadersAreNotReplaced (line 212) | private void ThenTheHeadersAreNotReplaced() method WhenICallTheReplacer (line 222) | private void WhenICallTheReplacer() method ThenTheHeaderShouldBe (line 231) | private void ThenTheHeaderShouldBe(string key, string value) method ThenTheHeadersAreReplaced (line 237) | private void ThenTheHeadersAreReplaced() FILE: test/Ocelot.UnitTests/Headers/RemoveHeadersTests.cs class RemoveHeadersTests (line 6) | public class RemoveHeadersTests : UnitTest method Should_remove_header (line 10) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/ClaimParserTests.cs class ClaimParserTests (line 11) | [Trait("Commit", "84256e7")] // https://github.com/ThreeMammals/Ocelot/c... method ClaimParserTests (line 18) | public ClaimParserTests() method Can_parse_claims_dictionary_access_string_returning_value_to_function (line 24) | [Fact] method Should_return_error_response_when_cannot_find_requested_claim (line 38) | [Fact] method Can_parse_claims_dictionary_access_string_using_delimiter_and_retuning_at_correct_index (line 55) | [Fact] method Should_return_error_response_if_index_too_large (line 69) | [Fact] method Should_return_error_response_if_index_too_small (line 88) | [Fact] method ThenTheResultIs (line 107) | private static void ThenTheResultIs(Response actual, Response<... FILE: test/Ocelot.UnitTests/Infrastructure/ConfigAwarePlaceholdersTests.cs class ConfigAwarePlaceholdersTests (line 7) | public class ConfigAwarePlaceholdersTests method ConfigAwarePlaceholdersTests (line 12) | public ConfigAwarePlaceholdersTests() method Should_return_value_from_underlying_placeholders (line 22) | [Fact] method Should_return_value_from_config_with_same_name_as_placeholder_if_underlying_placeholder_not_found (line 37) | [Fact] method Should_return_value_from_config (line 52) | [Theory] method Should_call_underyling_when_added (line 68) | [Fact] method Should_call_underyling_when_removed (line 82) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/ErrorListExtensionsTests.cs class ErrorListExtensionsTests (line 7) | public class ErrorListExtensionsTests method ToErrorString_ShouldReturnEmptyString_WhenListIsEmpty (line 11) | [Fact] method ToErrorString_ShouldReturnSingleError_WhenListHasOneItem (line 24) | [Fact] method ToErrorString_ShouldJoinMultipleErrors_WithNewLine (line 37) | [Fact] method ToErrorString_ShouldInsertNewLineBefore_WhenBeforeIsTrue (line 56) | [Fact] method ToErrorString_ShouldInsertNewLineAfter_WhenAfterIsTrue (line 70) | [Fact] method ToErrorString_ShouldInsertNewLineBeforeAndAfter_WhenBothFlagsTrue (line 84) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/HttpContextExtensionsTests.cs class HttpContextExtensionsTests (line 6) | public class HttpContextExtensionsTests method IsOptionsMethod_ShouldReturnTrue_ForOptionsVerb (line 8) | [Fact] method IsOptionsMethod_ShouldReturnFalse_ForNonOptionsVerbs (line 22) | [Theory] method IsOptionsMethod_ShouldBeCaseInsensitive (line 41) | [Fact] method IsOptionsMethod_ShouldReturnFalse_WhenMethodIsEmpty (line 55) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/HttpRequestExtensionsTests.cs class HttpRequestExtensionsTests (line 6) | public class HttpRequestExtensionsTests method IsOptionsMethod_ShouldReturnTrue_ForOptionsVerb (line 8) | [Fact] method IsOptionsMethod_ShouldReturnFalse_ForNonOptionsVerbs (line 22) | [Theory] method IsOptionsMethod_ShouldBeCaseInsensitive (line 40) | [Fact] method IsOptionsMethod_ShouldReturnFalse_WhenMethodIsEmpty (line 54) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/IEnumerableExtensionsTests.cs class IEnumerableExtensionsTests (line 5) | public class IEnumerableExtensionsTests method ToHttpMethods_ShouldReturnEmptyHashSet_WhenCollectionIsNull (line 7) | [Fact] method ToHttpMethods_ShouldReturnEmptyHashSet_WhenCollectionIsEmpty (line 21) | [Fact] method ToHttpMethods_ShouldReturnCorrectHttpMethod (line 35) | [Theory] method ToHttpMethods_ShouldTrimWhitespace (line 53) | [Fact] method ToHttpMethods_ShouldRemoveDuplicates (line 67) | [Fact] method ToHttpMethods_ShouldHandleMixedVerbs (line 82) | [Fact] method NotNull_ShouldReturnEmptyEnumerable_WhenCollectionIsNull (line 102) | [Fact] method NotNull_ShouldReturnSameCollection_WhenNotNull (line 116) | [Fact] method Csv_ShouldReturnEmptyString_WhenCollectionIsNull (line 132) | [Fact] method Csv_ShouldReturnEmptyString_WhenCollectionIsEmpty (line 145) | [Fact] method Csv_ShouldJoinValuesWithComma (line 158) | [Fact] method Csv_ShouldHandleSingleValue (line 171) | [Fact] method Csv_ShouldPreserveEmptyStrings (line 184) | [Fact] method Csv_ShouldTrimWhitespaceInsideValues (line 197) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/Int32ExtensionsTests.cs class Int32ExtensionsTests (line 5) | public class Int32ExtensionsTests method Ensure_ShouldReturnExpectedValue (line 10) | [Theory] method Positive_Int_ShouldReturnPositiveValue (line 29) | [Theory] method Positive_NullableInt_ShouldReturnNull_WhenNoValue (line 46) | [Fact] method Positive_NullableInt_ShouldReturnPositiveValue (line 59) | [Theory] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/StringBuilderExtensionsTests.cs class StringBuilderExtensionsTests (line 6) | public class StringBuilderExtensionsTests method AppendNext_ShouldAppendWithoutSeparator_WhenBuilderIsEmpty (line 8) | [Fact] method AppendNext_ShouldAppendWithSeparator_WhenBuilderHasContent (line 21) | [Fact] method AppendNext_ShouldUseCustomSeparator (line 34) | [Fact] method AppendNext_ShouldAllowMultipleAppends (line 47) | [Fact] method AppendNext_ShouldHandleEmptyStringAsNext (line 62) | [Fact] method AppendNext_ShouldReturnSameBuilderInstance (line 75) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/Extensions/StringExtensionsTests.cs class StringExtensionsTests (line 5) | public class StringExtensionsTests method TrimPrefix_ArgsCheck_ReturnedSource (line 7) | [Fact] method TrimPrefix_HasPrefix_HappyPath (line 15) | [Fact] method LastCharAsForwardSlash_HappyPath (line 23) | [Fact] method Plural_Int32 (line 30) | [Theory] method Plural_ThisString (line 40) | [Theory] method IsEmpty (line 50) | [Theory] method IsNotEmpty (line 61) | [Theory] method IfEmpty (line 72) | [Theory] FILE: test/Ocelot.UnitTests/Infrastructure/HttpDataRepositoryTests.cs class HttpDataRepositoryTests (line 7) | public class HttpDataRepositoryTests : UnitTest method HttpDataRepositoryTests (line 14) | public HttpDataRepositoryTests() method Get_returns_correct_key_from_http_context (line 25) | [Fact] method Get_returns_error_response_if_the_key_is_not_found (line 38) | [Fact] method Should_update (line 51) | [Fact] method ThenTheResultIsAnErrorReposnse (line 65) | private void ThenTheResultIsAnErrorReposnse() method ThenTheResultIsAnOkResponse (line 75) | private void ThenTheResultIsAnOkResponse(object resultValue) FILE: test/Ocelot.UnitTests/Infrastructure/InMemoryBusTests.cs class InMemoryBusTests (line 5) | public class InMemoryBusTests method Should_publish_with_delay (line 9) | [Fact] method Should_not_be_publish_yet_as_no_delay_in_caller (line 24) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/PlaceholdersTests.cs class PlaceholdersTests (line 11) | public class PlaceholdersTests method PlaceholdersTests (line 20) | public PlaceholdersTests() method Should_return_base_url (line 30) | [Fact] method Should_return_remote_ip_address (line 44) | [Fact] method Should_return_key_does_not_exist (line 60) | [Fact] method Should_return_downstream_base_url_when_port_is_not_80_or_443 (line 71) | [Fact] method Should_return_downstream_base_url_when_port_is_80_or_443 (line 88) | [Fact] method Should_return_key_does_not_exist_for_http_request_message (line 105) | [Fact] method Should_return_trace_id (line 119) | [Fact] method Should_return_ok_when_added (line 133) | [Fact] method Should_return_ok_when_removed (line 143) | [Fact] method Should_return_error_when_added (line 156) | [Fact] method Should_return_error_when_removed (line 170) | [Fact] method Should_return_upstreamHost (line 181) | [Fact] method Should_return_error_when_finding_upstbecause_Host_not_set (line 197) | [Fact] method Should_return_error_when_finding_upstream_host_because_exception_thrown (line 211) | [Fact] method Get_GetRemoteIpAddress (line 224) | [Fact] FILE: test/Ocelot.UnitTests/Infrastructure/ScopesAuthorizerTests.cs class ScopesAuthorizerTests (line 9) | public class ScopesAuthorizerTests : UnitTest method ScopesAuthorizerTests (line 14) | public ScopesAuthorizerTests() method Should_return_ok_if_no_allowed_scopes (line 20) | [Fact] method Should_return_ok_if_null_allowed_scopes (line 34) | [Fact] method Should_return_error_if_claims_parser_returns_error (line 48) | [Fact] method Should_match_scopes_and_return_ok_result (line 64) | [Fact] method Should_not_match_scopes_and_return_error_result (line 79) | [Fact] method Should_split_space_separated_scope_and_match (line 97) | [Fact] method Should_split_space_separated_scope_and_match_single_scope (line 115) | [Fact] method Should_split_space_separated_scope_but_not_match (line 133) | [Fact] method Should_handle_multiple_scope_claims_without_splitting (line 152) | [Fact] method Should_not_split_single_scope_without_spaces (line 170) | [Fact] method Should_handle_empty_string_after_splitting (line 188) | [Fact] method GivenTheParserReturns (line 207) | private void GivenTheParserReturns(Response> response) method ThenTheFollowingIsReturned (line 212) | private static void ThenTheFollowingIsReturned(Response actual, ... class FakeError (line 219) | public class FakeError : Error method FakeError (line 221) | public FakeError() : base("fake error", OcelotErrorCode.CannotAddDataE... FILE: test/Ocelot.UnitTests/Kubernetes/EndpointClientV1Tests.cs class EndpointClientV1Tests (line 12) | [Trait("Feat", "2168")] method EndpointClientV1Tests (line 19) | public EndpointClientV1Tests() method GetAsync_WhenServiceIsNullOrEmpty_ThrowsArgumentException (line 31) | [Theory] method GetAsync_KubeNamespaceChanges_HappyPath (line 44) | [Theory] method Watch_WhenServiceIsNullOrEmpty_ThrowsArgumentException (line 72) | [Theory] method Watch_ProvidesObservable (line 84) | [Fact] class FakeHttpClient (line 95) | internal class FakeHttpClient : HttpClient, IDisposable method FakeHttpClient (line 100) | public FakeHttpClient([CallerMemberName] string testName = null) method Dispose (line 109) | public new void Dispose() method SendAsync (line 116) | public override Task SendAsync(HttpRequestMessage... FILE: test/Ocelot.UnitTests/Kubernetes/FakeKubeApiClientFactory.cs class FakeKubeApiClientFactory (line 10) | internal class FakeKubeApiClientFactory : KubeApiClientFactory method FakeKubeApiClientFactory (line 12) | public FakeKubeApiClientFactory(ILoggerFactory logger, IOptions(ServiceLifetime lifetime = ServiceLifetime.Sing... method Of (line 94) | private static bool Of(ServiceDescriptor descriptor) FILE: test/Ocelot.UnitTests/Kubernetes/PollKubeTests.cs class PollKubeTests (line 10) | [Trait("Feat", "345")] // https://github.com/ThreeMammals/Ocelot/issues/345 method PollKubeTests (line 20) | public PollKubeTests() method Dispose (line 25) | public void Dispose() method Dispose_Manually (line 30) | [Fact] method Should_return_service_from_kube (line 37) | [Fact] method WhenIGetTheServices (line 55) | private List WhenIGetTheServices(int expected) method OnTimerCallbackAsync_AvoidPolling_WhenAlreadyPolling (line 74) | [Fact(Skip = "Require coverage checks")] method GetAsync (line 100) | [Fact] FILE: test/Ocelot.UnitTests/Kubernetes/WatchKubeTests.cs class WatchKubeTests (line 16) | [Trait("Feat", "2168")] method WatchKubeTests (line 34) | public WatchKubeTests() method GetAsync_EndpointsEventObserved_ServicesReturned (line 60) | [Theory] method GetAsync_NoEventsAfterTimeout_EmptyServicesReturned (line 82) | [Fact] method GetAsync_WatchFailed_RetriedAfterDelay (line 102) | [Fact] method Dispose_OnSubscriptionCancellation_LogsInformation (line 137) | [Fact] method GetAsync_EndpointsEventObserved_NoServices (line 162) | [Theory] method StaticProperties_Setter_ShouldBeGreaterThanOrEqualToOne (line 194) | [Theory] method CreateWatchKube (line 208) | private WatchKube CreateWatchKube() => new(_config, _loggerFactory.Obj... method CreateOneEvent (line 210) | private IResourceEventV1[] CreateOneEvent(ResourceEventTy... method CreateEndpoints (line 216) | private EndpointsV1 CreateEndpoints() FILE: test/Ocelot.UnitTests/LoadBalancer/CookieStickySessionsCreatorTests.cs class CookieStickySessionsCreatorTests (line 9) | public class CookieStickySessionsCreatorTests : UnitTest method CookieStickySessionsCreatorTests (line 14) | public CookieStickySessionsCreatorTests() method Should_return_instance_of_expected_load_balancer_type (line 20) | [Fact] method Should_return_expected_name (line 35) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/CookieStickySessionsTests.cs class CookieStickySessionsTests (line 16) | [Trait("Feat", "336")] method CookieStickySessionsTests (line 25) | public CookieStickySessionsTests() method Arrange (line 34) | private void Arrange([CallerMemberName] string serviceName = null) method Should_return_host_and_port (line 42) | [Fact] method Should_return_same_host_and_port (line 56) | [Fact] method Should_return_different_host_and_port_if_load_balancer_does (line 73) | [Fact] method Should_return_error (line 106) | [Fact] method Should_expire_sticky_session (line 120) | [Fact] method Should_release (line 136) | [Fact] method Type_Is_CookieStickySessions (line 143) | [Fact] method GivenIHackAMessageInWithAPastExpiry (line 150) | private void GivenIHackAMessageInWithAPastExpiry() method GivenTheLoadBalancerReturnsSequence (line 156) | private void GivenTheLoadBalancerReturnsSequence() method GivenTheDownstreamRequestHasSessionId (line 164) | private void GivenTheDownstreamRequestHasSessionId(string value) method GivenTheLoadBalancerReturns (line 171) | private void GivenTheLoadBalancerReturns() class FakeCookies (line 179) | internal class FakeCookies : IRequestCookieCollection method AddCookie (line 185) | public void AddCookie(string key, string value) => _cookies[key] = value; method ContainsKey (line 186) | public bool ContainsKey(string key) => _cookies.ContainsKey(key); method GetEnumerator (line 187) | public IEnumerator> GetEnumerator() => _c... method TryGetValue (line 188) | public bool TryGetValue(string key, out string value) => _cookies.TryG... method GetEnumerator (line 189) | IEnumerator IEnumerable.GetEnumerator() => _cookies.GetEnumerator(); class FakeBus (line 192) | internal class FakeBus : IBus method FakeBus (line 194) | public FakeBus() method Subscribe (line 203) | public void Subscribe(Action action) => Subscriptions.Add(action); method Publish (line 204) | public void Publish(T message, int delay) => Messages.Add(message); method Process (line 206) | public void Process() FILE: test/Ocelot.UnitTests/LoadBalancer/DelegateInvokingLoadBalancerCreatorTests.cs class DelegateInvokingLoadBalancerCreatorTests (line 12) | public class DelegateInvokingLoadBalancerCreatorTests : UnitTest method DelegateInvokingLoadBalancerCreatorTests (line 18) | public DelegateInvokingLoadBalancerCreatorTests() method Should_return_expected_name (line 26) | [Fact] method Should_return_result_of_specified_creator_func (line 39) | [Fact] method Should_return_error (line 52) | [Fact] method Type (line 67) | [Fact] class FakeLoadBalancer (line 74) | private class FakeLoadBalancer : ILoadBalancer method FakeLoadBalancer (line 76) | public FakeLoadBalancer(DownstreamRoute downstreamRoute, IServiceDis... method LeaseAsync (line 85) | public Task> LeaseAsync(HttpContext htt... method Release (line 86) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... FILE: test/Ocelot.UnitTests/LoadBalancer/LeaseEventArgsTests.cs class LeaseEventArgsTests (line 6) | public class LeaseEventArgsTests method Ctor (line 8) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/LeaseTests.cs class LeaseTests (line 7) | public class LeaseTests method Ctor (line 9) | [Fact] method Ctor_Lease (line 20) | [Fact] method Ctor_ServiceHostAndPort (line 35) | [Fact] method Ctor_Init (line 50) | [Fact] method Null (line 66) | [Fact] method ToString_HostPlusConnections (line 77) | [Fact] method Equals_object (line 91) | [Fact] method Equals_Lease (line 113) | [Fact] method Op_Inequality_Lease_Lease (line 127) | [Fact] method Op_Inequality_ServiceHostAndPort_Lease (line 141) | [Fact] method Op_Inequality_Lease_ServiceHostAndPort (line 155) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/LeastConnectionCreatorTests.cs class LeastConnectionCreatorTests (line 9) | public class LeastConnectionCreatorTests : UnitTest method LeastConnectionCreatorTests (line 14) | public LeastConnectionCreatorTests() method Should_return_instance_of_expected_load_balancer_type (line 20) | [Theory] method Should_return_expected_name (line 42) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/LeastConnectionTests.cs class LeastConnectionTests (line 10) | public class LeastConnectionTests : UnitTest method LeastConnectionTests (line 16) | public LeastConnectionTests() method Should_be_able_to_lease_and_release_concurrently (line 22) | [Fact] method Should_handle_service_returning_to_available (line 42) | [Fact] method LeaseDelayAndRelease (line 88) | private async Task LeaseDelayAndRelease() method Should_get_next_url (line 95) | [Fact] method Should_serve_from_service_with_least_connections (line 115) | [Fact] method Should_build_connections_per_service (line 141) | [Fact] method Should_release_connection (line 170) | [Fact] method Should_return_error_if_services_are_null (line 206) | [Fact] method Should_return_error_if_services_are_empty (line 222) | [Fact] method OnLeased (line 237) | [Fact] class TestLeastConnection (line 258) | internal sealed class TestLeastConnection : LeastConnection, ILoadBalancer method TestLeastConnection (line 261) | public TestLeastConnection(Func>> services, string ... method Me_Leased (line 263) | private void Me_Leased(object sender, LeaseEventArgs args) => Events.A... FILE: test/Ocelot.UnitTests/LoadBalancer/LoadBalancerFactoryTests.cs class LoadBalancerFactoryTests (line 16) | public class LoadBalancerFactoryTests : UnitTest method LoadBalancerFactoryTests (line 23) | public LoadBalancerFactoryTests() method Should_return_no_load_balancer_by_default (line 37) | [Fact] method Should_return_matching_load_balancer (line 54) | [Fact] method Should_return_error_response_if_cannot_find_load_balancer_creator (line 72) | [Fact] method Should_return_error_response_if_creator_errors (line 91) | [Fact] method Should_call_service_provider (line 109) | [Fact] method Should_return_error_response_when_call_to_service_provider_fails (line 127) | [Fact] method GivenTheServiceProviderFactoryReturns (line 145) | private void GivenTheServiceProviderFactoryReturns() method GivenTheServiceProviderFactoryFails (line 152) | private void GivenTheServiceProviderFactoryFails() method ThenTheServiceProviderIsCalledCorrectly (line 159) | private void ThenTheServiceProviderIsCalledCorrectly() class FakeLoadBalancerCreator (line 165) | private class FakeLoadBalancerCreator : ILoadBalancerCreator method FakeLoadBalancerCreator (line 168) | public FakeLoadBalancerCreator() => Type = typeof(T).Name; method FakeLoadBalancerCreator (line 169) | public FakeLoadBalancerCreator(string type) => Type = type; method Create (line 170) | public Response Create(DownstreamRoute route, IServic... class BrokenLoadBalancerCreator (line 174) | private class BrokenLoadBalancerCreator : ILoadBalancerCreator method BrokenLoadBalancerCreator (line 177) | public BrokenLoadBalancerCreator() => Type = typeof(T).Name; method Create (line 178) | public Response Create(DownstreamRoute route, IServic... class FakeLoadBalancerOne (line 183) | private class FakeLoadBalancerOne : ILoadBalancer method LeaseAsync (line 186) | public Task> LeaseAsync(HttpContext htt... method Release (line 187) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... class FakeLoadBalancerTwo (line 190) | private class FakeLoadBalancerTwo : ILoadBalancer method LeaseAsync (line 193) | public Task> LeaseAsync(HttpContext htt... method Release (line 194) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... class FakeNoLoadBalancer (line 197) | private class FakeNoLoadBalancer : ILoadBalancer method LeaseAsync (line 200) | public Task> LeaseAsync(HttpContext htt... method Release (line 201) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... class BrokenLoadBalancer (line 204) | private class BrokenLoadBalancer : ILoadBalancer method LeaseAsync (line 207) | public Task> LeaseAsync(HttpContext htt... method Release (line 208) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... FILE: test/Ocelot.UnitTests/LoadBalancer/LoadBalancerHouseTests.cs class LoadBalancerHouseTests (line 13) | public class LoadBalancerHouseTests : UnitTest method LoadBalancerHouseTests (line 19) | public LoadBalancerHouseTests() method Should_store_load_balancer_on_first_request (line 33) | [Fact] method Should_not_store_load_balancer_on_second_request (line 53) | [Fact] method Should_store_load_balancers_by_key (line 72) | [Fact] method Should_return_error_if_exception (line 98) | [Fact] method Should_get_new_load_balancer_if_route_load_balancer_has_changed (line 112) | [Fact] method GetResponse_IsError (line 137) | [Fact] method TypesMismatched_ShouldReturnError (line 159) | [Fact] class FakeLoadBalancer (line 189) | private class FakeLoadBalancer : ILoadBalancer method LeaseAsync (line 192) | public Task> LeaseAsync(HttpContext htt... method Release (line 193) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... class FakeRoundRobinLoadBalancer (line 196) | private class FakeRoundRobinLoadBalancer : ILoadBalancer method LeaseAsync (line 199) | public Task> LeaseAsync(HttpContext htt... method Release (line 200) | public void Release(ServiceHostAndPort hostAndPort) => throw new Not... FILE: test/Ocelot.UnitTests/LoadBalancer/LoadBalancerMiddlewareTests.cs class LoadBalancerMiddlewareTests (line 17) | public class LoadBalancerMiddlewareTests : UnitTest method LoadBalancerMiddlewareTests (line 31) | public LoadBalancerMiddlewareTests() method Arrange (line 46) | private void Arrange() method Should_call_scoped_data_repository_correctly (line 58) | [Fact] method Should_set_pipeline_error_if_cannot_get_load_balancer (line 76) | [Fact] method Should_set_pipeline_error_if_cannot_get_least (line 98) | [Fact] method Should_set_scheme (line 117) | [Fact] method ShouldNot_LogDebug_WhenNextMiddlewareThrownException (line 136) | [Fact] method GivenTheConfigurationIs (line 155) | private void GivenTheConfigurationIs(ServiceProviderConfiguration config) method GivenTheDownStreamUrlIs (line 164) | private void GivenTheDownStreamUrlIs(string downstreamUrl) method GivenTheDownStreamRouteIs (line 170) | private void GivenTheDownStreamRouteIs(DownstreamRoute downstreamRoute... FILE: test/Ocelot.UnitTests/LoadBalancer/LoadBalancerOptionsCreatorTests.cs class LoadBalancerOptionsCreatorTests (line 9) | public class LoadBalancerOptionsCreatorTests : UnitTest method Should_create (line 13) | [Theory] method Create_FromRoute_NullChecks (line 36) | [Fact] method Create_FromRoute (line 54) | [Fact] method Create_FromDynamicRoute_NullChecks (line 81) | [Fact] method Create_FromDynamicRoute (line 99) | [Fact] method CreateProtected_NullCheck (line 126) | [Fact] method CreateProtected (line 147) | [Fact] method CreateProtected_NoOptions (line 212) | [Fact] method Merge_NullCheck (line 230) | [Fact] method Merge (line 257) | [Theory] FILE: test/Ocelot.UnitTests/LoadBalancer/LoadBalancerOptionsTests.cs class LoadBalancerOptionsTests (line 7) | public class LoadBalancerOptionsTests method Ctor_ShouldDefaultToNoLoadBalancer (line 9) | [Fact] method Ctor_Parameterless (line 23) | [Fact] method Ctor_CopyingFrom_FileLoadBalancerOptions (line 35) | [Fact] method Ctor_Initialization3Params (line 57) | [Theory] method Ctor_Initialization_CookieStickySessions (line 80) | [Theory] FILE: test/Ocelot.UnitTests/LoadBalancer/NoLoadBalancerCreatorTests.cs class NoLoadBalancerCreatorTests (line 8) | public class NoLoadBalancerCreatorTests : UnitTest method NoLoadBalancerCreatorTests (line 13) | public NoLoadBalancerCreatorTests() method Should_return_instance_of_expected_load_balancer_type (line 19) | [Fact] method Should_return_expected_name (line 32) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/NoLoadBalancerTests.cs class NoLoadBalancerTests (line 8) | public class NoLoadBalancerTests : UnitTest method NoLoadBalancerTests (line 14) | public NoLoadBalancerTests() method Should_return_host_and_port (line 20) | [Fact] method Should_return_error_if_no_services (line 38) | [Fact] method Should_return_error_if_no_services_then_when_services_available_return_host_and_port (line 48) | [Fact] method Should_return_error_if_null_services (line 69) | [Fact] method Release (line 82) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/RoundRobinCreatorTests.cs class RoundRobinCreatorTests (line 9) | public class RoundRobinCreatorTests : UnitTest method RoundRobinCreatorTests (line 14) | public RoundRobinCreatorTests() method Should_return_instance_of_expected_load_balancer_type (line 20) | [Theory] method Should_return_expected_name (line 42) | [Fact] FILE: test/Ocelot.UnitTests/LoadBalancer/RoundRobinTests.cs class RoundRobinTests (line 14) | public class RoundRobinTests : UnitTest method Lease_LoopThroughIndexRangeOnce_ShouldGetNextAddress (line 18) | [Fact] method Lease_LoopThroughIndexRangeIndefinitelyButOneSecond_ShouldGoBackToFirstAddressAfterFinishedLast (line 36) | [Fact] method Lease_SelectedServiceIsNull_ShouldReturnError (line 58) | [Fact] method Lease_LoopThroughIndexRangeIndefinitelyUnderHighLoad_ShouldDistributeIndexValuesUniformly (line 83) | [InlineData(3, 100)] method OnLeased (line 110) | [Fact] method LeaseAsync_ServicesAreEmpty_ServicesAreEmptyError (line 131) | [Theory] method Release (line 150) | [Fact] method TryScanNext (line 166) | [Fact] method Update_CanIncreaseConnections (line 193) | [Theory] method CountServices (line 218) | private static int[] CountServices(List services, Response[] WhenICallLeaseFromMultipleThrea... method GetParallelResponse (line 244) | private async Task GetParallelResponse(Response[] ... method GivenServices (line 249) | private static List GivenServices(int total = 3, [CallerMembe... method GivenLoadBalancer (line 260) | private static RoundRobin GivenLoadBalancer(List services, bo... class TestRoundRobin (line 273) | internal sealed class TestRoundRobin : RoundRobin, ILoadBalancer method TestRoundRobin (line 276) | public TestRoundRobin(Func>> services, string servi... method Me_Leased (line 278) | private void Me_Leased(object sender, LeaseEventArgs args) => Events.A... FILE: test/Ocelot.UnitTests/Logging/OcelotDiagnosticListenerTests.cs class OcelotDiagnosticListenerTests (line 8) | public class OcelotDiagnosticListenerTests : UnitTest method OcelotDiagnosticListenerTests (line 17) | public OcelotDiagnosticListenerTests() method Should_trace_middleware_started (line 28) | [Fact] method Should_trace_middleware_finished (line 41) | [Fact] method Should_trace_middleware_exception (line 54) | [Fact] method Event (line 68) | [Fact] method ThenTheLogIs (line 94) | private void ThenTheLogIs(string expected) FILE: test/Ocelot.UnitTests/Logging/OcelotHttpTracingHandlerTests.cs class OcelotHttpTracingHandlerTests (line 8) | public class OcelotHttpTracingHandlerTests : UnitTest method OcelotHttpTracingHandlerTests (line 14) | public OcelotHttpTracingHandlerTests() method Ctor (line 19) | [Fact] method Ctor_NullChecks (line 30) | [Fact] method SendAsync (line 49) | [Fact] method AddTraceId (line 78) | [Fact] FILE: test/Ocelot.UnitTests/Logging/OcelotLoggerFactoryTests.cs class OcelotLoggerFactoryTests (line 7) | public class OcelotLoggerFactoryTests method OcelotLoggerFactoryTests (line 13) | public OcelotLoggerFactoryTests() method Constructor_GivenNullLoggerFactory_ArgumentNullExceptionThrown (line 23) | [Fact] method Constructor_GivenNullScopedDataRepository_ArgumentNullExceptionThrown (line 37) | [Fact] method CreateLogger_GivenGenericType_LoggerCreated (line 51) | [Fact] method CreateLogger_GivenLoggerFactoryThrows_ExceptionThrown (line 70) | [Fact] method CreateLogger_GivenFactoryDisposed_ObjectDisposedExceptionThrown (line 87) | [Fact] method CreateLogger_GivenGenericType_OcelotLoggerReturned (line 98) | [Fact] method Dispose_GivenFactoryNotDisposed_InnerFactoryDisposed (line 115) | [Fact] method Dispose_GivenFactoryAlreadyDisposed_NoExceptionThrown (line 127) | [Fact] FILE: test/Ocelot.UnitTests/Logging/OcelotLoggerTests.cs class OcelotLoggerTests (line 8) | public class OcelotLoggerTests method OcelotLoggerTests (line 18) | public OcelotLoggerTests() method Ctor_NullChecks (line 26) | [Fact] method GetOcelotRequestId (line 40) | [Fact] method Should_log_trace (line 57) | [Fact] method Should_log_debug (line 70) | [Fact] method Should_log_info (line 83) | [Fact] method Should_log_warning (line 96) | [Fact] method Should_log_error (line 109) | [Fact] method Should_log_critical (line 122) | [Fact] method StaticFormatters (line 135) | [Fact] method MockLogger (line 155) | private static Mock> MockLogger(LogLevel? minimumLevel) method If_minimum_log_level_not_set_then_log_is_called_for_information_and_above (line 180) | [Fact] method If_minimum_log_level_set_to_none_then_log_method_is_never_called (line 214) | [Fact] method If_minimum_log_level_set_to_trace_then_log_is_called_for_trace_and_above (line 251) | [Fact] method String_func_is_never_called_when_log_level_is_disabled (line 285) | [Fact] method String_func_is_called_once_when_log_level_is_enabled (line 302) | [Fact] method If_minimum_log_level_set_to_debug_then_log_is_called_for_debug_and_above (line 318) | [Fact] method If_minimum_log_level_set_to_warning_then_log_is_called_for_warning_and_above (line 352) | [Fact] method If_minimum_log_level_set_to_error_then_log_is_called_for_error_and_above (line 386) | [Fact] method If_minimum_log_level_set_to_critical_then_log_is_called_for_critical_and_above (line 420) | [Fact] method ThenLevelIsLogged (line 454) | private void ThenLevelIsLogged(string expected, LogLevel expectedLogLe... method ThenLevelIsLogged (line 461) | private static void ThenLevelIsLogged(Mock> logger, st... method ThenLevelIsNotLogged (line 472) | private static void ThenLevelIsNotLogged(Mock> logger,... FILE: test/Ocelot.UnitTests/Logging/OcelotLoggerTestsForDisposal.cs class OcelotLoggerTestsForDisposal (line 8) | public class OcelotLoggerTestsForDisposal method OcelotLoggerTestsForDisposal (line 14) | public OcelotLoggerTestsForDisposal() method Dispose_GivenLoggerDisposedThenLoggingAttempt_NoUnderlyingLoggerCalled (line 29) | [Fact] method Dispose_CalledMultipleTimes_NoExceptionThrown (line 48) | [Fact] method LogAfterDisposeWithFunc_GivenDisposed_NoFuncInvocation (line 62) | [Fact] method Log_GivenLoggerThrowsObjectDisposedException_NoExceptionEscapes (line 85) | [Fact] FILE: test/Ocelot.UnitTests/Logging/TracingHandlerFactoryTests.cs class TracingHandlerFactoryTests (line 7) | public class TracingHandlerFactoryTests method TracingHandlerFactoryTests (line 15) | public TracingHandlerFactoryTests() method Should_return (line 25) | [Fact] FILE: test/Ocelot.UnitTests/Middleware/BaseUrlFinderTests.cs class BaseUrlFinderTests (line 7) | public class BaseUrlFinderTests : UnitTest method BaseUrlFinderTests (line 13) | public BaseUrlFinderTests() method Should_use_default_base_url (line 18) | [Fact] method Should_use_memory_config_base_url (line 25) | [Fact] method Should_use_file_config_base_url (line 33) | [Fact] method GivenTheMemoryBaseUrlIs (line 42) | private void GivenTheMemoryBaseUrlIs(string configValue) method GivenTheFileBaseUrlIs (line 47) | private void GivenTheFileBaseUrlIs(string configValue) method WhenIFindTheUrl (line 52) | private string WhenIFindTheUrl() FILE: test/Ocelot.UnitTests/Middleware/OcelotPipelineExtensionsTests.cs class OcelotPipelineExtensionsTests (line 15) | public class OcelotPipelineExtensionsTests : UnitTest method Should_set_up_pipeline (line 20) | [Fact] method Should_expand_pipeline (line 33) | [Fact] method GivenTheDepedenciesAreSetUp (line 55) | private void GivenTheDepedenciesAreSetUp() FILE: test/Ocelot.UnitTests/Middleware/OcelotPiplineBuilderTests.cs class OcelotPiplineBuilderTests (line 14) | public class OcelotPiplineBuilderTests : UnitTest method OcelotPiplineBuilderTests (line 21) | public OcelotPiplineBuilderTests() method GetHostingEnvironment (line 31) | private static IWebHostEnvironment GetHostingEnvironment() method Should_build_generic (line 41) | [Fact] method Should_build_func (line 57) | [Fact] method Middleware_Multi_Parameters_Invoke (line 79) | [Fact] class MultiParametersInvokeMiddleware (line 92) | private class MultiParametersInvokeMiddleware : OcelotMiddleware method MultiParametersInvokeMiddleware (line 95) | public MultiParametersInvokeMiddleware(RequestDelegate next) method Invoke (line 98) | public Task Invoke(HttpContext context, IServiceProvider serviceProv... class FakeLogger (line 104) | internal class FakeLogger : IOcelotLogger method LogCritical (line 106) | public void LogCritical(string message, Exception exception) { } method LogCritical (line 107) | public void LogCritical(Func messageFactory, Exception excepti... method LogError (line 108) | public void LogError(string message, Exception exception) { } method LogError (line 109) | public void LogError(Func messageFactory, Exception exception)... method LogDebug (line 110) | public void LogDebug(string message) { } method LogDebug (line 111) | public void LogDebug(Func messageFactory) { } method LogInformation (line 112) | public void LogInformation(string message) { } method LogInformation (line 113) | public void LogInformation(Func messageFactory) { } method LogWarning (line 114) | public void LogWarning(string message) { } method LogTrace (line 115) | public void LogTrace(string message) { } method LogTrace (line 116) | public void LogTrace(Func messageFactory) { } method LogWarning (line 117) | public void LogWarning(Func messageFactory) { } method Dispose (line 118) | public void Dispose() { } FILE: test/Ocelot.UnitTests/Multiplexing/DefinedAggregatorProviderTests.cs class DefinedAggregatorProviderTests (line 8) | public class DefinedAggregatorProviderTests : UnitTest method Should_find_aggregator (line 12) | [Fact] method Should_not_find_aggregator (line 34) | [Fact] FILE: test/Ocelot.UnitTests/Multiplexing/MultiplexingMiddlewareTests.cs class MultiplexingMiddlewareTests (line 16) | public class MultiplexingMiddlewareTests : UnitTest method MultiplexingMiddlewareTests (line 27) | public MultiplexingMiddlewareTests() method Next (line 39) | private Task Next(HttpContext context) => Task.FromResult(_count++); method Should_multiplex (line 41) | [Fact] method Should_not_multiplex (line 52) | [Fact] method CreateThreadContextAsync_CopyUser_ToTarget (line 63) | [Fact] method Invoke_ContextUser_ForwardedToDownstreamContext (line 80) | [Fact] method Should_Not_Copy_Context_If_One_Downstream_Route (line 105) | [Fact] method Should_Call_ProcessSingleRoute_Once_If_One_Downstream_Route (line 127) | [Fact] method Should_Not_Call_ProcessSingleRoute_If_More_Than_One_Downstream_Route (line 148) | [Theory] method Should_Create_As_Many_Contexts_As_Routes_And_Map_Is_Called_Once (line 171) | [Theory] method Should_Not_Call_ProcessSingleRoute_Or_Map_If_No_Route (line 196) | [Fact] method Should_Call_CloneRequestBodyAsync_Each_Time_Per_Requests (line 220) | [Theory] method If_Using_3_Routes_WithAggregator_ProcessSingleRoute_Is_Never_Called_Map_Once_And_Pipeline_3_Times (line 244) | [Fact] method AggregateRequestDelegateFactory (line 269) | private RequestDelegate AggregateRequestDelegateFactory() method MockMiddlewareFactory (line 286) | private Mock MockMiddlewareFactory(int? downst... method GivenUser (line 307) | private void GivenUser(string authentication, string name, string role) method AssertUsers (line 314) | private void AssertUsers(HttpContext actual) method GivenDefaultRoute (line 326) | private static Route GivenDefaultRoute(int count) method GivenRoutesWithAggregator (line 337) | private static Route GivenRoutesWithAggregator() method GivenTheFollowing (line 354) | private void GivenTheFollowing(Route route) FILE: test/Ocelot.UnitTests/Multiplexing/ResponseAggregatorFactoryTests.cs class ResponseAggregatorFactoryTests (line 6) | public class ResponseAggregatorFactoryTests : UnitTest method ResponseAggregatorFactoryTests (line 12) | public ResponseAggregatorFactoryTests() method Should_return_simple_json_aggregator (line 19) | [Fact] method Should_return_user_defined_aggregator (line 32) | [Fact] FILE: test/Ocelot.UnitTests/Multiplexing/SimpleJsonResponseAggregatorTests.cs class SimpleJsonResponseAggregatorTests (line 13) | public class SimpleJsonResponseAggregatorTests : UnitTest method SimpleJsonResponseAggregatorTests (line 17) | public SimpleJsonResponseAggregatorTests() method Should_aggregate_n_responses_and_set_response_content_on_upstream_context_withConfig (line 22) | [Fact] method Should_aggregate_n_responses_and_set_response_content_on_upstream_context (line 66) | [Fact] method Should_return_error_if_any_downstreams_have_errored (line 102) | [Fact] method ThenTheReasonPhraseIs (line 139) | private static void ThenTheReasonPhraseIs(DefaultHttpContext upstreamC... method ThenTheErrorIsMapped (line 144) | private static void ThenTheErrorIsMapped(DefaultHttpContext upstreamCo... method ThenTheContentIs (line 150) | private static async Task ThenTheContentIs(DefaultHttpContext upstream... method ThenTheContentTypeIs (line 156) | private static void ThenTheContentTypeIs(DefaultHttpContext upstreamCo... FILE: test/Ocelot.UnitTests/Multiplexing/UserDefinedResponseAggregatorTests.cs class UserDefinedResponseAggregatorTests (line 11) | public class UserDefinedResponseAggregatorTests : UnitTest method UserDefinedResponseAggregatorTests (line 16) | public UserDefinedResponseAggregatorTests() method Should_call_aggregator (line 22) | [Fact] method Should_not_find_aggregator (line 54) | [Fact] class TestDefinedAggregator (line 85) | public class TestDefinedAggregator : IDefinedAggregator method Aggregate (line 87) | public async Task Aggregate(List re... FILE: test/Ocelot.UnitTests/Polly/CircuitBreakerStrategyTests.cs class CircuitBreakerStrategyTests (line 6) | public class CircuitBreakerStrategyTests method BreakDuration_ShouldBeInRange (line 8) | [Theory] method MinimumThroughput_ShouldBeTwoOrGreater (line 25) | [Theory] method FailureRatio_ShouldBeInRange (line 40) | [Theory] method SamplingDuration_ShouldBeInRange (line 57) | [Theory] FILE: test/Ocelot.UnitTests/Polly/OcelotBuilderExtensionsTests.cs class OcelotBuilderExtensionsTests (line 16) | public class OcelotBuilderExtensionsTests method DefaultErrorMapping_CallCreateRequestTimedOutError_IsTypeOfRequestTimedOutError (line 21) | [Fact] method AddPolly_NoParams_ShouldBuild (line 40) | [Fact] method AddPolly_GenericWithoutParams_ShouldBuild (line 54) | [Fact] method AddPolly_WithErrorMapping_ShouldBuild (line 68) | [Fact] method AddPolly_WithDelegatingHandler_ShouldBuild (line 83) | [Fact] method GetQosDelegatingHandler (line 98) | private static DelegatingHandler GetQosDelegatingHandler(DownstreamRou... class MyQosDelegatingHandlerFor_AddPolly_WithDelegatingHandler_ShouldBuild (line 101) | private class MyQosDelegatingHandlerFor_AddPolly_WithDelegatingHandler... method SendAsync (line 103) | protected override Task SendAsync(HttpRequestMe... class MyPollyQoSResiliencePipelineProvider (line 107) | private class MyPollyQoSResiliencePipelineProvider : IPollyQoSResilien... method GetResiliencePipeline (line 109) | public ResiliencePipeline GetResiliencePipeline... method GivenServiceProvider (line 112) | private static ServiceProvider GivenServiceProvider(Action GivenPro... method GivenProvider (line 639) | private PollyQoSResiliencePipelineProvider GivenProvider() method GivenDownstreamRoute (line 653) | private static DownstreamRoute GivenDownstreamRoute(string routeTempla... class FakeTimeoutProvider (line 673) | internal class FakeTimeoutProvider : PollyQoSResiliencePipelineProvider method FakeTimeoutProvider (line 675) | public FakeTimeoutProvider(IOcelotLoggerFactory loggerFactory, Resilie... method IsConfigurationValidForTimeout (line 678) | protected override bool IsConfigurationValidForTimeout(DownstreamRoute... FILE: test/Ocelot.UnitTests/Polly/PollyResiliencePipelineDelegatingHandlerTests.cs class PollyResiliencePipelineDelegatingHandlerTests (line 15) | public class PollyResiliencePipelineDelegatingHandlerTests method PollyResiliencePipelineDelegatingHandlerTests (line 24) | public PollyResiliencePipelineDelegatingHandlerTests() method SendAsync_WithPipeline_ExecutedByPipeline (line 36) | [Fact] method SendAsync_NoPipeline_SentWithoutPipeline (line 56) | [Fact] method SetupInnerHandler (line 77) | private void SetupInnerHandler(HttpResponseMessage fakeResponse) method SetupResiliencePipelineProvider (line 85) | private void SetupResiliencePipelineProvider(bool pipelineIsNull = false) method InvokeAsync (line 102) | private async Task InvokeAsync(string methodName) method GivenHttpResponseMessage (line 110) | private static HttpResponseMessage GivenHttpResponseMessage([CallerMem... method ShouldHaveTestHeaderWithoutContent (line 117) | private static void ShouldHaveTestHeaderWithoutContent(HttpResponseMes... method ShouldHaveCalledThePipelineProviderOnce (line 124) | private void ShouldHaveCalledThePipelineProviderOnce() method ShouldHaveCalledTheInnerHandlerOnce (line 131) | private void ShouldHaveCalledTheInnerHandlerOnce() method ShouldLogDebug (line 138) | private void ShouldLogDebug(string expected) method ShouldLogInformation (line 145) | private void ShouldLogInformation(string expected) method DownstreamRouteFactory (line 152) | private static DownstreamRoute DownstreamRouteFactory() FILE: test/Ocelot.UnitTests/Polly/TimeoutStrategyTests.cs class TimeoutStrategyTests (line 6) | [Collection(nameof(SequentialTests))] method DefaultTimeout_Setter_ShouldBeGreaterThan10msAndLessThan24hours (line 9) | [Theory] FILE: test/Ocelot.UnitTests/QualityOfService/FileGlobalQoSOptionsTests.cs class FileGlobalQoSOptionsTests (line 6) | [Trait("Feat", "585")] method Ctor (line 11) | [Fact] method Ctor_FileQoSOptions (line 21) | [Fact] method Ctor_QoSOptions (line 46) | [Fact] method AssertNullProps (line 73) | private static void AssertNullProps(FileGlobalQoSOptions actual) FILE: test/Ocelot.UnitTests/QualityOfService/FileQoSOptionsTests.cs class FileQoSOptionsTests (line 6) | public class FileQoSOptionsTests method Ctor_Default_AllPropertiesAreNull (line 8) | [Fact] method Ctor_Copying_Copied (line 27) | [Fact] method Ctor_CopyingQoSOptions_Copied (line 53) | [Fact] method AssertEquality (line 85) | private static void AssertEquality(FileQoSOptions actual, FileQoSOptio... FILE: test/Ocelot.UnitTests/QualityOfService/QoSFactoryTests.cs class QoSFactoryTests (line 10) | public class QoSFactoryTests method QoSFactoryTests (line 17) | public QoSFactoryTests() method Should_return_error (line 26) | [Fact] method Should_return_handler (line 40) | [Fact] class FakeDelegatingHandler (line 60) | private class FakeDelegatingHandler : DelegatingHandler FILE: test/Ocelot.UnitTests/QualityOfService/QoSOptionsCreatorTests.cs class QoSOptionsCreatorTests (line 9) | [Trait("Feat", "23")] // https://github.com/ThreeMammals/Ocelot/issues/23 method ShouldCreateQosOptions (line 16) | [Fact] method NoRouteOptions_ShouldCreateFromGlobalQosOptions (line 46) | [Fact] method HasRouteOptions_ShouldCreateFromRouteQosOptions (line 74) | [Fact] method AssertEquality (line 112) | private static void AssertEquality(QoSOptions actual, QoSOptions expec... method Create_FileQoSOptions (line 123) | [Fact] method Create_FileRoute_ArgNullChecks (line 160) | [Fact] method Create_FileRoute (line 179) | [Fact] method Create_FileDynamicRoute_ArgNullChecks (line 225) | [Fact] method Create_FileDynamicRoute (line 243) | [Fact] method Create_IRouteGrouping_NullCheck (line 289) | [Fact] method Create (line 310) | [Fact] method Create_IRouteGrouping_NoOptions (line 405) | [Fact] method Merge (line 428) | [Fact] FILE: test/Ocelot.UnitTests/QualityOfService/QoSOptionsTests.cs class QoSOptionsTests (line 6) | public class QoSOptionsTests method Ctor_Copy_ShouldCopy (line 8) | [Fact] method UseQos_NoOptions_ShouldNotUse (line 31) | [Fact] method UseQos_ExceptionsAllowedBeforeBreaking_ShouldUse (line 43) | [Theory] method UseQos_TimeoutValue_ShouldUse (line 59) | [Theory] FILE: test/Ocelot.UnitTests/QueryStrings/AddQueriesToRequestTests.cs class AddQueriesToRequestTests (line 14) | [Trait("Commit", "f7f4a39")] // https://github.com/ThreeMammals/Ocelot/c... method AddQueriesToRequestTests (line 23) | public AddQueriesToRequestTests() method Should_add_new_queries_to_downstream_request (line 31) | [Fact] method Should_add_new_queries_to_downstream_request_and_preserve_other_queries (line 53) | [Fact] method TheTheQueryStringIs (line 77) | private void TheTheQueryStringIs(string expected) method Should_replace_existing_queries_on_downstream_request (line 82) | [Fact] method Should_return_error (line 105) | [Fact] method ThenTheQueryIsAdded (line 126) | private void ThenTheQueryIsAdded(Response claimValue) method GivenTheDownstreamRequestHasQueryString (line 133) | private void GivenTheDownstreamRequestHasQueryString(string queryString) method GivenTheDownstreamRequestHasQueryString (line 139) | private void GivenTheDownstreamRequestHasQueryString(string key, strin... method GivenTheClaimParserReturns (line 147) | private Response GivenTheClaimParserReturns(Response c... class AnyError (line 154) | private class AnyError : Error method AnyError (line 156) | public AnyError() FILE: test/Ocelot.UnitTests/QueryStrings/ClaimsToQueryStringMiddlewareTests.cs class ClaimsToQueryStringMiddlewareTests (line 17) | [Trait("Commit", "f7f4a39")] // https://github.com/ThreeMammals/Ocelot/c... method ClaimsToQueryStringMiddlewareTests (line 28) | public ClaimsToQueryStringMiddlewareTests() method Should_call_add_queries_correctly (line 40) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/DistributedCacheRateLimitStorageTests.cs class DistributedCacheRateLimitStorageTests (line 8) | public class DistributedCacheRateLimitStorageTests method DistributedCacheRateLimitStorageTests (line 13) | public DistributedCacheRateLimitStorageTests() method Set_ShouldSerializeAndStoreValue (line 19) | [Fact] method Exists_ShouldReturnCorrectBoolean (line 38) | [Theory] method Get_ShouldDeserializeStoredValue (line 56) | [Fact] method Get_ShouldReturnNull_WhenStoredValueIsNullOrEmpty (line 76) | [Fact] method Remove_ShouldCallCacheRemove (line 93) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/FileGlobalRateLimitingTests.cs class FileGlobalRateLimitingTests (line 5) | public class FileGlobalRateLimitingTests method FileGlobalRateLimit_Ctor (line 7) | [Fact] method FileGlobalRateLimitByAspNetRule_Ctor (line 18) | [Fact] method FileGlobalRateLimitByHeaderRule_Ctor (line 28) | [Fact] method FileGlobalRateLimitByIpRule_Ctor (line 54) | [Fact] method FileGlobalRateLimitByMethodRule_Ctor (line 64) | [Fact] method FileGlobalRateLimiting_Ctor (line 74) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/FileRateLimitByHeaderRuleTests.cs class FileRateLimitByHeaderRuleTests (line 5) | public class FileRateLimitByHeaderRuleTests method Ctor_Parameterless (line 7) | [Fact] method Ctor_CopyingFrom_FileRateLimitRule (line 18) | [Fact] method Ctor_CopyingFrom_FileRateLimitByHeaderRule (line 45) | [Fact] method ToString_DisabledRateLimiting_ShouldBeEmpty (line 67) | [Fact] method ToString_DisableRateLimitHeaders (line 83) | [Theory] method ToString_ClientWhitelist (line 107) | [Theory] method GivenRule (line 132) | private static FileRateLimitByHeaderRule GivenRule() => new() FILE: test/Ocelot.UnitTests/RateLimiting/FileRateLimitRuleTests.cs class FileRateLimitRuleTests (line 5) | public class FileRateLimitRuleTests method Ctor_Copying_ArgCheck (line 7) | [Fact] method Ctor_Copying_Copied (line 17) | [Fact] method ToString_DisabledRateLimiting_ShouldBeEmpty (line 43) | [Fact] method ToString_HappyPath (line 61) | [Fact] method ToString_EnableHeaders (line 81) | [Theory] method ToString_PeriodTimespan (line 102) | [Theory] FILE: test/Ocelot.UnitTests/RateLimiting/FileRateLimitingTests.cs class FileRateLimitingTests (line 5) | public class FileRateLimitingTests method FileRateLimitByAspNetRule_Ctor (line 7) | [Fact] method FileRateLimitByIpRule_Ctor (line 17) | [Fact] method FileRateLimitByMethodRule_Ctor (line 27) | [Fact] method FileRateLimiting_Ctor (line 37) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/MemoryCacheRateLimitStorageTests.cs class MemoryCacheRateLimitStorageTests (line 6) | public class MemoryCacheRateLimitStorageTests method MemoryCacheRateLimitStorageTests (line 12) | public MemoryCacheRateLimitStorageTests() method Set_ShouldCreateEntryAndSetValue (line 19) | [Fact] method Exists_ShouldReturnTrue_WhenKeyExists (line 38) | [Fact] method Exists_ShouldReturnFalse_WhenKeyDoesNotExist (line 56) | [Fact] method Get_ShouldReturnCounter_WhenKeyExists (line 73) | [Fact] method Get_ShouldReturnNull_WhenKeyDoesNotExist (line 93) | [Fact] method Remove_ShouldCallCacheRemove (line 110) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitCounterTests.cs class RateLimitCounterTests (line 5) | public class RateLimitCounterTests method Ctor (line 7) | [Fact] method ToString_NoExceededAt (line 23) | [Fact] method ToString_WithExceededAt (line 43) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitHeadersTests.cs class RateLimitHeadersTests (line 8) | public class RateLimitHeadersTests method Ctor_Created (line 10) | [Fact] method Ctor_Parameterless (line 28) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitOptionsCreatorTests.cs class RateLimitOptionsCreatorTests (line 8) | public class RateLimitOptionsCreatorTests : UnitTest method Should_create_rate_limit_options (line 12) | [Fact] method Create_ArgumentNullChecks (line 72) | [Fact] method Create_GlobalRouteKeysCollectionIsNull_IsGlobalDefaultsToTrue (line 82) | [Fact] method Create_GlobalRouteKeys_ContainsRouteKey (line 101) | [Theory] method Create_DisabledRateLimiting (line 127) | [Theory] method Create_ByHeaderRules (line 154) | [Theory] method MergeHeaderRules_ArgumentNullChecks (line 184) | [Fact] method MergeHeaderRules_FromGlobal (line 207) | [Fact] method Create_FileGlobalConfiguration (line 250) | [Theory] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitOptionsTests.cs class RateLimitOptionsTests (line 6) | public class RateLimitOptionsTests method Ctor_Parameterless (line 8) | [Fact] method Ctor_Boolean (line 25) | [Theory] method Ctor_Initialization (line 39) | [Theory] method Ctor_CopyingFrom_ArgChecks (line 78) | [Fact] method Ctor_CopyingFrom_WithObsoleteProps (line 91) | [Fact] method Ctor_CopyingFrom_FileRateLimitByHeaderRule (line 125) | [Fact] method Ctor_CopyingFromFileRateLimitByHeaderRule_WithDefaults (line 164) | [Fact] method Ctor_CopyingFrom_RateLimitOptions (line 186) | [Fact] method Ctor_CopyingFromRateLimitOptions_WithDefaults (line 218) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitRuleTests.cs class RateLimitRuleTests (line 5) | [Trait("PR", "2294")] // https://github.com/ThreeMammals/Ocelot/pull/2294 method ParseTimespan_ShouldParseSupportedUnits (line 8) | [Theory] method ParseTimespan_ShouldParseMilliseconds (line 23) | [Theory] method ParseTimespan_ShouldParseWithoutUnitToMilliseconds (line 41) | [Theory] method ParseTimespan_ShouldParseNegativeAsPositive (line 59) | [Theory] method ParseTimespan_ShouldThrowFormatException (line 72) | [Theory] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitingHeadersTests.cs class RateLimitingHeadersTests (line 5) | public class RateLimitingHeadersTests method Cctor_PropsInitialized (line 7) | [Fact] FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitingMiddlewareTests.cs class RateLimitingMiddlewareTests (line 17) | public class RateLimitingMiddlewareTests : UnitTest method RateLimitingMiddlewareTests (line 30) | public RateLimitingMiddlewareTests() method Should_call_middleware_and_ratelimiting (line 47) | [Fact] method Should_not_call_middleware_with_disabled_ratelimiting (line 73) | [Theory] method Should_call_middleware_with_whitelisted_client (line 96) | [Fact] method ShouldPopulateRateLimitingHeaders (line 117) | [Fact] method ShouldPopulateRateLimitingHeaders_Branches (line 145) | [Theory] method SetRateLimitHeaders (line 174) | [Fact] method Invoke_PeriodTimespanValueIsGreaterThanPeriod_StatusNotEqualTo429 (line 201) | [Fact] method Invoke_NoClientHeader_Status503_ShouldLogWarning (line 233) | [Fact] method GivenRateLimitOptions (line 260) | private static RateLimitOptions GivenRateLimitOptions(RateLimitRule ru... method GivenDownstreamRoute (line 270) | private static DownstreamRoute GivenDownstreamRoute(RateLimitOptions o... method GivenRoute (line 278) | private static Route GivenRoute(DownstreamRoute dr) => new() method WhenICallTheMiddlewareMultipleTimes (line 284) | private async Task> WhenICallTheMiddlewareMultipleTi... method GetFakeStream (line 312) | private static MemoryStream GetFakeStream(string str) method WhenICallTheMiddlewareWithWhiteClient (line 318) | private async Task WhenICallTheMiddlewareWithWhiteClient(_DownstreamRo... method ShouldLogInformation (line 341) | private void ShouldLogInformation(string expected) FILE: test/Ocelot.UnitTests/RateLimiting/RateLimitingTests.cs class RateLimitingTests (line 10) | public class RateLimitingTests : RateLimitingTestsBase method ToTimespan_EmptyValue_ShouldReturnZero (line 12) | [Theory] method ToTimespan_UnknownType_ShouldThrowFormatException (line 25) | [Theory] method ToTimespan_KnownType_HappyPath (line 36) | [Theory] method Count_NoEntry_StartCounting (line 54) | [Fact] method Count_EntryHasNotExpired_IncrementedRequestCount (line 71) | [Fact] method Count_EntryHasNotExpiredAndExceedingLimit_IncrementedRequestCountWithRenewedStartMoment (line 89) | [Fact] method Count_RateLimitExceeded_StartedCounting (line 107) | [Fact] method Count_PeriodIsElapsedAndWaitPeriodIsElapsed_StartedNewCountingPeriod (line 129) | [Fact] method ProcessRequest_QuotaExceededAndWaitPeriodElapsed_StartedCountingViaResettingCounter (line 154) | [Fact] method RetryAfter_NoQuotaExceeding_NoNeedToRetry (line 201) | [Fact] method RetryAfter_DoNotWait_RetryAfterTheHalfOfPeriod (line 220) | [Theory] method RetryAfter_ExceedingInWaitingWindow_RetryAfterTheQuarterOfWaitPeriod (line 243) | [Fact] method RetryAfter_Exceeding_WaitingPeriodElapsed_NoNeedToRetry (line 263) | [Fact] class Sequential (line 283) | [Collection(nameof(SequentialTests))] method ProcessRequest_PeriodTimespanValueIsGreaterThanPeriod_ExpectedBehaviorAndExpirationInPeriod (line 286) | [Fact] class RateLimitingTestsBase (line 343) | public class RateLimitingTestsBase method RateLimitingTestsBase (line 347) | public RateLimitingTestsBase() method SetupProcessRequest (line 353) | protected (ClientRequestIdentity Identity, RateLimitOptions Options) S... FILE: test/Ocelot.UnitTests/Repository/HttpDataRepositoryTests.cs class HttpDataRepositoryTests (line 6) | public class HttpDataRepositoryTests : UnitTest method HttpDataRepositoryTests (line 11) | public HttpDataRepositoryTests() method Should_add_item (line 20) | [Fact] method Should_get_item (line 38) | [Fact] FILE: test/Ocelot.UnitTests/Request/Creator/DownstreamRequestCreatorTests.cs class DownstreamRequestCreatorTests (line 6) | public class DownstreamRequestCreatorTests : UnitTest method DownstreamRequestCreatorTests (line 11) | public DownstreamRequestCreatorTests() method Should_create_downstream_request (line 17) | [Fact] method Should_remove_body_for_http_methods (line 38) | [Fact] FILE: test/Ocelot.UnitTests/Request/DownstreamRequestInitialiserMiddlewareTests.cs class DownstreamRequestInitialiserMiddlewareTests (line 13) | public class DownstreamRequestInitialiserMiddlewareTests : UnitTest method DownstreamRequestInitialiserMiddlewareTests (line 22) | public DownstreamRequestInitialiserMiddlewareTests() method Should_handle_valid_httpRequest (line 43) | [Fact] method Should_map_downstream_route_method_to_downstream_request (line 59) | [Fact] method Should_handle_mapping_failure (line 75) | [Fact] method ThenTheDownstreamRequestMethodIs (line 93) | private void ThenTheDownstreamRequestMethodIs(string expected) method GivenTheMapperWillReturnAMappedRequest (line 98) | private void GivenTheMapperWillReturnAMappedRequest() method ThenTheContexRequestIsMappedToADownstreamRequest (line 107) | private void ThenTheContexRequestIsMappedToADownstreamRequest() method ThenTheDownstreamRequestIsStored (line 112) | private void ThenTheDownstreamRequestIsStored() method ThenTheNextMiddlewareIsInvoked (line 117) | private void ThenTheNextMiddlewareIsInvoked() FILE: test/Ocelot.UnitTests/Request/DownstreamRequestTests.cs class DownstreamRequestTests (line 5) | public class DownstreamRequestTests method Should_have_question_mark_with_question_mark_prefixed (line 7) | [Fact] FILE: test/Ocelot.UnitTests/Request/Mapper/RequestMapperTests.cs class RequestMapperTests (line 12) | public class RequestMapperTests : UnitTest method RequestMapperTests (line 20) | public RequestMapperTests() method Should_map_valid_request_uri (line 27) | [Theory] method Should_error_on_unsupported_request_uri (line 52) | [Theory] method Should_map_method (line 67) | [Theory] method Should_use_downstream_route_method_if_set (line 85) | [Theory] method Should_map_all_headers (line 106) | [Fact] method Should_handle_no_headers (line 144) | [Fact] method Should_map_content (line 160) | [Theory] method Should_map_chucked_content (line 180) | [Fact] method Should_map_empty_content (line 198) | [Fact] method Should_map_empty_chucked_content (line 216) | [Fact] method Should_handle_no_content (line 234) | [Fact] method Should_handle_no_content_type (line 250) | [Fact] method Should_handle_no_content_length (line 266) | [Fact] method Should_map_content_headers (line 282) | [Fact] method Should_not_add_content_headers (line 336) | [Fact] method GivenTheDownstreamRoute (line 362) | private void GivenTheDownstreamRoute() method ThenTheMappedRequestHasContentTypeHeader (line 368) | private void ThenTheMappedRequestHasContentTypeHeader(string expected) method GivenTheInputRequestHasHost (line 375) | private void GivenTheInputRequestHasHost(string host) method GivenTheInputRequestHasPath (line 380) | private void GivenTheInputRequestHasPath(string path) method GivenTheInputRequestHasQueryString (line 388) | private void GivenTheInputRequestHasQueryString(string querystring) method GivenTheInputRequestHasAValidUri (line 396) | private void GivenTheInputRequestHasAValidUri() method GivenTheInputRequestHasContent (line 402) | private void GivenTheInputRequestHasContent(string content) method GivenTheInputRequestHasChunkedContent (line 408) | private void GivenTheInputRequestHasChunkedContent(params string[] chu... method WhenMapped (line 416) | private void WhenMapped() method ThenTheMappedRequestHasContent (line 421) | private async Task ThenTheMappedRequestHasContent(string expectedContent) method ThenTheMappedRequestHasContentLength (line 428) | private void ThenTheMappedRequestHasContentLength(long expectedLength) FILE: test/Ocelot.UnitTests/Request/Mapper/StreamHttpContentTests.cs class StreamHttpContentTests (line 8) | public class StreamHttpContentTests method StreamHttpContentTests (line 15) | public StreamHttpContentTests() method Copy_body_to_stream_and_stream_content_should_match_payload (line 20) | [Fact] method Copy_body_to_stream_with_unknown_length_and_stream_content_should_match_payload (line 36) | [Fact] method Copy_body_to_stream_with_body_length_and_stream_content_should_match_payload (line 56) | [Fact] method Should_throw_if_passed_body_length_does_not_match_real_body_length (line 76) | [Fact] method StreamHttpContentFactory (line 91) | private StreamHttpContent StreamHttpContentFactory() method CopyAsyncTest (line 98) | private static async Task CopyAsyncTest(StreamHttpContent streamHttpCo... FILE: test/Ocelot.UnitTests/RequestId/RequestIdMiddlewareTests.cs class RequestIdMiddlewareTests (line 15) | public class RequestIdMiddlewareTests : UnitTest method RequestIdMiddlewareTests (line 24) | public RequestIdMiddlewareTests() method Should_pass_down_request_id_from_upstream_request (line 41) | [Fact] method Should_add_request_id_when_not_on_upstream_request (line 67) | [Fact] method Should_add_request_id_scoped_repo_for_logging_later (line 91) | [Fact] method Should_update_request_id_scoped_repo_for_logging_later (line 118) | [Fact] method Should_not_update_if_global_request_id_is_same_as_re_route_request_id (line 145) | [Fact] method GivenThereIsNoGlobalRequestId (line 172) | private void GivenThereIsNoGlobalRequestId() method GivenTheRequestIdWasSetGlobally (line 177) | private void GivenTheRequestIdWasSetGlobally() method GivenTheDownStreamRouteIs (line 182) | private void GivenTheDownStreamRouteIs(DownstreamRouteHolder downstrea... method ThenTheTraceIdIs (line 188) | private void ThenTheTraceIdIs(string expected) FILE: test/Ocelot.UnitTests/Requester/DelegatingHandlerFactoryTests.cs class DelegatingHandlerFactoryTests (line 14) | public class DelegatingHandlerFactoryTests : UnitTest method DelegatingHandlerFactoryTests (line 26) | public DelegatingHandlerFactoryTests() method GivenQoS (line 49) | private static QoSOptions GivenQoS() => new(1, 1) method Should_follow_ordering_add_specifics (line 54) | [Fact] method Should_follow_ordering_order_specifics_and_globals (line 86) | [Fact] method Should_follow_ordering_order_specifics (line 119) | [Fact] method Should_follow_ordering_order_and_only_add_specifics_in_config (line 151) | [Fact] method Should_follow_ordering_dont_add_specifics (line 181) | [Fact] method Should_apply_re_route_specific (line 206) | [Fact] method Should_all_from_all_routes_provider_and_qos (line 230) | [Fact] method Should_return_provider_with_no_delegates (line 251) | [Fact] method Should_return_provider_with_qos_delegate (line 269) | [Fact] method Should_return_provider_with_qos_delegate_when_timeout_value_set (line 289) | [Fact] method Should_log_error_and_return_no_qos_provider_delegate_when_qos_factory_returns_error (line 309) | [Fact] method Should_log_error_and_return_no_qos_provider_delegate_when_qos_factory_returns_null (line 336) | [Fact] method ThenTheWarningIsLogged (line 363) | private void ThenTheWarningIsLogged(DownstreamRoute route) method GivenTheTracingFactoryReturns (line 370) | private void GivenTheTracingFactoryReturns() method GivenTheServiceProviderReturnsGlobalDelegatingHandlers (line 377) | private void GivenTheServiceProviderReturnsGlobalDelegatingHandlers WhenIGet(DownstreamRoute route) class ListExtensions (line 423) | internal static class ListExtensions method ThenItIsQosHandler (line 425) | public static void ThenItIsQosHandler(this List res... method ThenTheDelegatesAreAddedCorrectly (line 430) | public static void ThenTheDelegatesAreAddedCorrectly(this List(this List Order = 1; method FakeDelegatingHandler (line 6) | public FakeDelegatingHandler(int order) => Order = order; method SendAsync (line 9) | protected override Task SendAsync(HttpRequestMess... class FakeDelegatingHandlerThree (line 16) | public class FakeDelegatingHandlerThree : DelegatingHandler method FakeDelegatingHandlerThree (line 18) | public FakeDelegatingHandlerThree() => Order = 3; method SendAsync (line 21) | protected override Task SendAsync(HttpRequestMess... class FakeDelegatingHandlerFour (line 28) | public class FakeDelegatingHandlerFour : DelegatingHandler method FakeDelegatingHandlerFour (line 30) | public FakeDelegatingHandlerFour() => Order = 4; method SendAsync (line 33) | protected override Task SendAsync(HttpRequestMess... class FakeDelegatingHandlerTwo (line 40) | public class FakeDelegatingHandlerTwo : DelegatingHandler method FakeDelegatingHandlerTwo (line 42) | public FakeDelegatingHandlerTwo() => Order = 2; method SendAsync (line 45) | protected override Task SendAsync(HttpRequestMess... FILE: test/Ocelot.UnitTests/Requester/HttpExceptionToErrorMapperTests.cs class HttpExceptionToErrorMapperTests (line 10) | [Trait("Feat", "562")] // https://github.com/ThreeMammals/Ocelot/pull/562 method HttpExceptionToErrorMapperTests (line 17) | public HttpExceptionToErrorMapperTests() method Should_return_default_error_because_mappers_are_null (line 24) | [Fact] method Should_return_request_canceled (line 34) | [Fact] method Should_return_ConnectionToDownstreamServiceError (line 45) | [Fact] class SomeException (line 55) | private class SomeException : OperationCanceledException { } method Should_return_request_canceled_for_subtype (line 57) | [Fact] method Should_return_error_from_mapper (line 67) | [Fact] method Map_TimeoutException_To_RequestTimedOutError (line 89) | [Fact] method Map_BadHttpRequestException_To_PayloadTooLargeError (line 106) | [Fact] FILE: test/Ocelot.UnitTests/Requester/HttpRequesterMiddlewareTests.cs class HttpRequesterMiddlewareTests (line 12) | public class HttpRequesterMiddlewareTests : UnitTest method HttpRequesterMiddlewareTests (line 21) | public HttpRequesterMiddlewareTests() method Should_call_services_correctly (line 34) | [Fact] method Should_set_error (line 59) | [Fact] method Should_log_downstream_internal_server_error (line 72) | [Fact] method Should_LogInformation_when_status_is_less_than_BadRequest (line 85) | [Theory] method Should_LogWarning_when_status_is_BadRequest_or_greater (line 101) | [Theory] method GivenTheRequesterReturns (line 117) | private Response GivenTheRequesterReturns(Respons... method WarningIsLogged (line 124) | private void WarningIsLogged() method InformationIsLogged (line 130) | private void InformationIsLogged() FILE: test/Ocelot.UnitTests/Requester/MessageInvokerCacheKeyTests.cs class MessageInvokerCacheKeyTests (line 7) | public class MessageInvokerCacheKeyTests method Equals_Object (line 9) | [Fact] method Equality_Operator (line 82) | [Fact] method Inequality_Operator (line 101) | [Fact] FILE: test/Ocelot.UnitTests/Requester/MessageInvokerHttpRequesterTests.cs class MessageInvokerHttpRequesterTests (line 13) | public class MessageInvokerHttpRequesterTests method MessageInvokerHttpRequesterTests (line 22) | public MessageInvokerHttpRequesterTests() method CreateHttpContext (line 39) | private static DefaultHttpContext CreateHttpContext() method GetResponse_ReturnsOkResponse_WhenMessageInvokerSucceeds (line 51) | [Fact] method GetResponse_ReturnsErrorResponse_WhenMessageInvokerThrows (line 74) | [Fact] method Constructor_CreatesInstance_WhenDependenciesAreValid (line 100) | [Fact] method Constructor_ThrowsArgumentNullException_WhenLoggerFactoryIsNull (line 124) | [Fact] method Constructor_ThrowsArgumentNullException_WhenMessageInvokerPoolIsNull (line 136) | [Fact] method Constructor_ThrowsArgumentNullException_WhenMapperIsNull (line 148) | [Fact] FILE: test/Ocelot.UnitTests/Requester/MessageInvokerPoolTests.cs class MessageInvokerPoolTests (line 17) | public class MessageInvokerPoolTests : MessageInvokerPoolBase method If_calling_the_same_downstream_route_twice_should_return_the_same_message_invoker (line 22) | [Fact] method If_calling_two_different_downstream_routes_should_return_different_message_invokers (line 39) | [Fact] method If_two_delegating_handlers_are_defined_then_these_should_be_call_in_order (line 57) | [Fact] method Should_log_if_ignoring_ssl_errors (line 79) | [Fact] method SendAsync_NoQosAndHasRouteTimeout_ThrowTimeoutExceptionAfterRouteTimeout (line 110) | [Theory] method CreateMessageInvoker_QosTimeoutAndRouteOne_CreatedTimeoutDelegatingHandlerWithoutQosTimeout (line 139) | [Theory] method EnsureRouteTimeoutIsGreaterThanQosOne_QosTimeoutVsRouteOne_ExpectedRouteTimeoutOrDoubledQosTimeout (line 161) | [Theory] method EqualitySentence_ThreeCases (line 194) | [Theory] method CreateHandler_DangerousAcceptAnyServerCertificateValidatorIsTrue_InitializedRemoteCertificateValidationCallback (line 211) | [Fact] method Clear_WithOneItem_HandlersPoolShouldBeEmpty (line 240) | [Fact] method AndAHandlerFactory (line 266) | private void AndAHandlerFactory() => _handlerFactory = GetHandlerFacto... method WhenICallTheClient (line 268) | private async Task WhenICallTheClient(string url) method ThenTheFakeAreHandledInOrder (line 275) | private static void ThenTheFakeAreHandledInOrder(FakeDelegatingHandler... method GetHandlerFactory (line 278) | private static Mock GetHandlerFactory() method DownstreamRouteFactory (line 286) | private static DownstreamRoute DownstreamRouteFactory(string path) => ... class Sequential (line 295) | [Collection(nameof(SequentialTests))] method SendAsync_NoQosAndNoRouteTimeouts_ShouldTimeoutAfterDefaultSeconds (line 298) | [Fact] method EnsureRouteTimeoutIsGreaterThanQosOne_RouteQosTimeoutIsGreaterThanRouteOne_EnsuredQos (line 329) | [Fact] class MessageInvokerPoolBase (line 365) | public class MessageInvokerPoolBase : UnitTest method MessageInvokerPoolBase (line 375) | public MessageInvokerPoolBase() method Ms (line 380) | public static int Ms(int seconds) => 1000 * seconds; method GivenRoute (line 382) | protected static DownstreamRoute GivenRoute(int? qosTimeout, int? rout... method GivenTheFactoryReturnsNothing (line 401) | protected void GivenTheFactoryReturnsNothing() method GivenTheFactoryReturns (line 407) | protected void GivenTheFactoryReturns(List handlers) method GivenAMessageInvokerPool (line 414) | protected void GivenAMessageInvokerPool() => method GivenARequest (line 417) | protected void GivenARequest(DownstreamRoute downstream, int port) method GivenARequestWithAUrlAndMethod (line 419) | protected void GivenARequestWithAUrlAndMethod(DownstreamRoute downstre... method WhenICallTheClientWillThrowAfterTimeout (line 426) | protected async Task WhenICallTheClientWillThrowAfterTimeou... method AssertTimeoutPrecisely (line 451) | protected static void AssertTimeoutPrecisely(Stopwatch watcher, TimeSp... method AssertTimeoutDelegatingHandler (line 466) | protected static TimeoutDelegatingHandler AssertTimeoutDelegatingHandl... method AssertTimeout (line 478) | protected static TimeSpan AssertTimeout(HttpMessageInvoker invoker, in... method Url (line 489) | protected static string Url(int port) => $"http://localhost:{port}"; FILE: test/Ocelot.UnitTests/Requester/TimeoutDelegatingHandlerTests.cs class TimeoutDelegatingHandlerTests (line 6) | public sealed class TimeoutDelegatingHandlerTests : UnitTest method SendAsync_OnTimeout_ShouldThrowTimeoutException (line 8) | [Fact] FILE: test/Ocelot.UnitTests/Responder/AnyError.cs class AnyError (line 5) | internal class AnyError : Error method AnyError (line 7) | public AnyError() : base("blahh", OcelotErrorCode.UnknownError, 404) method AnyError (line 10) | public AnyError(OcelotErrorCode errorCode) : base("blah", errorCode, 404) FILE: test/Ocelot.UnitTests/Responder/ErrorsToHttpStatusCodeMapperTests.cs class ErrorsToHttpStatusCodeMapperTests (line 5) | public class ErrorsToHttpStatusCodeMapperTests : UnitTest method Should_return_unauthorized (line 9) | [Theory] method Should_return_forbidden (line 16) | [Theory] method Should_return_service_unavailable (line 27) | [Theory] method Should_return_internal_server_error (line 34) | [Theory] method Should_return_bad_gateway_error (line 43) | [Theory] method Should_return_not_found (line 50) | [Theory] method Should_return_request_entity_too_large (line 78) | [Fact] method AuthenticationErrorsHaveHighestPriority (line 86) | [Fact] method AuthorizationErrorsHaveSecondHighestPriority (line 100) | [Fact] method ServiceUnavailableErrorsHaveThirdHighestPriority (line 113) | [Fact] method Check_we_have_considered_all_errors_in_these_tests (line 125) | [Fact] method ShouldMapErrorToStatusCode (line 134) | private void ShouldMapErrorToStatusCode(OcelotErrorCode errorCode, Htt... method ShouldMapErrorsToStatusCode (line 139) | private void ShouldMapErrorsToStatusCode(List errorCo... FILE: test/Ocelot.UnitTests/Responder/HttpContextResponderTests.cs class HttpContextResponderTests (line 9) | public class HttpContextResponderTests method HttpContextResponderTests (line 13) | public HttpContextResponderTests() method Should_remove_transfer_encoding_header (line 19) | [Fact] method Should_ignore_content_if_null (line 38) | [Fact] method Should_have_content_length (line 54) | [Fact] method Should_add_header (line 70) | [Fact] method Should_add_reason_phrase (line 89) | [Fact] method Should_call_without_exception (line 107) | [Fact] FILE: test/Ocelot.UnitTests/Responder/ResponderMiddlewareTests.cs class ResponderMiddlewareTests (line 10) | public class ResponderMiddlewareTests : UnitTest method ResponderMiddlewareTests (line 20) | public ResponderMiddlewareTests() method Should_not_return_any_errors (line 32) | [Fact] method Should_return_any_errors (line 45) | [Fact] method Should_not_call_responder_when_null_downstream_response (line 59) | [Fact] FILE: test/Ocelot.UnitTests/Security/IPSecurityPolicyTests.cs class IPSecurityPolicyTests (line 12) | public sealed class IPSecurityPolicyTests : UnitTest method IPSecurityPolicyTests (line 20) | public IPSecurityPolicyTests() method Should_No_blocked_Ip_and_allowed_Ip (line 30) | [Fact] method Should_blockedIp_clientIp_block (line 40) | [Fact] method Should_blockedIp_clientIp_Not_block (line 54) | [Fact] method Should_allowedIp_clientIp_block (line 68) | [Fact] method Should_allowedIp_clientIp_Not_block (line 82) | [Fact] method Should_cidrNotation_allowed24_clientIp_block (line 96) | [Fact] method Should_cidrNotation_allowed24_clientIp_not_block (line 110) | [Fact] method Should_cidrNotation_allowed29_clientIp_block (line 124) | [Fact] method Should_cidrNotation_blocked24_clientIp_block (line 138) | [Fact] method Should_cidrNotation_blocked24_clientIp_not_block (line 152) | [Fact] method Should_range_allowed_clientIp_block (line 166) | [Fact] method Should_range_allowed_clientIp_not_block (line 180) | [Fact] method Should_range_blocked_clientIp_block (line 194) | [Fact] method Should_range_blocked_clientIp_not_block (line 208) | [Fact] method Should_shortRange_allowed_clientIp_block (line 222) | [Fact] method Should_shortRange_allowed_clientIp_not_block (line 236) | [Fact] method Should_shortRange_blocked_clientIp_block (line 250) | [Fact] method Should_shortRange_blocked_clientIp_not_block (line 264) | [Fact] method Should_ipSubnet_allowed_clientIp_block (line 278) | [Fact] method Should_ipSubnet_allowed_clientIp_not_block (line 292) | [Fact] method Should_ipSubnet_blocked_clientIp_block (line 306) | [Fact] method Should_ipSubnet_blocked_clientIp_not_block (line 320) | [Fact] method Should_exludeAllowedFromBlocked_moreAllowed_clientIp_block (line 334) | [Fact] method Should_exludeAllowedFromBlocked_moreAllowed_clientIp_not_block (line 348) | [Fact] method Should_exludeAllowedFromBlocked_moreBlocked_clientIp_block (line 362) | [Fact] method Should_exludeAllowedFromBlocked_moreBlocked_clientIp_not_block (line 376) | [Fact] method Should_route_config_overrides_global_config (line 390) | [Fact] method WhenTheSecurityPolicy (line 409) | private Response WhenTheSecurityPolicy(FileSecurityOptions options, Fi... FILE: test/Ocelot.UnitTests/Security/SecurityMiddlewareTests.cs class SecurityMiddlewareTests (line 12) | public sealed class SecurityMiddlewareTests : UnitTest method SecurityMiddlewareTests (line 21) | public SecurityMiddlewareTests() method Should_legal_request (line 37) | [Fact] method Should_verification_failed_request (line 50) | [Fact] method GivenPassingSecurityVerification (line 63) | private void GivenPassingSecurityVerification() method GivenNotPassingSecurityVerification (line 72) | private void GivenNotPassingSecurityVerification() FILE: test/Ocelot.UnitTests/SequentialTests.cs class SequentialTests (line 6) | [CollectionDefinition(nameof(SequentialTests), DisableParallelization = ... FILE: test/Ocelot.UnitTests/ServiceDiscovery/ConfigurationServiceProviderTests.cs class ConfigurationServiceProviderTests (line 6) | public class ConfigurationServiceProviderTests : UnitTest method Should_return_services (line 10) | [Fact] FILE: test/Ocelot.UnitTests/ServiceDiscovery/ServiceDiscoveryProviderFactoryTests.cs class ServiceDiscoveryProviderFactoryTests (line 14) | public class ServiceDiscoveryProviderFactoryTests : UnitTest method ServiceDiscoveryProviderFactoryTests (line 23) | public ServiceDiscoveryProviderFactoryTests() method Should_return_no_service_provider (line 35) | [Fact] method Should_return_list_of_configuration_services (line 50) | [Fact] method Should_return_provider_because_type_matches_reflected_type_from_delegate (line 82) | [Fact] method Should_not_return_provider_because_type_doesnt_match_reflected_type_from_delegate (line 101) | [Fact] method Should_return_service_fabric_provider (line 131) | [Fact] method Should_return_Kubernetes_provider_with_type_names_from_docs (line 150) | [Theory] method GivenAFakeDelegate (line 191) | private void GivenAFakeDelegate() class Fake (line 199) | private class Fake : IServiceDiscoveryProvider method GetAsync (line 201) | public Task> GetAsync() => null; method WhenIGetTheServiceProvider (line 207) | private void WhenIGetTheServiceProvider(ServiceProviderConfiguration s... FILE: test/Ocelot.UnitTests/ServiceDiscovery/ServiceFabricServiceDiscoveryProviderTests.cs class ServiceFabricServiceDiscoveryProviderTests (line 6) | public class ServiceFabricServiceDiscoveryProviderTests : UnitTest method Should_return_service_fabric_naming_service (line 8) | [Fact] FILE: test/Ocelot.UnitTests/ServiceDiscovery/ServiceRegistryTests.cs class ServiceRegistryTests (line 5) | public class ServiceRegistryTests : UnitTest method ServiceRegistryTests (line 12) | public ServiceRegistryTests() method Should_register_service (line 18) | [Fact] method Should_lookup_service (line 34) | [Fact] type IServiceRegistry (line 51) | public interface IServiceRegistry method Register (line 53) | void Register(Service serviceNameAndAddress); method Lookup (line 54) | List Lookup(string name); class ServiceRegistry (line 57) | public class ServiceRegistry : IServiceRegistry method ServiceRegistry (line 60) | public ServiceRegistry(IServiceRepository repository) => _repository =... method Register (line 61) | public void Register(Service serviceNameAndAddress) => _repository.Set... method Lookup (line 62) | public List Lookup(string name) => _repository.Get(name); type IServiceRepository (line 65) | public interface IServiceRepository method Get (line 67) | List Get(string serviceName); method Set (line 68) | void Set(Service serviceNameAndAddress); class ServiceRepository (line 71) | public class ServiceRepository : IServiceRepository method ServiceRepository (line 74) | public ServiceRepository() => _registeredServices = new Dictionary Get(string serviceName) => _registeredServices[se... method Set (line 76) | public void Set(Service serviceNameAndAddress) FILE: test/Ocelot.UnitTests/TestRetry.cs class TestRetry (line 6) | public static class TestRetry method NoWait (line 8) | public static TResult NoWait( method NoWaitAsync (line 15) | public static Task NoWaitAsync( FILE: test/Ocelot.UnitTests/UnitTest.cs class UnitTest (line 7) | public class UnitTest : Unit FILE: test/Ocelot.UnitTests/Usings.cs class Usings (line 23) | internal class Usings { } FILE: test/Ocelot.UnitTests/WebSockets/ClientWebSocketConnectorTests.cs class ClientWebSocketConnectorTests (line 8) | public sealed class ClientWebSocketConnectorTests : UnitTest, IDisposable method ClientWebSocketConnectorTests (line 12) | public ClientWebSocketConnectorTests() method Dispose (line 18) | public void Dispose() => _injectee.Dispose(); method ToWebSocket_ReturnedConcrete (line 20) | [Fact] method Options_ReturnedProxy (line 32) | [Fact] method ConnectAsync_Proxied (line 49) | [Fact] FILE: test/Ocelot.UnitTests/WebSockets/ClientWebSocketOptionsProxyTests.cs class ClientWebSocketOptionsProxyTests (line 9) | public sealed class ClientWebSocketOptionsProxyTests : UnitTest, IDispos... method ClientWebSocketOptionsProxyTests (line 14) | public ClientWebSocketOptionsProxyTests() method Dispose (line 20) | public void Dispose() method HttpVersion_Proxied (line 25) | [Fact] method HttpVersionPolicy_Proxied (line 40) | [Fact] method UseDefaultCredentials_Proxied (line 54) | [Fact] method Credentials_Proxied (line 68) | [Fact] method Proxy_Proxied (line 90) | [Fact] method ClientCertificates_Proxied (line 111) | [Fact] method RemoteCertificateValidationCallback_Proxied (line 128) | [Fact] method Cookies_Proxied (line 148) | [Fact] method KeepAliveInterval_Proxied (line 167) | [Fact] method DangerousDeflateOptions_Proxied (line 182) | [Fact] method CollectHttpResponseDetails_Proxied (line 197) | [Fact] method AddSubProtocol_Proxied (line 213) | [Fact] method SetBuffer_Proxied (line 230) | [Fact] method SetBuffer_ArraySegment_Proxied (line 246) | [Fact] method SetRequestHeader_Proxied (line 268) | [Fact] FILE: test/Ocelot.UnitTests/WebSockets/ClientWebSocketProxyTests.cs class ClientWebSocketProxyTests (line 6) | public sealed class ClientWebSocketProxyTests : UnitTest, IDisposable method ClientWebSocketProxyTests (line 12) | public ClientWebSocketProxyTests() method Dispose (line 19) | public void Dispose() => _proxy.Dispose(); method ToWebSocket_NoCasting (line 21) | [Fact] method Options_Proxied (line 32) | [Fact] method ConnectAsync_Proxied (line 48) | [Fact] method CloseStatus_Proxied (line 65) | [Fact] method CloseStatusDescription_Proxied (line 80) | [Fact] method State_Proxied (line 95) | [Fact] method SubProtocol_Proxied (line 110) | [Fact] method Abort_Proxied (line 125) | [Fact] method CloseAsync_Proxied (line 138) | [Fact] method CloseOutputAsync_Proxied (line 154) | [Fact] method ReceiveAsync_Proxied (line 170) | [Fact] method SendAsync_Proxied (line 188) | [Fact] FILE: test/Ocelot.UnitTests/WebSockets/MockWebSocket.cs class MockWebSocket (line 11) | internal class MockWebSocket : WebSocket method MockWebSocket (line 21) | public MockWebSocket(string subProtocol = null) => this.subProtocol = ... method SetState (line 22) | public void SetState(WebSocketState state) => this.state = state; method InvokeReceiveAsync (line 25) | public Task InvokeReceiveAsync(ArraySegment buffer, WebSocketMes... method Abort (line 41) | public override void Abort() => throw new NotImplementedException(); method CloseAsync (line 43) | public override Task CloseAsync(WebSocketCloseStatus closeStatus, stri... method CloseOutputAsync (line 58) | public override Task CloseOutputAsync(WebSocketCloseStatus closeStatus... method ReceiveAsync (line 60) | public override async Task ReceiveAsync( method SendAsync (line 95) | public override Task SendAsync(ArraySegment buffer, WebSocketMes... class MessageData (line 112) | public class MessageData class MessageDataEventArgs (line 119) | public class MessageDataEventArgs : EventArgs method Dispose (line 124) | protected virtual void Dispose(bool disposing) method Dispose (line 144) | public override void Dispose() FILE: test/Ocelot.UnitTests/WebSockets/WebSocketsFactoryTests.cs class WebSocketsFactoryTests (line 5) | public class WebSocketsFactoryTests method CreateClient_Created (line 7) | [Fact] FILE: test/Ocelot.UnitTests/WebSockets/WebSocketsProxyMiddlewareTests.cs class WebSocketsProxyMiddlewareTests (line 16) | public class WebSocketsProxyMiddlewareTests : UnitTest method WebSocketsProxyMiddlewareTests (line 28) | public WebSocketsProxyMiddlewareTests() method Proxy_NotIsWebSocketRequest_ThrownException (line 47) | [Fact] method Proxy_ThereAreWebSocketRequestedProtocols_AddedSubProtocols (line 63) | [Fact] method Proxy_ThereAreHeaders_SetRequestHeaders (line 89) | [Fact] method Proxy_ThereAreHeaders_ThrownExceptionButCaughtIt (line 118) | [Fact] method ShouldIgnoreAllSslWarningsWhenDangerousAcceptAnyServerCertificateValidatorIsTrue (line 145) | [Fact] method GivenPropertyDangerousAcceptAnyServerCertificateValidator (line 163) | private void GivenPropertyDangerousAcceptAnyServerCertificateValidator... method AndDoNotSetupProtocolsAndHeaders (line 182) | private void AndDoNotSetupProtocolsAndHeaders() => AndSetupProtocolsAn... method AndSetupProtocolsAndHeaders (line 183) | private void AndSetupProtocolsAndHeaders(List protos = null, H... method DoNotConnectReally (line 189) | private Mock DoNotConnectReally(Action call... method ThenIgnoredAllSslWarnings (line 218) | private void ThenIgnoredAllSslWarnings(List actual) method ShouldReplaceNonWsSchemes (line 239) | [Theory] method GivenNonWebsocketScheme (line 260) | private void GivenNonWebsocketScheme(string scheme, List messa... method ThenNonWsSchemesAreReplaced (line 276) | private void ThenNonWsSchemesAreReplaced(string scheme, string expecte... method AndBothSocketsGenerateExceptionWhenReceiveAsync (line 293) | private static WebSocketCloseStatus[] AndBothSocketsGenerateExceptionW... method ThenBothSocketsClosedOutputTimes (line 312) | private static void ThenBothSocketsClosedOutputTimes(Mock c... method PumpAsync_OperationCanceledException_ClosedDestinationSocket (line 322) | [Fact] method PumpAsync_WebSocketException_ClosedDestinationSocket (line 351) | [Fact] method PumpAsync_IsOpen_SentToDestination (line 380) | [Fact] method MockMiddleware (line 426) | private Mock MockMiddleware() method TryCloseOutputAsync_NoState_NoClosing (line 439) | [Fact] method TryCloseOutputAsync_MatchingState_HappyPath (line 465) | [Theory] FILE: testing/AcceptanceSteps.cs class AcceptanceSteps (line 29) | public class AcceptanceSteps : IDisposable method AcceptanceSteps (line 41) | public AcceptanceSteps() method Body (line 54) | public virtual string Body([CallerMemberName] string? responseBody = n... method TestName (line 55) | public virtual string TestName([CallerMemberName] string? testName = n... method Localhost (line 59) | protected virtual FileHostAndPort Localhost(int port) => new("localhos... method DownstreamUrl (line 61) | protected static string DownstreamUrl(int port) => DownstreamUrl(port,... method DownstreamUrl (line 62) | protected static string DownstreamUrl(int port, string scheme) => $"{s... method LoopbackLocalhostUrl (line 63) | protected static string LoopbackLocalhostUrl(int port, int loopbackInd... method GivenConfiguration (line 65) | public virtual FileConfiguration GivenConfiguration(params FileRoute[]... method GivenDefaultRoute (line 72) | public virtual FileRoute GivenDefaultRoute(int port) => GivenRoute(port); method GivenCatchAllRoute (line 73) | public virtual FileRoute GivenCatchAllRoute(int port) => GivenRoute(po... method GivenRoute (line 74) | public virtual FileRoute GivenRoute(int port, string? upstream = null,... method GivenThereIsAConfiguration (line 85) | public virtual void GivenThereIsAConfiguration(FileConfiguration confi... method GivenThereIsAConfiguration (line 87) | public virtual void GivenThereIsAConfiguration(FileConfiguration from,... method GivenThereIsAConfigurationAsync (line 92) | public virtual Task GivenThereIsAConfigurationAsync(FileConfiguration ... method SerializeJson (line 97) | protected virtual string SerializeJson(FileConfiguration from, ref str... method WithBasicConfiguration (line 113) | public void WithBasicConfiguration(HostBuilderContext hosting, IConfig... method WithBasicConfiguration (line 118) | public void WithBasicConfiguration(WebHostBuilderContext hosting, ICon... method WithAddOcelot (line 124) | public static void WithAddOcelot(IServiceCollection services) => servi... method WithUseOcelot (line 125) | public static void WithUseOcelot(IApplicationBuilder app) => WithUseOc... method WithUseOcelotAsync (line 126) | public static Task WithUseOcelotAsync(IApplicatio... method GivenOcelotIsRunning (line 128) | public int GivenOcelotIsRunning() method GivenOcelotIsRunningAsync (line 130) | public Task GivenOcelotIsRunningAsync() method GivenOcelotIsRunning (line 133) | public int GivenOcelotIsRunning(Action GivenOcelotIsRunningAsync(Action configureSe... method GivenOcelotIsRunningAsync (line 140) | public Task GivenOcelotIsRunningAsync(Action ... method GivenOcelotIsRunning (line 143) | public int GivenOcelotIsRunning(Action GivenOcelotIsRunningAsync(Action? configure... method GivenOcelotIsRunningAsync (line 150) | public Task GivenOcelotIsRunningAsync(Action... method GivenOcelotIsRunning (line 153) | public int GivenOcelotIsRunning(Action GivenOcelotIsRunningAsync(Action GivenOcelotIsRunningAsync( method GivenOcelotIsRunningInternal (line 190) | private int GivenOcelotIsRunningInternal( method SetBaseUrl (line 220) | private static void SetBaseUrl(FileConfiguration configuration, string... method GivenOcelotHostIsRunning (line 225) | protected async Task GivenOcelotHostIsRunning( method GivenThereIsAServiceRunningOn (line 265) | public virtual void GivenThereIsAServiceRunningOn(int port, [CallerMem... method MapStatus (line 270) | protected virtual Task MapStatus(HttpContext context) method GivenThereIsAServiceRunningOn (line 275) | public virtual void GivenThereIsAServiceRunningOn(int port, HttpStatus... method MapOK (line 282) | protected virtual Task MapOK(HttpContext context) method GivenThereIsAServiceRunningOnPath (line 287) | public virtual void GivenThereIsAServiceRunningOnPath(int port, string... method GivenThereIsAServiceRunningOn (line 292) | public virtual void GivenThereIsAServiceRunningOn(int port, string bas... method GivenIWait (line 298) | public static void GivenIWait(int wait) => Thread.Sleep(wait); method GivenIWaitAsync (line 299) | public static Task GivenIWaitAsync(int wait) => Task.Delay(wait); method GivenIAddCookieToMyRequest (line 303) | public void GivenIAddCookieToMyRequest(string cookie) method WhenIGetUrlOnTheApiGatewayWithCookie (line 305) | public async Task WhenIGetUrlOnTheApiGatewayWithCookie(string url, str... method WhenIGetUrlOnTheApiGatewayWithCookie (line 307) | public async Task WhenIGetUrlOnTheApiGatewayWithCookie(string url, Coo... method WhenIGetUrlOnTheApiGateway (line 309) | public Task WhenIGetUrlOnTheApiGateway(string url... method WhenIGetUrlOnTheApiGateway (line 311) | public Task WhenIGetUrlOnTheApiGateway(string url... method ThenTheResponseHeaderIs (line 321) | public void ThenTheResponseHeaderIs(string key, string value) method ThenTheResponseContentHeaderIs (line 329) | public void ThenTheResponseContentHeaderIs(string key, string value) method ThenTheResponseHeaderExists (line 337) | public string ThenTheResponseHeaderExists(string key) method ThenTheResponseHeaderExists (line 344) | public void ThenTheResponseHeaderExists(string key, bool exists) method ThenTheResponseContentHeaderExists (line 347) | public string ThenTheResponseContentHeaderExists(string key) method ThenTheResponseContentHeaderExists (line 354) | public void ThenTheResponseContentHeaderExists(string key, bool exists) method ThenTheResponseReasonPhraseIs (line 358) | public void ThenTheResponseReasonPhraseIs(string expected) method GivenIHaveAddedATokenToMyRequest (line 361) | public void GivenIHaveAddedATokenToMyRequest(string token, string sche... method WhenIGetUrlOnTheApiGateway (line 367) | public async Task WhenIGetUrlOnTheApiGateway(string url) method WhenIGetUrl (line 370) | public Task WhenIGetUrl(string url) method WhenIGetUrlOnTheApiGatewayWithBody (line 373) | public async Task WhenIGetUrlOnTheApiGatewayWithBody(string url, strin... method WhenIGetUrlOnTheApiGatewayWithForm (line 382) | public async Task WhenIGetUrlOnTheApiGatewayWithForm(string url, strin... method WhenIGetUrlOnTheApiGateway (line 396) | public async Task WhenIGetUrlOnTheApiGateway(string url, HttpContent c... method WhenIPostUrlOnTheApiGateway (line 403) | public async Task WhenIPostUrlOnTheApiGateway(string url, HttpContent ... method WhenIPostUrlOnTheApiGateway (line 409) | public async Task WhenIPostUrlOnTheApiGateway(string url, string content) method WhenIPostUrlOnTheApiGateway (line 415) | public async Task WhenIPostUrlOnTheApiGateway(string url, string conte... method WhenIDeleteUrlOnTheApiGateway (line 421) | public async Task WhenIDeleteUrlOnTheApiGateway(string url) method GivenIAddAHeader (line 424) | public void GivenIAddAHeader(string key, string value) method WhenIDoActionMultipleTimes (line 431) | public static void WhenIDoActionMultipleTimes(int times, Action a... method WhenIDoActionMultipleTimes (line 437) | public static async Task WhenIDoActionMultipleTimes(int times, Func ThenTheResponseBodyS... method ThenTheContentLengthIs (line 480) | public void ThenTheContentLengthIs(int expected) method ThenTheStatusCodeShouldBeOK (line 483) | public void ThenTheStatusCodeShouldBeOK() method ThenTheStatusCodeShouldBe (line 485) | public void ThenTheStatusCodeShouldBe(HttpStatusCode expected) method ThenTheStatusCodeShouldBe (line 487) | public void ThenTheStatusCodeShouldBe(int expected) method ReleasePortAsync (line 490) | public Task ReleasePortAsync(params int[] ports) method Dispose (line 498) | public virtual void Dispose() method Dispose (line 508) | protected virtual void Dispose(bool disposing) method DeleteFiles (line 529) | protected virtual void DeleteFiles() method DeleteFolders (line 548) | protected virtual void DeleteFolders() FILE: testing/Authentication/AuthenticationSteps.cs class AuthenticationSteps (line 22) | public class AuthenticationSteps : AcceptanceSteps method AuthenticationSteps (line 28) | public AuthenticationSteps() : base() method Dispose (line 33) | public override void Dispose() method WithThreemammalsOptions (line 45) | protected void WithThreemammalsOptions(JwtBearerOptions o) method WithJwtBearerAuthentication (line 61) | public void WithJwtBearerAuthentication(IServiceCollection services) method WithJwtBearerAuthentication (line 63) | public void WithJwtBearerAuthentication(IServiceCollection services, b... method CreateJwtSigningServer (line 69) | public static /*IHost*/ WebApplication CreateJwtSigningServer(string u... method VerifyJwtSigningServerStarted (line 111) | protected static async Task VerifyJwtSigningServerStarted(string url, ... method GivenThereIsExternalJwtSigningService (line 120) | public Task GivenThereIsExternalJwtSigningService(string[] ext... method GivenIHaveAddedATokenToMyRequest (line 132) | public void GivenIHaveAddedATokenToMyRequest() => GivenIHaveAddedAToke... method GivenIHaveAddedATokenToMyRequest (line 133) | public void GivenIHaveAddedATokenToMyRequest(BearerToken? token) method GivenAuthTokenRequest (line 136) | public AuthenticationTokenRequest GivenAuthTokenRequest(string scope, method GivenIHaveAToken (line 152) | public Task GivenIHaveAToken([CallerMemberName] string t... method GivenIHaveAToken (line 155) | public async Task GivenIHaveAToken(string scope, method GivenIHaveATokenWithUrlPath (line 165) | public async Task GivenIHaveATokenWithUrlPath(string pat... method OnAuthenticationTokenRequest (line 174) | protected virtual void OnAuthenticationTokenRequest(AuthenticationToke... method GivenToken (line 177) | protected async Task GivenToken(AuthenticationTokenReque... method GivenAuthRoute (line 193) | protected FileRoute GivenAuthRoute(int port, string path, FileAuthenti... method GivenAuthRoute (line 200) | public FileRoute GivenAuthRoute(int port, method GivenGlobalAuthConfiguration (line 217) | public static FileGlobalConfiguration GivenGlobalAuthConfiguration( method GenerateTokenAsync (line 231) | public async Task GenerateTokenAsync(IdentityUser user, s... method IsRoleKey (line 266) | private static bool IsRoleKey(KeyValuePair kv) method IsNotRoleKey (line 269) | private static bool IsNotRoleKey(KeyValuePair kv) method GenerateToken (line 272) | public static BearerToken GenerateToken(string issuerUrl, Authenticati... method GivenOptions (line 323) | public static FileAuthenticationOptions GivenOptions(bool? allowAnonym... FILE: testing/Authentication/AuthenticationTokenRequest.cs class AuthenticationTokenRequest (line 8) | public class AuthenticationTokenRequest method IssuerSigningKey (line 39) | public SymmetricSecurityKey? IssuerSigningKey() FILE: testing/Authentication/AuthenticationTokenRequestEventArgs.cs class AuthenticationTokenRequestEventArgs (line 3) | public class AuthenticationTokenRequestEventArgs(AuthenticationTokenRequ... FILE: testing/Authentication/OcelotScopes.cs class OcelotScopes (line 3) | public static class OcelotScopes class OcelotClaims (line 10) | public static class OcelotClaims FILE: testing/BearerToken.cs class BearerToken (line 6) | public class BearerToken FILE: testing/Boxing/Box.cs class Box (line 3) | public class Box method In (line 5) | public static TResult In(TBoxee instance) method With (line 9) | public static TResult With(TBoxee instance) method Box (line 19) | public Box(T instance, string? typeName = null) method Out (line 27) | public T Out() => Instance; method Unbox (line 28) | public T Unbox() => Instance; class Box (line 15) | public class Box : Box method In (line 5) | public static TResult In(TBoxee instance) method With (line 9) | public static TResult With(TBoxee instance) method Box (line 19) | public Box(T instance, string? typeName = null) method Out (line 27) | public T Out() => Instance; method Unbox (line 28) | public T Unbox() => Instance; FILE: testing/Boxing/FileRouteBox.cs class FileRouteBox (line 6) | public static class FileRouteBox method In (line 8) | public static FileRouteBox In(T route) where T : FileRoute method With (line 10) | public static FileRouteBox With(T route) where T : FileRoute method In (line 17) | public static FileRouteBox In(T route) => new(route); method With (line 18) | public static FileRouteBox With(T route) => new(route); method Hosts (line 20) | public FileRouteBox Hosts(params H[] hosts) where H : class // F... method Priority (line 36) | public FileRouteBox Priority(int priority) method Methods (line 44) | public FileRouteBox Methods(params string[] methods) method UpstreamHeaderTransform (line 53) | public FileRouteBox UpstreamHeaderTransform(params KeyValuePair UpstreamHeaderTransform(string key, string value) method DownstreamHeaderTransform (line 77) | public FileRouteBox DownstreamHeaderTransform(string key, string va... method HandlerOptions (line 87) | public FileRouteBox HandlerOptions(O options) where O : class //... method Key (line 97) | public FileRouteBox Key(string? key) method UpstreamHost (line 105) | public FileRouteBox UpstreamHost(string? upstreamHost) class FileRouteBox (line 14) | public class FileRouteBox(T route) : Box(route, "Ocelot.Configurat... method In (line 8) | public static FileRouteBox In(T route) where T : FileRoute method With (line 10) | public static FileRouteBox With(T route) where T : FileRoute method In (line 17) | public static FileRouteBox In(T route) => new(route); method With (line 18) | public static FileRouteBox With(T route) => new(route); method Hosts (line 20) | public FileRouteBox Hosts(params H[] hosts) where H : class // F... method Priority (line 36) | public FileRouteBox Priority(int priority) method Methods (line 44) | public FileRouteBox Methods(params string[] methods) method UpstreamHeaderTransform (line 53) | public FileRouteBox UpstreamHeaderTransform(params KeyValuePair UpstreamHeaderTransform(string key, string value) method DownstreamHeaderTransform (line 77) | public FileRouteBox DownstreamHeaderTransform(string key, string va... method HandlerOptions (line 87) | public FileRouteBox HandlerOptions(O options) where O : class //... method Key (line 97) | public FileRouteBox Key(string? key) method UpstreamHost (line 105) | public FileRouteBox UpstreamHost(string? upstreamHost) FILE: testing/Boxing/FileRouteExtensions.cs class FileRouteExtensions (line 8) | public static class FileRouteExtensions method WithHosts (line 10) | public static R WithHosts(this R route, params H[] hosts) method WithPriority (line 15) | public static R WithPriority(this R route, int priority) method WithMethods (line 19) | public static R WithMethods(this R route, params string[] methods) method WithUpstreamHeaderTransform (line 23) | public static R WithUpstreamHeaderTransform(this R route, params Ke... method WithUpstreamHeaderTransform (line 27) | public static R WithUpstreamHeaderTransform(this R route, string ke... method WithDownstreamHeaderTransform (line 31) | public static R WithDownstreamHeaderTransform(this R route, string ... method WithHttpHandlerOptions (line 35) | public static R WithHttpHandlerOptions(this R route, O options) method WithKey (line 40) | public static R WithKey(this R route, string? key) method WithUpstreamHost (line 44) | public static R WithUpstreamHost(this R route, string? upstreamHost) FILE: testing/FileUnit.cs class FileUnit (line 3) | public class FileUnit : Unit, IDisposable method FileUnit (line 11) | protected FileUnit() : this(null) { } method FileUnit (line 13) | protected FileUnit(string? folder) method EnvironmentName (line 30) | protected virtual string EnvironmentName() => TestID; method Dispose (line 32) | public virtual void Dispose() method Dispose (line 44) | protected virtual void Dispose(bool disposing) method DeleteFiles (line 60) | protected void DeleteFiles() method DeleteFolders (line 79) | protected void DeleteFolders() FILE: testing/Ocelot.cs class Ocelot (line 7) | internal class Ocelot method CreateFileRoute (line 12) | public static object? CreateFileRoute(out Type type) method CreateFileConfiguration (line 18) | public static object? CreateFileConfiguration(out Type type) method CreateFileHostAndPort (line 24) | public static object? CreateFileHostAndPort(string host, int port, out... method AddOcelot (line 30) | public static object? AddOcelot(IServiceCollection services) method UseOcelot (line 41) | public static Task UseOcelot(IApplicationBuilder ... FILE: testing/PortFinder.cs class PortFinder (line 7) | public static class PortFinder method GetRandomPort (line 20) | public static int GetRandomPort() method GetPorts (line 36) | public static int[] GetPorts(int count) method TryUsePort (line 46) | private static bool TryUsePort(int port) class ExceedingPortRangeException (line 69) | public class ExceedingPortRangeException : Exception method ExceedingPortRangeException (line 71) | public ExceedingPortRangeException() method ThrowIf (line 74) | public static void ThrowIf(bool condition) FILE: testing/ServiceHandler.cs method Dispose (line 26) | public void Dispose() method AddOrStopAsync (line 36) | protected Task AddOrStopAsync( method ReleasePortAsync (line 54) | public Task ReleasePortAsync(params int[] ports) method CreateHost (line 76) | private static IHost CreateHost(Action configureWeb) method CreateHost (line 78) | private static IWebHost CreateHost(Action configureWeb) method GivenThereIsAServiceRunningOn (line 96) | public IWebHost method GivenThereIsAServiceRunningOn (line 111) | public void GivenThereIsAServiceRunningOn(string baseUrl, string basePat... method GivenThereIsAServiceRunningOn (line 123) | public void GivenThereIsAServiceRunningOn(string baseUrl, string basePat... method GivenThereIsAServiceRunningOnWithKestrelOptions (line 136) | public void GivenThereIsAServiceRunningOnWithKestrelOptions(string baseU... method WithDefaultKestrelServerOptions (line 150) | internal void WithDefaultKestrelServerOptions(KestrelServerOptions options) method GivenThereIsAHttpsServiceRunningOn (line 153) | public void GivenThereIsAHttpsServiceRunningOn(string baseUrl, string ba... method Localhost (line 169) | public static string Localhost(int port) => $"{Uri.UriSchemeHttp}://loca... method GivenThereIsAServiceRunningOn (line 171) | public void GivenThereIsAServiceRunningOn(int port, RequestDelegate hand... method GivenThereIsAServiceRunningOn (line 174) | public void GivenThereIsAServiceRunningOn(int port, string path, Request... method GivenThereIsAServiceRunningOn (line 182) | public IWebHost method GivenThereIsAServiceRunningOn (line 195) | public IWebHost method GivenThereIsAServiceRunningOnAsync (line 222) | public Task method GivenThereIsAServiceRunningOnAsync (line 235) | public Task method CreateBuilder (line 260) | private static IHostBuilder FILE: testing/StreamExtensions.cs class StreamExtensions (line 3) | public static class StreamExtensions method AsString (line 5) | public static string AsString(this Stream stream) FILE: testing/TestHostBuilder.cs class TestHostBuilder (line 7) | public sealed class TestHostBuilder method Create (line 15) | public static IHostBuilder Create() method Create (line 18) | public static IWebHostBuilder Create() method Create (line 23) | public static IHostBuilder Create(Action confi... method Create (line 26) | public static IWebHostBuilder Create(Action co... method WithEnabledValidateScopes (line 30) | public static void WithEnabledValidateScopes(ServiceProviderOptions op... method CreateHost (line 33) | public static IHostBuilder CreateHost() method CreateHost (line 36) | public static IHostBuilder CreateHost(Action c... FILE: testing/TestWebBuilder.cs class TestWebBuilder (line 7) | public static class TestWebBuilder method WithEnabledValidateScopes (line 9) | public static void WithEnabledValidateScopes(ServiceProviderOptions op... method CreateBuilder (line 12) | public static WebApplicationBuilder CreateBuilder() method Create (line 18) | public static WebApplicationBuilder Create(Action IsRunningInGitHubActions(); method IsRunningInGitHubActions (line 18) | protected static bool IsRunningInGitHubActions() FILE: testing/Wait.cs class Wait (line 5) | public class Wait method For (line 9) | public static Wait For(int milliSeconds) => new(milliSeconds); method Wait (line 11) | private Wait() { } method Wait (line 12) | private Wait(int milliSeconds) method Until (line 17) | public bool Until(Func condition) method UntilAsync (line 32) | public async Task UntilAsync(Func> condition)