mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-14 12:54:00 +01:00
WithProxy
This commit is contained in:
1 parent
7bfd9f3343
commit
2c8142b93d
5 files changed
+6
-6
No files matched your search
@@ -30,11 +30,11 @@ namespace WireMock.Net.Console.NETCoreApp
|
||||
|
||||
server
|
||||
.Given(Request.Create().WithPath("/bbc").UsingGet())
|
||||
.RespondWith(Response.Create().FromProxyUrl("http://www.bbc.com"));
|
||||
.RespondWith(Response.Create().WithProxy("http://www.bbc.com"));
|
||||
|
||||
server
|
||||
.Given(Request.Create().WithPath("/google").UsingGet())
|
||||
.RespondWith(Response.Create().FromProxyUrl("http://www.google.com"));
|
||||
.RespondWith(Response.Create().WithProxy("http://www.google.com"));
|
||||
|
||||
server
|
||||
.Given(Request.Create().WithPath(p => p.Contains("x")).UsingGet())
|
||||
|
||||
Reference in new issue
Block a user