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 SourceAsStream
Gets the body as a stream.
Declaration
Stream AsStream { get; }
Property Value
Type | Description |
---|---|
System.IO.Stream | The response body as a stream. |
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. |
StatusCode
Gets the status code.
Declaration
HttpStatusCode StatusCode { get; }
Property Value
Type | Description |
---|---|
System.Net.HttpStatusCode | The status code. |