TCnHttpListener Class
Provides a simple, programmatically controlled HTTP protocol listener.
type TCnHttpListener = class(TClrBaseComponent) end;
The TCnHttpListener type exposes the following members.
Name | Description | |
---|---|---|
Create(TComponent) | Creates and initializes a TCnHttpListener instance. (Overrides TClrBaseComponent.Create(TComponent).) | |
Destroy | Frees the resources allocated with a TCnHttpListener instance. (Overrides TClrBaseComponent.Destroy.) |
Name | Description | |
---|---|---|
AuthenticationSchemes | Gets or sets the scheme used to authenticate clients. | |
AuthenticationSchemeSelectorDelegate | Gets or sets the delegate called to determine the protocol used to authenticate clients. | |
DefaultClrObject | Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.) | |
DefaultServiceNames | Gets a default list of Service Provider Names (SPNs) as determined by registered prefixes. | |
ExtendedProtectionPolicy | Get or set the ExtendedProtectionPolicy to use for extended protection for a session. | |
ExtendedProtectionSelectorDelegate | Get or set the delegate called to determine the ExtendedProtectionPolicy to use for each request. | |
HttpListenerPrefixes | Gets the Uniform Resource Identifier (URI) prefixes handled by this HttpListener object. | |
IgnoreWriteExceptions | Gets or sets a Boolean value that specifies whether your application receives exceptions that occur when an HttpListener sends the response to the client. | |
IsListening | Gets a value that indicates whether HttpListener has been started. | |
Prefixes | Gets the Uniform Resource Identifier (URI) prefixes handled by this HttpListener object. | |
Realm | Gets or sets the realm, or resource partition, associated with this HttpListener object. | |
TimeoutManager | The timeout manager for this HttpListener instance. | |
UnsafeConnectionNtlmAuthentication | Gets or sets a Boolean value that controls whether, when NTLM is used, additional requests using the same Transmission Control Protocol (TCP) connection are required to authenticate. |
Name | Description | |
---|---|---|
Abort | Shuts down the HttpListener object immediately, discarding all currently queued requests. | |
BeginGetContext(_AsyncCallback,Olevariant) | Begins asynchronously retrieving an incoming request. | |
Close | Shuts down the HttpListener. | |
Dispose | Releases the resources used by the Component. (Inherited from TClrBaseComponent.) | |
DoGetDefaultClrObject | Represents method | |
DoGetDotNetBaseComponent | Represents method | |
EndGetContext(_IAsyncResult) | Completes an asynchronous operation to retrieve an incoming client request. | |
GetClrObject | Represents method | |
GetContext | Waits for an incoming request and returns when one is received. | |
GetContextAsync | Waits for an incoming request as an asynchronous operation. | |
IsSupported | Gets a value that indicates whether TCnHttpListener can be used with the current operating system. | |
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.) | |
Start | Allows this instance to receive incoming requests. | |
Stop | Causes this instance to stop receiving incoming requests. | |
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.) |