TCnWebRequestHandler Class

Provides desktop-specific features not available to Windows Store apps or other environments.

Namespace: CNClrLib.Component.WebRequestHandler
TComponent
  CNClrLib.Control.Base.TClrBaseComponent
    CNClrLib.Component.WebRequestHandler.TCnWebRequestHandler
type
 TCnWebRequestHandler = class(TClrBaseComponent)
 end;

The TCnWebRequestHandler type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TCnWebRequestHandler instance. (Overrides TClrBaseComponent.Create(TComponent).)

Destroy

Frees the resources allocated with a TCnWebRequestHandler instance. (Overrides TClrBaseComponent.Destroy.)

Top
Show:
 NameDescription
AllowAutoRedirect

Gets or sets a value that indicates whether the handler should follow redirection responses.

AllowPipelining

Gets or sets a value that indicates whether to pipeline the request to the Internet resource.

AuthenticationLevel

Gets or sets a value indicating the level of authentication and impersonation used for this request.

AutomaticDecompression

Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.

CachePolicy

Gets or sets the cache policy for this request.

ClientCertificateOptions

Gets or sets a value that indicates if the certificate is automatically picked from the certificate store or if the caller is allowed to pass in a specific client certificate.

ClientCertificates

Gets or sets the collection of security certificates that are associated with this request.

ContinueTimeout

Gets or sets the amount of time, in milliseconds, the application will wait for 100-continue from the server before uploading data.

CookieContainer

Gets or sets the cookie container used to store server cookies by the handler.

Credentials

Gets or sets authentication information used by this handler.

DefaultClrObject

Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.)

ImpersonationLevel

Gets or sets the impersonation level for the current request.

MaxAutomaticRedirections

Gets or sets the maximum number of redirects that the handler follows.

MaxRequestContentBufferSize

Gets or sets the maximum request content buffer size used by the handler.

MaxResponseHeadersLength

Gets or sets the maximum allowed length of the response headers.

PreAuthenticate

Gets or sets a value that indicates whether the handler sends an Authorization header with the request.

Proxy

Gets or sets proxy information used by the handler.

ReadWriteTimeout

Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server.

ServerCertificateValidationCallback

Gets or sets a callback method to validate the server certificate.

SupportsAutomaticDecompression

Gets a value that indicates whether the handler supports automatic response content decompression.

SupportsProxy

Gets a value that indicates whether the handler supports proxy settings.

SupportsRedirectConfiguration

Gets a value that indicates whether the handler supports configuration settings for the AllowAutoRedirect and MaxAutomaticRedirections properties.

UnsafeAuthenticatedConnectionSharing

Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing.

UseCookies

Gets or sets a value that indicates whether the handler uses the CookieContainer property to store server cookies and uses these cookies when sending requests.

UseDefaultCredentials

Gets or sets a value that controls whether default credentials are sent with requests by the handler.

UseProxy

Gets or sets a value that indicates whether the handler uses a proxy for requests.

Top
Show:
 NameDescription
Dispose

Releases the resources used by the Component. (Inherited from TClrBaseComponent.)

DoGetDefaultClrObject

Represents method DoGetDefaultClrObject. (Overrides TClrBaseComponent.DoGetDefaultClrObject.)

DoGetDotNetBaseComponent

Represents method DoGetDotNetBaseComponent. (Overrides TClrBaseComponent.DoGetDotNetBaseComponent.)

GetClrObject

Represents method GetClrObject. (Inherited from TClrBaseComponent.)

Notification(TComponent,TOperation)

Represents method Notification(TComponent,TOperation).

RegisterEventCallBack(ClrWString,Pointer)

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.)

RegisterEventSource

Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.)

UnRegisterEventCallBack(ClrWString,Pointer)

Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.)

UnRegisterEventSource

Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.)

Top

See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.