Click or drag to resize

RequestConfiguration Class

Inheritance Hierarchy
SystemObject
  DownloaderRequestConfiguration

Namespace: Downloader
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class RequestConfiguration

The RequestConfiguration type exposes the following members.

Constructors
 NameDescription
Public methodRequestConfigurationInitializes a new instance of the RequestConfiguration class
Top
Properties
 NameDescription
Public propertyAccept A String containing the value of the HTTP Accept header. The default value of this property is null. Note: For additional information see section 14.1 of IETF RFC 2616 - HTTP/1.1.
Public propertyAllowAutoRedirect Set AllowAutoRedirect to true to allow the current request to automatically follow HTTP redirection headers to the new location of a resource. Default value is true. The maximum number of redirections to follow is set by the MaximumAutomaticRedirections property.
Public propertyAuthenticationLevel Gets or sets values indicating the level of authentication and impersonation used for this request.
Public propertyAutomaticDecompression A DecompressionMethods object that indicates the type of decompression that is used. Default value is None;
Public propertyCachePolicy Gets or sets the cache policy for this request.
Public propertyClientCertificates The X509CertificateCollection that contains the security certificates associated with this request.
Public propertyConnectionGroupName When overridden in a descendant class, gets or sets the name of the connection group for the request.
Public propertyContentType The ContentType property contains the media type of the request. Values assigned to the ContentType property replace any existing contents when the request sends the Content-type HTTP header. The default value is null.
Public propertyCookieContainer Gets or sets the cookies associated with the request.
Public propertyCredentials A ICredentials object containing the authentication credentials associated with the current instance. The default is null.
Public propertyExpect A String that contains the contents of the HTTP Expect header. The default value is null. The value specified for a set operation is "100-continue". This value is case insensitive.
Public propertyHeaders When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request.
Public propertyIfModifiedSince A DateTime that contains the contents of the HTTP If-Modified-Since header. The default value is the current date and time of the system.
Remarks
Note: For additional information see section 14.25 of IETF RFC 2616 - HTTP/1.1.
Public propertyImpersonationLevel Gets or sets the impersonation level for the current request.
Public propertyKeepAlive An application uses KeepAlive to indicate a preference for persistent connections. When this property is true, the application makes persistent connections to the servers that support them.
Public propertyMaximumAutomaticRedirections A Int32 value that indicates the maximum number of redirection responses that the current instance will follow. The default value is implementation-specific. The value specified for a set operation is less than or equal to zero.
Public propertyMediaType A String that identifies the media type of the current request. The default value is null.
Public propertyPipelined An application uses this property to indicate a preference for pipelined connections. If Pipelined is true , an application makes pipelined connections to servers that support them. The default is true. Pipelined connections are made only when the property is true.
Public propertyPreAuthenticate Gets or sets a Boolean value that indicates whether to send HTTP preauthentication header information with current instance without waiting for an authentication challenge from the requested resource. true to send a HTTP WWW-authenticate header with the current instance without waiting for an authentication challenge from the requested resource; otherwise, false . The default is false .
Public propertyProtocolVersion A Version that represents the HTTP version to use for the request. The default is Version10. The class supports only versions 1.0 and 1.1 of HTTP. Setting ProtocolVersion to a different version causes a ArgumentException exception to be thrown.
Public propertyProxy The Proxy property identifies the WebProxy instance to use to communicate with the destination server. To specify that no proxy should be used, set the HttpWebRequest. Default value is null.
Public propertyReferer A String containing the value of the HTTP Referer header. The default value is null. Note: For additional information see section 14.36 of IETF RFC 2616 - HTTP/1.1.
Public propertySendChunked When System.Net.HttpWebRequest.SendChunked is true , the request sends data to the destination in segments. The destination server is required to support receiving chunked data. The default value is false. Set this property to true only if the server specified by the System.Net.HttpWebRequest. Address property of the current instance accepts chunked data (i.e. is HTTP/1.1 or greater in compliance). If the server does not accept chunked data, buffer all data to be written and send a HTTP Content-Length header with the buffered data.
Public propertyTimeout 
Public propertyTransferEncoding A String that contains the value of the HTTP Transfer-encoding header. The default value is null. Clearing TransferEncoding by setting it to null has no effect on the value of SendChunked. Values assigned to the TransferEncoding property replace any existing contents. For additional information see section 14.41 of IETF RFC 2616 - HTTP/1.1.
Public propertyUseDefaultCredentials true if the default credentials are used; otherwise, false. The default value is false. Set this property to true when requests made by this HttpWebRequest object should, if requested by the server, be authenticated using the credentials of the currently logged on user. For client applications, this is the desired behavior in most scenarios. For middle-tier applications, such as ASP.NET applications, instead of using this property, you would typically set the Credentials property to the credentials of the client on whose behalf the request is made.
Public propertyUserAgent A String containing the value of the HTTP User-agent header. The default value is "/{}".
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also