Node.js · Function
createServer
Creates an HTTPS server with TLS settings and an optional request handler. It returns an https.Server that can listen for secure HTTP connections.
Last updated
- Since
- v0.3.4
Syntax
https.createServer(options?, requestListener?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
https.Servertls.createServer()tls.createSecureContext()http.createServer()https.get()https.request()