HttpListenerRequest Properties |
The HttpListenerRequest type exposes the following members.
Name | Description | |
---|---|---|
AcceptTypes |
Gets the media types that are acceptable for the client.
| |
ClientCertificateError |
Gets an error code that identifies a problem with the certificate
provided by the client.
| |
ContentEncoding |
Gets the encoding for the entity body data included in the request.
| |
ContentLength64 |
Gets the length in bytes of the entity body data included in the
request.
| |
ContentType |
Gets the media type of the entity body data included in the request.
| |
Cookies |
Gets the cookies included in the request.
| |
HasEntityBody |
Gets a value indicating whether the request has the entity body data.
| |
Headers |
Gets the headers included in the request.
| |
HttpMethod |
Gets the HTTP method specified by the client.
| |
InputStream |
Gets a stream that contains the entity body data included in
the request.
| |
IsAuthenticated |
Gets a value indicating whether the client is authenticated.
| |
IsLocal |
Gets a value indicating whether the request is sent from the local
computer.
| |
IsSecureConnection |
Gets a value indicating whether a secure connection is used to send
the request.
| |
IsWebSocketRequest |
Gets a value indicating whether the request is a WebSocket handshake
request.
| |
KeepAlive |
Gets a value indicating whether a persistent connection is requested.
| |
LocalEndPoint |
Gets the endpoint to which the request is sent.
| |
ProtocolVersion |
Gets the HTTP version specified by the client.
| |
QueryString |
Gets the query string included in the request.
| |
RawUrl |
Gets the raw URL specified by the client.
| |
RemoteEndPoint |
Gets the endpoint from which the request is sent.
| |
RequestTraceIdentifier |
Gets the trace identifier of the request.
| |
Url |
Gets the URL requested by the client.
| |
UrlReferrer |
Gets the URI of the resource from which the requested URL was obtained.
| |
UserAgent |
Gets the user agent from which the request is originated.
| |
UserHostAddress |
Gets the IP address and port number to which the request is sent.
| |
UserHostName |
Gets the server host name requested by the client.
| |
UserLanguages |
Gets the natural languages that are acceptable for the client.
|