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 | |
---|---|---|
Body | Gets or sets the body of the Stream. | |
ContentLength | Gets or sets the content returned by the request. | |
ContentType | Gets or sets the content type of the output stream. | |
Context | Gets the context for the IOwinContext. | |
Cookies | Gets the ResponseCookieCollection. | |
Environment | Gets the fully qualified path of the current working directory. | |
ETag | Gets or sets an ETag that identifies a version of the file. | |
Expires | Gets or sets the duration before the response expires. | |
Headers | Gets a collection of headers. | |
Protocol | Gets or sets the information about a protocol. | |
ReasonPhrase | Gets or sets the reason phrase, which typically is sent by servers. | |
StatusCode | Gets or sets the OWIN status code of the output returned to the client. |
Top
Methods
Name | Description | |
---|---|---|
Get<T> | Gets the list of the OWIN response. | |
OnSendingHeaders | Adds the response headers. | |
Redirect | Redirects a response from the specified location. | |
Set<T> | Returns a new set with the elements of the second set removed from the first. | |
Write(array<Byte[]) | Writes the date contained in the given array to the file. | |
Write(String) | Writes the date contained in the given array to the file. | |
Write(array<Byte[], Int32, Int32) | Writes the date contained in the given array to the file. | |
WriteAsync(array<Byte[]) | Writes information to a response asynchronously. | |
WriteAsync(String) | Writes information to a response asynchronously. | |
WriteAsync(array<Byte[], CancellationToken) | Writes information to a response asynchronously. | |
WriteAsync(String, CancellationToken) | Writes information to a response asynchronously. | |
WriteAsync(array<Byte[], Int32, Int32, CancellationToken) | Writes information to a response asynchronously. |
Top