IOwinResponse Interface

 

This wraps OWIN environment dictionary and provides strongly typed accessors.

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

public interface class IOwinResponse

NameDescription
System_CAPS_pubpropertyBody

Gets or sets the owin.ResponseBody Stream.

System_CAPS_pubpropertyContentLength

Gets or sets the Content-Length header.

System_CAPS_pubpropertyContentType

Gets or sets the Content-Type header.

System_CAPS_pubpropertyContext

Gets the request context.

System_CAPS_pubpropertyCookies

Gets a collection used to manipulate the Set-Cookie header.

System_CAPS_pubpropertyEnvironment

Gets the OWIN environment.

System_CAPS_pubpropertyETag

Gets or sets the E-Tag header.

System_CAPS_pubpropertyExpires

Gets or sets the Expires header.

System_CAPS_pubpropertyHeaders

Gets the response header collection.

System_CAPS_pubpropertyProtocol

Gets or sets the owin.ResponseProtocol.

System_CAPS_pubpropertyReasonPhrase

Gets or sets the the optional owin.ResponseReasonPhrase.

System_CAPS_pubpropertyStatusCode

Gets or sets the optional owin.ResponseStatusCode.

NameDescription
System_CAPS_pubmethodGet<T>(String^)

Gets a value from the OWIN environment, or returns default(T) if not present.

System_CAPS_pubmethodOnSendingHeaders(Action<Object^>^, Object^)

Registers for an event that fires when the response headers are sent.

System_CAPS_pubmethodRedirect(String^)

Sets a 302 response status code and the Location header.

System_CAPS_pubmethodSet<T>(String^, T)

Sets the given key and value in the OWIN environment.

System_CAPS_pubmethodWrite(array<Byte>^)

Writes the given bytes to the response body stream.

System_CAPS_pubmethodWrite(array<Byte>^, Int32, Int32)

Writes the given bytes to the response body stream.

System_CAPS_pubmethodWrite(String^)

Writes the given text to the response body stream using UTF-8.

System_CAPS_pubmethodWriteAsync(array<Byte>^)

Asynchronously writes the given bytes to the response body stream.

System_CAPS_pubmethodWriteAsync(array<Byte>^, CancellationToken)

Asynchronously writes the given bytes to the response body stream.

System_CAPS_pubmethodWriteAsync(array<Byte>^, Int32, Int32, CancellationToken)

Asynchronously writes the given bytes to the response body stream.

System_CAPS_pubmethodWriteAsync(String^)

Asynchronously writes the given text to the response body stream using UTF-8.

System_CAPS_pubmethodWriteAsync(String^, CancellationToken)

Asynchronously writes the given text to the response body stream using UTF-8.

NameDescription
System_CAPS_pubmethodSendFileAsync(String^)

Overloaded. Sends the given file using the SendFile extension.(Defined by SendFileResponseExtensions.)

System_CAPS_pubmethodSendFileAsync(String^, Int64, Nullable<Int64>, CancellationToken)

Overloaded. Sends the given file using the SendFile extension.(Defined by SendFileResponseExtensions.)

System_CAPS_pubmethodSupportsSendFile()

Checks if the SendFile extension is supported.(Defined by SendFileResponseExtensions.)

Return to top
Show: