Share via


Request Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the HttpListenerRequest that represents a client's request for a resource.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Public ReadOnly Property Request As HttpListenerRequest
public HttpListenerRequest Request { get; }
public:
property HttpListenerRequest^ Request {
    HttpListenerRequest^ get ();
}
member Request : HttpListenerRequest with get
function get Request () : HttpListenerRequest

Property Value

Type: System.Net. . :: . .HttpListenerRequest
An HttpListenerRequest object that represents the client request.

Remarks

If you close this HttpListenerContext, it will send the response to the client, close the HttpListenerResponse that contains the response, and close the HttpListenerRequest object returned by this property.

.NET Framework Security

See Also

Reference

HttpListenerContext Class

System.Net Namespace