TElHTTPSServer provides server-side functionality for HTTPS protocol.
TElHTTPSServer is used to add SSL/TLS support to server
side of HTTP connection (the server side is the side which accepts connections
initiated by clients).
To accept a connection, call
When TElHTTPSServer receives client's requests, it fires
OnRequestBodyReceived events, correspondingly.
To send the server's response, use methods
When there are encrypted data to be sent to the socket, TElHTTPSServer will
When TElHTTPSServer needs data from the socket, it fires
When incoming data were processed,
OnData event is
fired. If you use non-blocking mode, you can use
method to tell TElHTTPSServer that there are some data in the socket which can be
By default, TElHTTPSServer is allowed to work using all SSL/TLS versions and all cipher suites. You can disable or enable some of the versions using SSLVersions property.
TElHTTPSServer starts to act as a Web Socket server automatically when it receives an appropriate request from a client. In this case, OnBeforeWebSocketServerUsed is called, followed by OnWebSocketConnectionEstablished when a WS connection has been established.
To use this class in the development and distribution of your software projects, you need to purchase one of the following licenses: