introduce StreamID type

This commit is contained in:
Marten Seemann
2016-04-16 23:51:01 +07:00
parent 3e59ede7a7
commit 66b52e915d
4 changed files with 11 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ func handleStream(frame *frames.StreamFrame) []frames.Frame {
}
dataStreamFrame := &frames.StreamFrame{
StreamID: h2frame.Header().StreamID,
StreamID: protocol.StreamID(h2frame.Header().StreamID),
Data: []byte("Hello World!"),
FinBit: true,
}