Show / Hide Table of Contents

Class ResponseInfo

A serialization friendly wrapper around HttpResponseMessage

Inheritance
Object
ResponseInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: FakeHttp
Assembly: FakeHttp.dll
Syntax
public sealed class ResponseInfo

Properties

| Improve this Doc View Source

BaseUri

The host and path of the request that originally created this response

Declaration
public string BaseUri { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

ContentFileName

The name of the associated serialized content file

Declaration
public string ContentFileName { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

ContentHeaders

The content headers

Declaration
public Dictionary<string, IEnumerable<string>> ContentHeaders { get; set; }
Property Value
Type Description
Dictionary<String, IEnumerable<String>>
| Improve this Doc View Source

HttpVersion

Version
Declaration
public Version HttpVersion { get; set; }
Property Value
Type Description
Version
| Improve this Doc View Source

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
| Improve this Doc View Source

ResponseHeaders

The response headers

Declaration
public Dictionary<string, IEnumerable<string>> ResponseHeaders { get; set; }
Property Value
Type Description
Dictionary<String, IEnumerable<String>>
| Improve this Doc View Source

StatusCode

The response status code

Declaration
public HttpStatusCode StatusCode { get; set; }
Property Value
Type Description
HttpStatusCode
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX