Implement "/__admin/requests"

This commit is contained in:
Stef Heyenrath
2017-01-26 12:00:30 +01:00
parent 1bf543a91e
commit a334974bef
30 changed files with 319 additions and 104 deletions

View File

@@ -17,15 +17,20 @@ namespace WireMock
/// </summary>
public string Url { get; private set; }
/// <summary>
/// Gets the DateTime.
/// </summary>
public DateTime DateTime { get; set; }
/// <summary>
/// Gets the path.
/// </summary>
public string Path { get; }
/// <summary>
/// Gets the verb.
/// Gets the method.
/// </summary>
public string Verb { get; }
public string Method { get; }
/// <summary>
/// Gets the headers.
@@ -68,7 +73,7 @@ namespace WireMock
Url = url.ToString();
Path = url.AbsolutePath;
Verb = verb.ToLower();
Method = verb.ToLower();
BodyAsBytes = bodyAsBytes;
Body = body;
Headers = headers;