Example : WireMock.Net.StandAlone.Net461 (#104)

This commit is contained in:
Stef Heyenrath
2018-03-08 18:28:53 +01:00
parent 9b5a482b8d
commit 3e634c2fde
7 changed files with 194 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
using System;
using WireMock.RequestBuilders;
using WireMock.ResponseBuilders;
namespace WireMock.Net.StandAlone.Net461
{
static class Program
{
static void Main(string[] args)
{
var server = StandAloneApp.Start(args);
server.Given(Request.Create())
.RespondWith(Response.Create().WithProxy("http://10.10.66.65"));
Console.WriteLine("Press any key to stop the server");
Console.ReadKey();
}
}
}