mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-18 23:33:47 +01:00
* Read only .json files as static mapping files and fix current folder for BodyAsFile * include .json again * LocalFileSystemHandler_ReadResponseBodyAsFile_Throws * Read array from static mappings folder * xml soap example
41 lines
1.1 KiB
C#
41 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Concurrent;
|
|
using System.Collections.ObjectModel;
|
|
using WireMock.Handlers;
|
|
using WireMock.Logging;
|
|
using WireMock.Matchers;
|
|
#if !USE_ASPNETCORE
|
|
using Owin;
|
|
#else
|
|
using IAppBuilder = Microsoft.AspNetCore.Builder.IApplicationBuilder;
|
|
#endif
|
|
|
|
namespace WireMock.Owin
|
|
{
|
|
internal interface IWireMockMiddlewareOptions
|
|
{
|
|
IWireMockLogger Logger { get; set; }
|
|
|
|
TimeSpan? RequestProcessingDelay { get; set; }
|
|
|
|
IStringMatcher AuthorizationMatcher { get; set; }
|
|
|
|
bool AllowPartialMapping { get; set; }
|
|
|
|
ConcurrentDictionary<Guid, IMapping> Mappings { get; }
|
|
|
|
ConcurrentDictionary<string, ScenarioState> Scenarios { get; }
|
|
|
|
ObservableCollection<LogEntry> LogEntries { get; }
|
|
|
|
int? RequestLogExpirationDuration { get; set; }
|
|
|
|
int? MaxRequestLogCount { get; set; }
|
|
|
|
Action<IAppBuilder> PreWireMockMiddlewareInit { get; set; }
|
|
|
|
Action<IAppBuilder> PostWireMockMiddlewareInit { get; set; }
|
|
|
|
IFileSystemHandler FileSystemHandler { get; set; }
|
|
}
|
|
} |