Бөлісу құралы:


IOwinRequest Interface

 

This wraps OWIN environment dictionary and provides strongly typed accessors.

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

Syntax

public interface IOwinRequest
public interface class IOwinRequest
type IOwinRequest = interface end
Public Interface IOwinRequest

Properties

Name Description
System_CAPS_pubproperty Accept

Gets or set the Accept header.

System_CAPS_pubproperty Body

Gets or set the owin.RequestBody Stream.

System_CAPS_pubproperty CacheControl

Gets or sets the Cache-Control header.

System_CAPS_pubproperty CallCancelled

Gets or sets the cancellation token for the request.

System_CAPS_pubproperty ContentType

Gets or sets the Content-Type header.

System_CAPS_pubproperty Context

Gets the request context.

System_CAPS_pubproperty Cookies

Gets the collection of Cookies for this request.

System_CAPS_pubproperty Environment

Gets the OWIN environment.

System_CAPS_pubproperty Headers

Gets the request headers.

System_CAPS_pubproperty Host

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

System_CAPS_pubproperty IsSecure

Returns true if the owin.RequestScheme is https.

System_CAPS_pubproperty LocalIpAddress

Gets or set the server.LocalIpAddress.

System_CAPS_pubproperty LocalPort

Gets or set the server.LocalPort.

System_CAPS_pubproperty MediaType

Gets or sets the Media-Type header.

System_CAPS_pubproperty Method

Gets or set the HTTP method.

System_CAPS_pubproperty Path

Gets or set the request path from owin.RequestPath.

System_CAPS_pubproperty PathBase

Gets or set the owin.RequestPathBase.

System_CAPS_pubproperty Protocol

Gets or set the owin.RequestProtocol.

System_CAPS_pubproperty Query

Gets the query value collection parsed from owin.RequestQueryString.

System_CAPS_pubproperty QueryString

Gets or set the query string from owin.RequestQueryString.

System_CAPS_pubproperty RemoteIpAddress

Gets or set the server.RemoteIpAddress.

System_CAPS_pubproperty RemotePort

Gets or set the server.RemotePort.

System_CAPS_pubproperty Scheme

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

System_CAPS_pubproperty Uri

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

System_CAPS_pubproperty User

Gets or set the server.User.

Methods

Name Description
System_CAPS_pubmethod Get<T>(String)

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

System_CAPS_pubmethod ReadFormAsync()

Asynchronously reads and parses the request body as a form.

System_CAPS_pubmethod Set<T>(String, T)

Sets the given key and value in the OWIN environment.

See Also

Microsoft.Owin Namespace

Return to top