HttpConn constructor

HttpConn({
  1. num? rid,
  2. Future<RequestEvent?> nextRequest()?,
  3. void close()?,
})

Implementation

factory HttpConn({
  _i2.num? rid,
  _i2.Future<_i4.RequestEvent?> Function()? nextRequest,
  void Function()? close,
}) =>
    HttpConn._(
      rid: rid,
      nextRequest: nextRequest == null ? null : _i3.allowInterop(nextRequest),
      close: close == null ? null : _i3.allowInterop(close),
    );