├── .editorconfig ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG ├── LICENSE ├── Package.props ├── README.md ├── Release.proj ├── RichardSzalay.MockHttp.Tests ├── Infrastructure │ └── HttpHelpers.cs ├── Issues │ ├── Issue116Tests.cs │ ├── Issue149Tests.cs │ ├── Issue29Tests.cs │ └── Issue33Tests.cs ├── Matchers │ ├── AnyMatcherTests.cs │ ├── ContentMatcherTests.cs │ ├── CustomMatcherTests.cs │ ├── FormDataMatcherTests.cs │ ├── HeadersMatcherTests.cs │ ├── JsonContentMatcherTests.cs │ ├── MethodMatcherTests.cs │ ├── PartialContentMatcherTests.cs │ ├── QueryStringMatcherTests.cs │ ├── UrlMatcherTests.cs │ └── XmlContentMatcherTests.cs ├── MockHttpMessageHandlerTests.cs ├── MockedRequestExtentionsRespondTests.cs ├── MockedRequestExtentionsWithTests.cs └── RichardSzalay.MockHttp.Tests.csproj ├── RichardSzalay.MockHttp.nuspec ├── RichardSzalay.MockHttp.sln ├── RichardSzalay.MockHttp ├── BackendDefinitionBehavior.cs ├── CodeAnalysis │ └── Attributes.cs ├── Formatters │ ├── RequestHandlerResultFormatter.cs │ ├── Resources.Designer.cs │ └── Resources.resx ├── IMockedRequest.cs ├── IMockedRequestMatcher.cs ├── Matchers │ ├── AnyMatcher.cs │ ├── ContentMatcher.cs │ ├── CustomMatcher.cs │ ├── FormDataMatcher.cs │ ├── HeadersMatcher.cs │ ├── JsonContentMatcher.cs │ ├── MethodMatcher.cs │ ├── PartialContentMatcher.cs │ ├── QueryStringMatcher.cs │ ├── UrlMatcher.cs │ └── XmlContentMatcher.cs ├── MockHttpMatchException.cs ├── MockHttpMessageHandler.cs ├── MockHttpMessageHandlerExtensions.cs ├── MockedRequest.cs ├── MockedRequestExtensions.cs ├── MockedRequestJsonExtensions.cs ├── MockedRequestXmlExtensions.cs ├── RequestHandlerResult.cs ├── RichardSzalay.MockHttp.csproj ├── StringUtil.cs ├── TaskEx.cs └── UriUtil.cs └── mockhttp.snk /.editorconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/CHANGELOG -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.props: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/Package.props -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/README.md -------------------------------------------------------------------------------- /Release.proj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/Release.proj -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Infrastructure/HttpHelpers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Infrastructure/HttpHelpers.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Issues/Issue116Tests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Issues/Issue116Tests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Issues/Issue149Tests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Issues/Issue149Tests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Issues/Issue29Tests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Issues/Issue29Tests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Issues/Issue33Tests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Issues/Issue33Tests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/AnyMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/AnyMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/ContentMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/ContentMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/CustomMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/CustomMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/FormDataMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/FormDataMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/HeadersMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/HeadersMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/JsonContentMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/JsonContentMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/MethodMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/MethodMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/PartialContentMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/PartialContentMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/QueryStringMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/QueryStringMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/UrlMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/UrlMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/Matchers/XmlContentMatcherTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/Matchers/XmlContentMatcherTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/MockHttpMessageHandlerTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/MockHttpMessageHandlerTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/MockedRequestExtentionsRespondTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/MockedRequestExtentionsRespondTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/MockedRequestExtentionsWithTests.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/MockedRequestExtentionsWithTests.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.Tests/RichardSzalay.MockHttp.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.Tests/RichardSzalay.MockHttp.Tests.csproj -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.nuspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.nuspec -------------------------------------------------------------------------------- /RichardSzalay.MockHttp.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp.sln -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/BackendDefinitionBehavior.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/BackendDefinitionBehavior.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/CodeAnalysis/Attributes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/CodeAnalysis/Attributes.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Formatters/RequestHandlerResultFormatter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Formatters/RequestHandlerResultFormatter.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Formatters/Resources.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Formatters/Resources.Designer.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Formatters/Resources.resx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Formatters/Resources.resx -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/IMockedRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/IMockedRequest.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/IMockedRequestMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/IMockedRequestMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/AnyMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/AnyMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/ContentMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/ContentMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/CustomMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/CustomMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/FormDataMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/FormDataMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/HeadersMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/HeadersMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/JsonContentMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/JsonContentMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/MethodMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/MethodMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/PartialContentMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/PartialContentMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/QueryStringMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/QueryStringMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/UrlMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/UrlMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/Matchers/XmlContentMatcher.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/Matchers/XmlContentMatcher.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockHttpMatchException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockHttpMatchException.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockHttpMessageHandler.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockHttpMessageHandler.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockHttpMessageHandlerExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockHttpMessageHandlerExtensions.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockedRequest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockedRequest.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockedRequestExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockedRequestExtensions.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockedRequestJsonExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockedRequestJsonExtensions.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/MockedRequestXmlExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/MockedRequestXmlExtensions.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/RequestHandlerResult.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/RequestHandlerResult.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/RichardSzalay.MockHttp.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/RichardSzalay.MockHttp.csproj -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/StringUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/StringUtil.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/TaskEx.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/TaskEx.cs -------------------------------------------------------------------------------- /RichardSzalay.MockHttp/UriUtil.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/RichardSzalay.MockHttp/UriUtil.cs -------------------------------------------------------------------------------- /mockhttp.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/richardszalay/mockhttp/HEAD/mockhttp.snk --------------------------------------------------------------------------------