add BASIC Auth (#22)

This commit is contained in:
Stef Heyenrath
2017-02-10 20:04:06 +01:00
parent ba86d81a17
commit bb35f55bbb
4 changed files with 58 additions and 18 deletions

View File

@@ -19,6 +19,8 @@ namespace WireMock.Net.ConsoleApplication
var server = FluentMockServer.StartWithAdminInterface(url1, url2, url3);
Console.WriteLine("FluentMockServer listening at {0}", string.Join(" and ", server.Urls));
server.SetBasicAuthentication("a", "b");
server.AllowPartialMapping();
server