HttpWebRequest Properties

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

The HttpWebRequest type exposes the following members.

  Name Description
Public property Accept Gets or sets the value of the Accept HTTP header.
Public property Address Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request.
Public property AllowAutoRedirect Gets or sets a value that indicates whether the request should follow redirection responses.
Public property AllowWriteStreamBuffering Gets or sets a value that indicates whether to buffer the data sent to the Internet resource.
Public property ConnectionGroupName When overridden in a descendant class, gets or sets the name of the connection group for the request. (Inherited from WebRequest.)
Public property ContentLength Gets or sets the Content-length HTTP header. (Overrides WebRequest..::..ContentLength.)
Public property ContentType Gets or sets the value of the Content-type HTTP header. (Overrides WebRequest..::..ContentType.)
Public property ContinueDelegate Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource.
Public property Credentials Gets or sets authentication information for the request.
Public property Static member DefaultMaximumResponseHeadersLength Gets or sets the default for the MaximumResponseHeadersLength property.
Public property Expect Gets or sets the value of the Expect HTTP header.
Public property HaveResponse Gets a value that indicates whether a response has been received from an Internet resource.
Public property Headers Specifies a collection of the name/value pairs that make up the HTTP headers. (Overrides WebRequest..::..Headers.)
Public property HttpsAuthentCerts Gets or sets the array of certificates used to authenticate HTTPS servers.
Public property IfModifiedSince Gets or sets the value of the If-Modified-Since HTTP header.
Public property KeepAlive Gets or sets a value that indicates whether to make a persistent connection to the Internet resource.
Public property MaximumAutomaticRedirections Gets or sets the maximum number of redirects that the request follows.
Public property MaximumResponseHeadersLength Gets or sets the maximum allowed length of the response headers.
Public property Method Gets or sets the method for the request. (Overrides WebRequest..::..Method.)
Public property ProtocolVersion Gets or sets the version of HTTP to use for the request.
Public property Proxy Gets or sets proxy information for the request. (Overrides WebRequest..::..Proxy.)
Public property ReadWriteTimeout Gets or sets a time-out in milliseconds when writing to or reading from a stream.
Public property Referer Gets or sets the value of the Referer HTTP header.
Public property RequestUri Gets the original Uniform Resource Identifier (URI) of the request. (Overrides WebRequest..::..RequestUri.)
Public property SendChunked Gets or sets a value that indicates whether to send data in segments to the Internet resource.
Public property Timeout Gets or sets the time-out value in milliseconds for the GetResponse and GetRequestStream methods. (Overrides WebRequest..::..Timeout.)
Public property TransferEncoding Gets or sets the value of the Transfer-encoding HTTP header.
Public property UserAgent Gets or sets the value of the User-agent HTTP header.
Top
Show: