mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-23 09:18:55 +02:00
Updated Settings (markdown)
12
Settings.md
12
Settings.md
@@ -1,5 +1,5 @@
|
|||||||
# FluentMockServerSettings
|
# FluentMockServerSettings
|
||||||
The interface [IFluentMockServerSettings.cs](https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net/Settings/IFluentMockServerSettings.cs) defines the configuration from the WireMock.Net server.
|
The interface [IWireMockServerSettings.cs](https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net/Settings/IWireMockServerSettings.cs) defines the configuration from the WireMock.Net server.
|
||||||
|
|
||||||
### Port
|
### Port
|
||||||
The port to listen on.
|
The port to listen on.
|
||||||
@@ -73,6 +73,16 @@ The StartTimeout from WireMock.Net, default 10 seconds.
|
|||||||
Defines if the matching should be done with exact matching or partial matching. **Partial matching** means that the best matching mapping is used for a input request. In case this setting is set to null or false, only **Exact matching** is done. This means that only when an exact 100% match is found for an input request, the response is handled. Else you get a error (404).
|
Defines if the matching should be done with exact matching or partial matching. **Partial matching** means that the best matching mapping is used for a input request. In case this setting is set to null or false, only **Exact matching** is done. This means that only when an exact 100% match is found for an input request, the response is handled. Else you get a error (404).
|
||||||
This setting is default set to false.
|
This setting is default set to false.
|
||||||
|
|
||||||
|
### AllowCSharpCodeMatcher
|
||||||
|
Allow the usage of CSharpCodeMatcher (default is not allowed).
|
||||||
|
|
||||||
|
### AllowBodyForAllHttpMethods
|
||||||
|
Allow a Body for all HTTP Methods. (default set to false).
|
||||||
|
|
||||||
|
### AllowAnyHttpStatusCodeInResponse
|
||||||
|
Allow any HttpStatusCode in the response. Also null, 0, empty or invalid. (default set to false).
|
||||||
|
_Note : this will not work when hosting a Docker container in Azure_
|
||||||
|
|
||||||
### AdminUsername
|
### AdminUsername
|
||||||
The username needed for __admin access.
|
The username needed for __admin access.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user