SecureSocketOpenSslSync.clientFromSocket constructor

SecureSocketOpenSslSync.clientFromSocket(
  1. RawSynchronousSocket socket, {
  2. bool eagerHandshake = true,
  3. String? cryptoPath,
  4. String? sslPath,
})

Implementation

factory SecureSocketOpenSslSync.clientFromSocket(
  io.RawSynchronousSocket socket, {
  bool eagerHandshake = true,
  String? cryptoPath,
  String? sslPath,
}) =>
    SecureSocketOpenSslSync._(
        socket: socket,
        isServer: false,
        eagerHandshake: eagerHandshake,
        cryptoPath: cryptoPath,
        sslPath: sslPath);