The HttpRequest type exposes the following members.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAccept
Gets or sets HTTP Accept header.
Public propertySupported by the .NET Compact FrameworkAddress
Gets target URI final request connects to. When redirected, this is the URI the final response is retrieved.
Public propertySupported by the .NET Compact FrameworkAllowAutoRedirect
Gets or sets a value indicating whether the request should handle redirects, if the response have sufficient information.
Public propertySupported by the .NET Compact FrameworkAllowWriteStreamBuffering
Gets or sets a value indicating whether to buffer the data sent to server.
Public propertySupported by the .NET Compact FrameworkAutomaticDecompression
Gets or sets the method(s) that can be used for automatic decompression of the response stream; Both GZip and Deflate by default.
Public propertySupported by the .NET Compact FrameworkClientCertificates
Gets or sets a collection of client certificates for the request.
Public propertySupported by the .NET Compact FrameworkConnection
Gets or sets HTTP Connection header.
Public propertySupported by the .NET Compact FrameworkConnectionGroupName
Gets or sets the name of the connection group for the request. Not supported yet.
(Overrides WebRequest..::..ConnectionGroupName.)
Public propertySupported by the .NET Compact FrameworkContentLength
Gets or sets HTTP Content-Length header.
(Overrides WebRequest..::..ContentLength.)
Public propertySupported by the .NET Compact FrameworkContentType
Gets or sets HTTP Content-Type header.
(Overrides WebRequest..::..ContentType.)
Public propertySupported by the .NET Compact FrameworkContinueTimeout
Gets or sets a timeout in milliseconds, which determines how long to wait for the '100 Continue' response from the server. If the '100 Continue' response is not received within the timeout, request body is send to the server.

Zero means no waiting.

Default value is 350.

Public propertySupported by the .NET Compact FrameworkCredentials
Get or sets network credentials to identify a user.
(Overrides WebRequest..::..Credentials.)
Public propertySupported by the .NET Compact FrameworkExpect
Gets or sets HTTP Expect header.
Public propertySupported by the .NET Compact FrameworkExpect100Continue
Gets or sets a value indicating whether to automatically add 'Expect: 100-continue' header to the request.

Default value is true.

Public propertySupported by the .NET Compact FrameworkHaveResponse
Gets a value whether the response was already received for this request.
Public propertySupported by the .NET Compact FrameworkHeaders
Get or sets a collection of HTTP headers to send with a request.
(Overrides WebRequest..::..Headers.)
Public propertySupported by the .NET Compact FrameworkIfModifiedSince
Gets or sets HTTP If-Modified-Since header.
Public propertySupported by the .NET Compact FrameworkKeepAlive
Gets or sets HTTP Connection header with proper values associated with keep alive mode.
Public propertySupported by the .NET Compact FrameworkMaximumAutomaticRedirections
Gets or sets maximum redirection attempts to complete the request.
Public propertySupported by the .NET Compact FrameworkMethod
Gets or sets HTTP method that this request uses.
(Overrides WebRequest..::..Method.)
Public propertySupported by the .NET Compact FrameworkPreAuthenticate
Indicates whether to pre-authenticate the request.
(Overrides WebRequest..::..PreAuthenticate.)
Public propertySupported by the .NET Compact FrameworkProxy Obsolete.
Public propertySupported by the .NET Compact FrameworkReferer
Gets or sets HTTP Referer header.
Public propertySupported by the .NET Compact FrameworkRequestUri
Gets original URI of the request.
(Overrides WebRequest..::..RequestUri.)
Public propertySupported by the .NET Compact FrameworkSendChunked
Gets or sets a value that indicates whether to send request content in 'chunked' mode.
Public propertySupported by the .NET Compact FrameworkTimeout
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
(Overrides WebRequest..::..Timeout.)
Public propertySupported by the .NET Compact FrameworkTransferEncoding
Public propertySupported by the .NET Compact FrameworkUserAgent
Gets or sets HTTP User-Agent header.

See Also