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)
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
var server1 = FluentMockServer.Start(port: 8443, ssl: true);
var server1 = WireMockServer.Start(port: 8443, ssl: true);
// or like this
var server2 = FluentMockServer.Start(new FluentMockServerSettings
var server2 = WireMockServer.Start(new FluentMockServerSettings
{
Urls = new[] { "http://localhost:9091", "https://localhost:9443" }
});