Share via


IOwinResponse Interface

Represents an OWIN response.

Namespace:  Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

'Declaration
Public Interface IOwinResponse
'Usage
Dim instance As IOwinResponse
public interface IOwinResponse
public interface class IOwinResponse
type IOwinResponse =  interface end
public interface IOwinResponse

The IOwinResponse type exposes the following members.

Properties

  Name Description
Public property Body Gets or sets the body of the Stream.
Public property ContentLength Gets or sets the content returned by the request.
Public property ContentType Gets or sets the content type of the output stream.
Public property Context Gets the context for the IOwinContext.
Public property Cookies Gets the ResponseCookieCollection.
Public property Environment Gets the fully qualified path of the current working directory.
Public property ETag Gets or sets an ETag that identifies a version of the file.
Public property Expires Gets or sets the duration before the response expires.
Public property Headers Gets a collection of headers.
Public property Protocol Gets or sets the information about a protocol.
Public property ReasonPhrase Gets or sets the reason phrase, which typically is sent by servers.
Public property StatusCode Gets or sets the OWIN status code of the output returned to the client.

Top

Methods

  Name Description
Public method Get<T> Gets the list of the OWIN response.
Public method OnSendingHeaders Adds the response headers.
Public method Redirect Redirects a response from the specified location.
Public method Set<T> Returns a new set with the elements of the second set removed from the first.
Public method Write(array<Byte[]) Writes the date contained in the given array to the file.
Public method Write(String) Writes the date contained in the given array to the file.
Public method Write(array<Byte[], Int32, Int32) Writes the date contained in the given array to the file.
Public method WriteAsync(array<Byte[]) Writes information to a response asynchronously.
Public method WriteAsync(String) Writes information to a response asynchronously.
Public method WriteAsync(array<Byte[], CancellationToken) Writes information to a response asynchronously.
Public method WriteAsync(String, CancellationToken) Writes information to a response asynchronously.
Public method WriteAsync(array<Byte[], Int32, Int32, CancellationToken) Writes information to a response asynchronously.

Top

See Also

Reference

Microsoft.Owin Namespace