loopbackSecure static method
Future<HttpServer>
loopbackSecure(
- int port,
- SecurityContext context,
- {int backlog = 0,
- bool v6Only = false,
- bool requestClientCertificate = false,
Like loopback, but supports HTTPS requests.
Implementation
static Future<HttpServer> loopbackSecure(int port, SecurityContext context,
{int backlog = 0,
bool v6Only = false,
bool requestClientCertificate = false,
bool shared = false}) {
return _loopback(
port,
(address, port) => HttpServer.bindSecure(address, port, context,
backlog: backlog,
v6Only: v6Only,
shared: shared,
requestClientCertificate: requestClientCertificate));
}