Http.swift
Http.swift copied to clipboard
How to SSL?
How can we start HTTPS server?
Good question. You can check test files for that. Basically you'll need to create server with certifiatePath
which should be tuple with a path too psx file and a password.
server.run(port: 4443, certifiatePath: certPath)