Node.js v10.24.1 Documentation


HTTPS#

Stability: 2 - Stable

HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a separate module.

Class: https.Agent[src]#

An Agent object for HTTPS similar to http.Agent. See https.request() for more information.

Class: https.Server[src]#

This class is a subclass of tls.Server and emits events same as http.Server. See http.Server for more information.

server.close([callback])[src]#

See server.close() from the HTTP module for details.

server.listen()[src]#

Starts the HTTPS server listening for encrypted connections. This method is identical to server.listen() from net.Server.

server.maxHeadersCount#

See http.Server#maxHeadersCount.

server.headersTimeout#

See http.Server#headersTimeout.

server.setTimeout([msecs][, callback])[src]#

See http.Server#setTimeout().

server.timeout#

See http.Server#timeout.

server.keepAliveTimeout#