diff --git a/src/WireMock.Net/Admin/Requests/LogRequestModel.cs b/src/WireMock.Net/Admin/Requests/LogRequestModel.cs
index 41c23e63..9b5f11fb 100644
--- a/src/WireMock.Net/Admin/Requests/LogRequestModel.cs
+++ b/src/WireMock.Net/Admin/Requests/LogRequestModel.cs
@@ -66,31 +66,5 @@ namespace WireMock.Admin.Requests
/// The body.
///
public string Body { get; set; }
-
- /*
- "id" : "45760a03-eebb-4387-ad0d-bb89b5d3d662",
- "request" : {
- "url" : "/received-request/9",
- "absoluteUrl" : "http://localhost:56715/received-request/9",
- "method" : "GET",
- "clientIp" : "127.0.0.1",
- "headers" : {
- "Connection" : "keep-alive",
- "Host" : "localhost:56715",
- "User-Agent" : "Apache-HttpClient/4.5.1 (Java/1.7.0_51)"
- },
- "cookies" : { },
- "browserProxyRequest" : false,
- "loggedDate" : 1471442494809,
- "bodyAsBase64" : "",
- "body" : "",
- "loggedDateString" : "2016-08-17T14:01:34Z"
- },
- "responseDefinition" : {
- "status" : 404,
- "transformers" : [ ],
- "fromConfiguredStub" : false,
- "transformerParameters" : { }
- }*/
}
}
\ No newline at end of file
diff --git a/src/WireMock.Net/Matchers/Request/RequestMatchResult.cs b/src/WireMock.Net/Matchers/Request/RequestMatchResult.cs
new file mode 100644
index 00000000..37c58bbd
--- /dev/null
+++ b/src/WireMock.Net/Matchers/Request/RequestMatchResult.cs
@@ -0,0 +1,32 @@
+namespace WireMock.Matchers.Request
+{
+ ///
+ /// RequestMatchResult
+ ///
+ public class RequestMatchResult
+ {
+ ///
+ /// Gets or sets the number of matches.
+ ///
+ ///
+ /// The number of matches.
+ ///
+ public int Matched { get; set; }
+
+ ///
+ /// Gets or sets the total number of matches.
+ ///
+ ///
+ /// The total number of matches.
+ ///
+ public int Total { get; set; }
+
+ ///
+ /// Gets or sets a value indicating whether this instance is perfect match.
+ ///
+ ///
+ /// true if this instance is perfect match; otherwise, false.
+ ///
+ public bool IsPerfectMatch { get; set; }
+ }
+}
\ No newline at end of file
diff --git a/src/WireMock.Net/Server/FluentMockServer.cs b/src/WireMock.Net/Server/FluentMockServer.cs
index dd367f71..9d078a0b 100644
--- a/src/WireMock.Net/Server/FluentMockServer.cs
+++ b/src/WireMock.Net/Server/FluentMockServer.cs
@@ -32,6 +32,8 @@ namespace WireMock.Server
private TimeSpan _requestProcessingDelay = TimeSpan.Zero;
+ private bool _allowPartialMapping;
+
///
/// Gets the ports.
///
@@ -261,6 +263,17 @@ namespace WireMock.Server
}
}
+ ///
+ /// Allows the partial mapping.
+ ///
+ public void AllowPartialMapping()
+ {
+ lock (_syncRoot)
+ {
+ _allowPartialMapping = true;
+ }
+ }
+
///
/// The given.
///