FindLogEntries and refactored some code (#34)

This commit is contained in:
Stef Heyenrath
2017-06-17 09:18:38 +02:00
parent 65ac8c6462
commit f38c24e8c4
14 changed files with 28 additions and 273 deletions

View File

@@ -131,5 +131,12 @@ namespace WireMock.Client
/// <param name="guid">The Guid</param>
[Delete("__admin/requests/{guid}")]
Task<string> DeleteRequestAsync([Path] Guid guid);
/// <summary>
/// Find a request based on the criteria
/// </summary>
/// <param name="model">The RequestModel</param>
[Post("__admin/requests/find")]
Task<IList<LogRequestModel>> FindRequestsAsync([Body] RequestModel model);
}
}