createStream method

UDXStream createStream(
  1. int id, {
  2. bool framed = false,
  3. int initialSeq = 0,
})

Creates a new UDX stream.

id - The stream ID. framed - If true, the stream will use framed mode. initialSeq - The initial sequence number. firewall - Optional firewall function.

Implementation

UDXStream createStream(
  int id, {
  bool framed = false,
  int initialSeq = 0,
}) {
  return UDXStream(
    this,
    id,
    framed: framed,
    initialSeq: initialSeq,
  );
}