mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-25 10:31:01 +01:00
Updated Stubbing (markdown)
@@ -78,7 +78,7 @@ var customerReadRequests = server.SearchLogsFor(
|
||||
## Simulating delays
|
||||
A server can be configured with a global delay that will be applied to all requests. To do so you need to call method WireMockServer.AddRequestProcessingDelay() as below:
|
||||
```csharp
|
||||
var server = FluentMockServer.Start();
|
||||
var server = WireMockServer.Start();
|
||||
|
||||
// add a delay of 30 seconds for all requests
|
||||
server.AddRequestProcessingDelay(TimeSpan.FromSeconds(30));
|
||||
|
||||
Reference in New Issue
Block a user