HttpListenerRequest Members
The following tables list the members exposed by the HttpListenerRequest type.
Public Properties
Name | Description | |
---|---|---|
AcceptTypes | Gets the MIME types accepted by the client. | |
ContentLength64 | Gets the length of the body data included in the request. | |
ContentType | Gets the MIME type of the body data included in the request. | |
Credentials | Gets the user's network credentials, if the user has sent a user name and password. | |
Headers | Gets the collection of header name/value pairs sent in the request. | |
HttpMethod | Gets the HTTP method specified by the client. | |
InputStream | Gets a stream that contains the body data sent by the client. | |
IsAuthenticated | Gets a Boolean value that indicates whether the client sending this request is authenticated. | |
KeepAlive | Gets a value that indicates whether the client requests a persistent connection. | |
LocalEndPoint | Gets the server IP address and port number to which the request is directed. Not currently supported. | |
ProtocolVersion | Gets the HTTP version used by the requesting client. | |
RawUrl | Gets the URL information (without the host and port) requested by the client. | |
RemoteEndPoint | Gets the client IP address and port number from which the request originated. | |
Url | Gets the Uri object requested by the client. Not currently supported. | |
UserAgent | Gets the user agent presented by the client. | |
UserHostAddress | Gets the server IP address and port number to which the request is directed. | |
UserHostName | Gets the DNS name and, if provided, the port number specified by the client. | |
UserLanguages | Gets the natural languages that are preferred for the response. |
Public Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |