Response
The Response object is accessible after the mock is generated. This object contains response that was sent to the client. It has the following properties:
Header
A IReadOnlyDictionary<string, string>
containing response headers. Missing keys will return an empty string. To check the existence of a key, use the ContainsKey
method.
Body
A JToken
object containing response body data.