TROIndyHTTPChannel

From RemObjects Software

Jump to: navigation, search

This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.



Overview

TROIndyHTTPChannel implements an HTTP based channel that uses the HTTP implementation provided by the open source Indy components that ship with Delphi.

File

  • uROIndyHTTPChannel

Declaration

TROIndyHTTPChannel = class(TROCustomIndyTCPChannel, IROTransport, IROTCPTransport, IROHTTPTransport);

Hierarchy

Properties

Property
Type
Description
IndyClient Provides direct access to the underlying Indy implementation. You can use this property to control advanced settings on the Indy object. The available properties and settings depend on the version of Indy you are using.
KeepAlive Boolean Controls whether to use HTTP Keep-Alive to keep the connection alive between requests.

If enabled (true) , once a request is made and a connection is established, this connection is kept open and used for future requests.
If disabled, the connection is closed, and a new connection is created for future requests.
Since establishing a connection is - relatively speaking - a costly and resource intensive operation for the network, compared to sending small amounts of data, it is recommended to keep this option enabled for optimal performance, if requests to the server are done relatively frequently.
For Keep-Alive to work, the option must be supported and enabled on both client and server.

TargetURL String The address of the server. By default, this is usually the host name of your server, followed by 8099, plus the name of the dispatcher configured on the server; for example: http://myserver:8099/bin.


See Also


Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools