internal static SpdyStream Open( SynStream synStream, ConcurrentPriorityQueue <Frame> sendingPriorityQueue) { var stream = new SpdyStream(synStream, sendingPriorityQueue); stream.Open(); return(stream); }
internal static SpdyStream Accept( SynStream synStream, ConcurrentPriorityQueue <Frame> sendingPriorityQueue, NameValueHeaderBlock?headers = default) { var stream = new SpdyStream(synStream, sendingPriorityQueue); stream.Accept(headers); return(stream); }