Exemplo n.º 1
0
        /// <summary>
        /// Create a new stream between here and an endpoint
        /// </summary>
        /// <param name="connection">The other endpoint</param>
        /// <param name="streamId">The stream id</param>
        /// <param name="streamType">The type of the stream (unidirectional, bidirectional)</param>
        internal QuicStream(QuicConnection connection, VariableLengthInteger streamId, byte streamType)
        {
            StreamId = streamId.Value;

            _connection = connection;
            Type        = streamType;
        }