OwinRequest Class

 

This wraps OWIN environment dictionary and provides strongly typed accessors.

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

System::Object
  Microsoft.Owin::OwinRequest

public ref class OwinRequest : IOwinRequest

NameDescription
System_CAPS_pubmethodOwinRequest()

Create a new context with only request and response header collections.

System_CAPS_pubmethodOwinRequest(IDictionary<String^, Object^>^)

Create a new environment wrapper exposing request properties.

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_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGet<T>(String^)

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

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

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.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: