From ac8c9fcdb00be2a55d3ea1359a14336b1cb2a6ef Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Tue, 29 Oct 2019 19:04:38 +0100 Subject: [PATCH] Updated Settings (markdown) --- Settings.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Settings.md b/Settings.md index de345b5..b584150 100644 --- a/Settings.md +++ b/Settings.md @@ -40,12 +40,12 @@ var server = FluentMockServer.Start(new FluentMockServerSettings ``` Where -* Url = The url to proxy to -* SaveMapping = Save the mapping for each request/response to the internal Mappings -* SaveMappingToFile = Save the mapping for each request/response to also file. (Note that SaveMapping must also be set to true.) -* SaveMappingForStatusCodePattern = Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.) The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported. -* BlackListedHeaders = Defines a list from headers which will excluded from the saved mappings. -* ClientX509Certificate2ThumbprintOrSubjectName = The clientCertificate thumbprint or subject name fragment to use. +* `Url` = The url to proxy to +* `SaveMapping` = Save the mapping for each request/response to the internal Mappings +* `SaveMappingToFile` = Save the mapping for each request/response to also file. (Note that SaveMapping must also be set to true.) +* `SaveMappingForStatusCodePattern` = Only save request/response to the internal Mappings if the status code is included in this pattern. (Note that SaveMapping must also be set to true.) The pattern can contain a single value like "200", but also ranges like "2xx", "100,300,600" or "100-299,6xx" are supported. +* `BlackListedHeaders` = Defines a list from headers which will excluded from the saved mappings. +* `ClientX509Certificate2ThumbprintOrSubjectName` = The clientCertificate thumbprint or subject name fragment to use. ### Example: When you a request like `localhost:9095/earth/story/20170510-terrifying-20m-tall-rogue-waves-are-actually-real`, this request is proxied to the `bbc.com` and the mapping definition is saved to `__admin\mappings\ab38efae-4e4d-4f20-8afe-635533ec2535.json`.