Update standalone commandline parsing (#27)

This commit is contained in:
Stef Heyenrath
2017-05-13 10:10:17 +02:00
parent 4ada6d3567
commit 961e8b555f
11 changed files with 85 additions and 31 deletions

View File

@@ -8,13 +8,17 @@ namespace WireMock.Net.Console.NETCoreApp
{
static void Main(params string[] args)
{
string url1 = "http://localhost:9095/";
string url = "http://localhost:9095/";
var server = FluentMockServer.Start(new FluentMockServerSettings
{
Urls = new[] { url1 },
Urls = new[] { url },
StartAdminInterface = true,
ProxyAndRecordSettings = new ProxyAndRecordSettings { Url = "http://www.bbc.com" }
ProxyAndRecordSettings = new ProxyAndRecordSettings
{
Url = "http://www.bbc.com",
SaveMapping = true
}
});
System.Console.WriteLine("Press any key to stop the server");