TROIndyHTTPServer
From RemObjects Software
This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.
Overview
TROIndyHTTPServer implements an HTTP based server that uses the HTTP implementation provided by the open source Indy components that ship with Delphi.
File
- uROIndyHTTPServer
Declaration
TROIndyHTTPServer = class(TROCustomIndyTCPServer);
Hierarchy
- TROCustomIndyTCPServer
- TROIndyHTTPServer
Properties
| | | |
|---|---|---|
| IndyServer | TROIdHTTPServer | 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. |
| Port | Integer | The network socket where the server will be listening (default for RemObjects SDK HTTP servers is 8099). |
| SendExceptionsAs500 | Boolean | Determines whether exception messages will be sent back using a HTTP "500" error code (true, default), or a standard "200" message code (false). Some proxy servers might perform special handling on 500 error messages that will prevent exception messages sent back as 500 to be recognized properly. If you are seeing this problem, try setting this property to false. If not, it is recommended that you keep the default value. |
| ServeInfoPage | Boolean | Allows the HTTP server to serve up a page with human-readable information about the server when being accessed from a web browser.
This information page will contain details about the registered dispatchers and the documentation for the Services. |
| ServeRodl | Boolean | Permits the HTTP server to make its RODL file available to clients (true, default) or not.
Keep this property set to true if clients need to access the RODL (or WSDL), e.g. so that third parties (including Service Tester) can import Services. Set it to false if you do not want to provide this information, e.g. for security reasons. |
See Also
Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)
Lists — Glossary — Features — How To — Components — Tools — Samples — Articles — Architecture — Issues
Categories: Text | RemObjects SDK | Architecture | Class | Delphi
