HttpProtocol constructor

HttpProtocol(
  1. Uri uri, {
  2. bool acceptBadCertificate = false,
})

Implementation

HttpProtocol(Uri uri, {bool acceptBadCertificate = false}) : super(uri) {
  _ioClient = createHttpClient(acceptBadCertificate: acceptBadCertificate);
}