forked from quic-go/quic-go
change order of parameters in Stream constructor
This commit is contained in:
@@ -43,7 +43,7 @@ type stream struct {
|
||||
}
|
||||
|
||||
// newStream creates a new Stream
|
||||
func newStream(onData func(), flowControlManager flowcontrol.FlowControlManager, StreamID protocol.StreamID) (*stream, error) {
|
||||
func newStream(StreamID protocol.StreamID, onData func(), flowControlManager flowcontrol.FlowControlManager) (*stream, error) {
|
||||
s := &stream{
|
||||
onData: onData,
|
||||
streamID: StreamID,
|
||||
|
||||
Reference in New Issue
Block a user