.NET Framework Class Library
HttpWebRequest Members

Provides an HTTP-specific implementation of the WebRequest class.

The HttpWebRequest type exposes the following members.

Constructors

  NameDescription
Protected methodHttpWebRequest Obsolete. Initializes a new instance of the HttpWebRequest class from the specified instances of the SerializationInfo and StreamingContext classes.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbortCancels a request to an Internet resource. (Overrides WebRequest..::.Abort()()().)
Public methodSupported by the .NET Compact FrameworkAddRangeOverloaded. Adds a range header to the request.
Public methodSupported by the .NET Compact FrameworkBeginGetRequestStreamBegins an asynchronous request for a Stream object to use to write data. (Overrides WebRequest..::.BeginGetRequestStream(AsyncCallback, Object).)
Public methodSupported by the .NET Compact FrameworkBeginGetResponseBegins an asynchronous request to an Internet resource. (Overrides WebRequest..::.BeginGetResponse(AsyncCallback, Object).)
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkEndGetRequestStreamOverloaded. Ends an asynchronous request for a Stream object to use to write data.
Public methodSupported by the .NET Compact FrameworkEndGetResponseEnds an asynchronous request to an Internet resource. (Overrides WebRequest..::.EndGetResponse(IAsyncResult).)
Public methodSupported by the .NET Compact FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalizeOverloaded.
Public methodSupported by the .NET Compact FrameworkGetHashCodeOverloaded.
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetObjectDataInfrastructure. Populates a SerializationInfo with the data required to serialize the target object. (Overrides WebRequest..::.GetObjectData(SerializationInfo, StreamingContext).)
Public methodSupported by the .NET Compact FrameworkGetRequestStreamOverloaded. Gets a Stream object to use to write request data.
Public methodSupported by the .NET Compact FrameworkGetResponseReturns a response from an Internet resource. (Overrides WebRequest..::.GetResponse()()().)
Public methodSupported by the .NET Compact FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseCloneOverloaded.
Public methodSupported by the .NET Compact FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkAcceptGets or sets the value of the Accept HTTP header.
Public propertySupported by the .NET Compact FrameworkAddressGets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request.
Public propertySupported by the .NET Compact FrameworkAllowAutoRedirectGets or sets a value that indicates whether the request should follow redirection responses.
Public propertySupported by the .NET Compact FrameworkAllowWriteStreamBufferingGets or sets a value that indicates whether to buffer the data sent to the Internet resource.
Public propertyAuthenticationLevelGets or sets values indicating the level of authentication and impersonation used for this request. (Inherited from WebRequest.)
Public propertySupported by the .NET Compact FrameworkAutomaticDecompressionGets or sets the type of decompression that is used.
Public propertyCachePolicyGets or sets the cache policy for this request. (Inherited from WebRequest.)
Public propertySupported by the .NET Compact FrameworkClientCertificatesGets or sets the collection of security certificates that are associated with this request.
Public propertySupported by the .NET Compact FrameworkConnectionGets or sets the value of the Connection HTTP header.
Public propertySupported by the .NET Compact FrameworkConnectionGroupNameOverloaded.
Public propertySupported by the .NET Compact FrameworkContentLengthGets or sets the Content-length HTTP header. (Overrides WebRequest..::.ContentLength.)
Public propertySupported by the .NET Compact FrameworkContentTypeGets or sets the value of the Content-type HTTP header. (Overrides WebRequest..::.ContentType.)
Public propertySupported by the .NET Compact FrameworkContinueDelegateGets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource.
Public propertyCookieContainerGets or sets the cookies associated with the request.
Public propertySupported by the .NET Compact FrameworkCredentialsGets or sets authentication information for the request. (Overrides WebRequest..::.Credentials.)
Public propertyStatic memberDefaultCachePolicyGets or sets the default cache policy for this request.
Public propertyStatic memberDefaultMaximumErrorResponseLengthGets or sets the default maximum length of an HTTP error response.
Public propertyStatic memberDefaultMaximumResponseHeadersLengthGets or sets the default for the MaximumResponseHeadersLength property.
Public propertySupported by the .NET Compact FrameworkExpectGets or sets the value of the Expect HTTP header.
Public propertySupported by the .NET Compact FrameworkHaveResponseGets a value that indicates whether a response has been received from an Internet resource.
Public propertySupported by the .NET Compact FrameworkHeadersSpecifies a collection of the name/value pairs that make up the HTTP headers. (Overrides WebRequest..::.Headers.)
Public propertySupported by the .NET Compact FrameworkIfModifiedSinceGets or sets the value of the If-Modified-Since HTTP header.
Public propertyImpersonationLevelGets or sets the impersonation level for the current request. (Inherited from WebRequest.)
Public propertySupported by the .NET Compact FrameworkKeepAliveGets or sets a value that indicates whether to make a persistent connection to the Internet resource.
Public propertySupported by the .NET Compact FrameworkMaximumAutomaticRedirectionsGets or sets the maximum number of redirects that the request follows.
Public propertyMaximumResponseHeadersLengthGets or sets the maximum allowed length of the response headers.
Public propertySupported by the .NET Compact FrameworkMediaTypeGets or sets the media type of the request.
Public propertySupported by the .NET Compact FrameworkMethodGets or sets the method for the request. (Overrides WebRequest..::.Method.)
Public propertySupported by the .NET Compact FrameworkPipelinedGets or sets a value that indicates whether to pipeline the request to the Internet resource.
Public propertySupported by the .NET Compact FrameworkPreAuthenticateGets or sets a value that indicates whether to send an authenticate header with the request. (Overrides WebRequest..::.PreAuthenticate.)
Public propertySupported by the .NET Compact FrameworkProtocolVersionGets or sets the version of HTTP to use for the request.
Public propertySupported by the .NET Compact FrameworkProxyGets or sets proxy information for the request. (Overrides WebRequest..::.Proxy.)
Public propertySupported by the .NET Compact FrameworkReadWriteTimeoutGets or sets a time-out in milliseconds when writing to or reading from a stream.
Public propertySupported by the .NET Compact FrameworkRefererGets or sets the value of the Referer HTTP header.
Public propertySupported by the .NET Compact FrameworkRequestUriGets the original Uniform Resource Identifier (URI) of the request. (Overrides WebRequest..::.RequestUri.)
Public propertySupported by the .NET Compact FrameworkSendChunkedGets or sets a value that indicates whether to send data in segments to the Internet resource.
Public propertySupported by the .NET Compact FrameworkServicePointGets the service point to use for the request.
Public propertySupported by the .NET Compact FrameworkTimeoutGets or sets the time-out value in milliseconds for the GetResponse and GetRequestStream methods. (Overrides WebRequest..::.Timeout.)
Public propertySupported by the .NET Compact FrameworkTransferEncodingGets or sets the value of the Transfer-encoding HTTP header.
Public propertyUnsafeAuthenticatedConnectionSharingGets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.
Public propertyUseDefaultCredentialsGets or sets a Boolean value that controls whether default credentials are sent with requests. (Overrides WebRequest..::.UseDefaultCredentials.)
Public propertySupported by the .NET Compact FrameworkUserAgentGets or sets the value of the User-agent HTTP header.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodISerializable..::.GetObjectDataInfrastructure. Populates a SerializationInfo with the data needed to serialize the target object.
Top
See Also

Reference

Tags :


Page view tracker