UDXStream constructor

UDXStream(
  1. UDX udx,
  2. int id, {
  3. StreamType streamType = StreamType.bidirectional,
  4. bool framed = false,
  5. int initialSeq = 0,
  6. bool firewall(
    1. UDPSocket socket,
    2. int port,
    3. String host
    )?,
  7. int? initialCwnd,
  8. bool isInitiator = false,
})

Creates a new UDX stream

Implementation

UDXStream(
  this.udx,
  this.id, {
  this.streamType = StreamType.bidirectional,
  this.framed = false,
  this.initialSeq = 0,
  this.firewall,
  int? initialCwnd,
  this.isInitiator = false,
});