Updated Using HTTPS (SSL) (markdown)

Stef Heyenrath
2020-01-25 09:45:54 +01:00
parent b170076268
commit 28b143dd40

@@ -1,11 +1,11 @@
### HTTP (SSL) ### HTTP (SSL)
You can start a standalone mock server listening for HTTPS requests. To do so, there is just a flag to set when creating the server: You can start a standalone mock server listening for HTTPS requests. To do so, there is just a flag to set when creating the server:
```csharp ```csharp
var server1 = FluentMockServer.Start(port: 8443, ssl: true); var server1 = WireMockServer.Start(port: 8443, ssl: true);
// or like this // or like this
var server2 = FluentMockServer.Start(new FluentMockServerSettings var server2 = WireMockServer.Start(new FluentMockServerSettings
{ {
Urls = new[] { "http://localhost:9091", "https://localhost:9443" } Urls = new[] { "http://localhost:9091", "https://localhost:9443" }
}); });