HTTPS with SSL Certificate in DART HTTP Server

Does the HTTP server support Dart HTTPS? If so, how do you specify the certificate? If not, are there alternatives like community-created packages?

+7
dart
source share
1 answer

Yes. Dart supports https.

See the documentation here and the test here .

Matching lines:

HttpServer.bindSecure(HOST_NAME, 0, backlog: 5, certificateName: 'localhost_cert').then((server) { 
+8
source

All Articles