Class ResponseInfo
A serialization friendly wrapper around HttpResponseMessage
Inherited Members
Namespace: FakeHttp
Assembly: FakeHttp.dll
Syntax
public sealed class ResponseInfo
Properties
| Improve this Doc View SourceBaseUri
The host and path of the request that originally created this response
Declaration
public string BaseUri { get; set; }
Property Value
Type | Description |
---|---|
String |
ContentFileName
The name of the associated serialized content file
Declaration
public string ContentFileName { get; set; }
Property Value
Type | Description |
---|---|
String |
ContentHeaders
The content headers
Declaration
public Dictionary<string, IEnumerable<string>> ContentHeaders { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<String, IEnumerable<String>> |
HttpVersion
Declaration
public Version HttpVersion { get; set; }
Property Value
Type | Description |
---|---|
Version |
Query
The query string from the request that generated the response (used to key the response for future reference)
Declaration
public string Query { get; set; }
Property Value
Type | Description |
---|---|
String |
ResponseHeaders
The response headers
Declaration
public Dictionary<string, IEnumerable<string>> ResponseHeaders { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<String, IEnumerable<String>> |
StatusCode
The response status code
Declaration
public HttpStatusCode StatusCode { get; set; }
Property Value
Type | Description |
---|---|
HttpStatusCode |