IOwinRequest Interface

 

This wraps OWIN environment dictionary and provides strongly typed accessors.

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

public interface class IOwinRequest

NameDescription
System_CAPS_pubpropertyAccept

Gets or set the Accept header.

System_CAPS_pubpropertyBody

Gets or set the owin.RequestBody Stream.

System_CAPS_pubpropertyCacheControl

Gets or sets the Cache-Control header.

System_CAPS_pubpropertyCallCancelled

Gets or sets the cancellation token for the request.

System_CAPS_pubpropertyContentType

Gets or sets the Content-Type header.

System_CAPS_pubpropertyContext

Gets the request context.

System_CAPS_pubpropertyCookies

Gets the collection of Cookies for this request.

System_CAPS_pubpropertyEnvironment

Gets the OWIN environment.

System_CAPS_pubpropertyHeaders

Gets the request headers.

System_CAPS_pubpropertyHost

Gets or set the Host header. May include the port.

System_CAPS_pubpropertyIsSecure

Returns true if the owin.RequestScheme is https.

System_CAPS_pubpropertyLocalIpAddress

Gets or set the server.LocalIpAddress.

System_CAPS_pubpropertyLocalPort

Gets or set the server.LocalPort.

System_CAPS_pubpropertyMediaType

Gets or sets the Media-Type header.

System_CAPS_pubpropertyMethod

Gets or set the HTTP method.

System_CAPS_pubpropertyPath

Gets or set the request path from owin.RequestPath.

System_CAPS_pubpropertyPathBase

Gets or set the owin.RequestPathBase.

System_CAPS_pubpropertyProtocol

Gets or set the owin.RequestProtocol.

System_CAPS_pubpropertyQuery

Gets the query value collection parsed from owin.RequestQueryString.

System_CAPS_pubpropertyQueryString

Gets or set the query string from owin.RequestQueryString.

System_CAPS_pubpropertyRemoteIpAddress

Gets or set the server.RemoteIpAddress.

System_CAPS_pubpropertyRemotePort

Gets or set the server.RemotePort.

System_CAPS_pubpropertyScheme

Gets or set the HTTP request scheme from owin.RequestScheme.

System_CAPS_pubpropertyUri

Gets the uniform resource identifier (URI) associated with the request.

System_CAPS_pubpropertyUser

Gets or set the server.User.

NameDescription
System_CAPS_pubmethodGet<T>(String^)

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

System_CAPS_pubmethodReadFormAsync()

Asynchronously reads and parses the request body as a form.

System_CAPS_pubmethodSet<T>(String^, T)

Sets the given key and value in the OWIN environment.

Return to top
Show: