OwinRequest Class
This wraps OWIN environment dictionary and provides strongly typed accessors.
Inheritance Hierarchy
System.Object
Microsoft.Owin.OwinRequest
Namespace: Microsoft.Owin
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Public Class OwinRequest _
Implements IOwinRequest
'Usage
Dim instance As OwinRequest
public class OwinRequest : IOwinRequest
public ref class OwinRequest : IOwinRequest
type OwinRequest =
class
interface IOwinRequest
end
public class OwinRequest implements IOwinRequest
The OwinRequest type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
OwinRequest() | Create a new context with only request and response header collections. |
![]() |
OwinRequest(IDictionary<String, Object>) | Initializes a new instance of the OwinRequest class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Accept | The Accept header |
![]() |
Body | Gets or sets the body for this request. |
![]() |
CacheControl | The Cache-Control header |
![]() |
CallCancelled | owin.CallCancelled |
![]() |
ContentType | The Content-Type header |
![]() |
Context | |
![]() |
Cookies | The Cookie header parsed into a collection |
![]() |
Environment | Gets the environment associated with the request. |
![]() |
Headers | owin.RequestHeaders in a wrapper |
![]() |
Host | Gets or sets the host header value to use in an OWIN request. |
![]() |
IsSecure | Gets a value indicating whether OWIN connection uses secure sockets. |
![]() |
LocalIpAddress | server.LocalIpAddress |
![]() |
LocalPort | server.LocalPort |
![]() |
MediaType | The Media-Type header |
![]() |
Method | Gets or sets the method for the request. |
![]() |
Path | Gets or sets the virtual path of the current request. |
![]() |
PathBase | Gets or sets the route path to the OWIN request. |
![]() |
Protocol | owin.RequestProtocol |
![]() |
Query | owin.RequestQueryString parsed into a collection |
![]() |
QueryString | Gets the collection of HTTP query string variables. |
![]() |
RemoteIpAddress | server.RemoteIpAddress |
![]() |
RemotePort | server.RemotePort |
![]() |
Scheme | Gets or sets the scheme name for this request. |
![]() |
Uri | Gets the information about the URI of the current request. |
![]() |
User | Gets or sets the user name for this request. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
Get<T> | Gets a specified OWIN request. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ReadFormAsync | Parses the request body as a form |
![]() |
Set<T> | Sets the specified request. |
![]() |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.