Show / Hide Table of Contents

Interface IHttpResponse

Data from an HTTP response (including the headers and body)

Namespace: Innovator.Client
Assembly: Innovator.Client.dll
Syntax
public interface IHttpResponse

Properties

| Improve this Doc View Source

AsStream

Gets the body as a stream.

Declaration
Stream AsStream { get; }
Property Value
Type Description
System.IO.Stream

The response body as a stream.

| Improve this Doc View Source

Headers

Gets the headers from the response

Declaration
IDictionary<string, string> Headers { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

The headers from the response.

| Improve this Doc View Source

StatusCode

Gets the status code.

Declaration
HttpStatusCode StatusCode { get; }
Property Value
Type Description
System.Net.HttpStatusCode

The status code.

Extension Methods

Extensions.AsString(IHttpResponse)
Extensions.AsXml(IHttpResponse)
  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX