示例#1
0
func (s *Server) streamHandler(stream *spdystream.Stream) {
	streamChan := s.getStreamChan(stream.Parent())
	streamChan <- stream
}
示例#2
0
func (l *ListenSession) streamHandler(stream *spdystream.Stream) {
	streamChan := l.getStreamChan(stream.Parent())
	streamChan <- stream
}
示例#3
0
func (s *StreamSession) newStreamHandler(stream *spdystream.Stream) {
	streamChan := s.getStreamChan(stream.Parent())
	streamChan <- stream
}
示例#4
0
文件: stream.go 项目: ndeloof/libchan
func (s *StreamSession) newStreamHandler(stream *spdystream.Stream) {
	stream.SendReply(http.Header{}, false)
	streamChan := s.getStreamChan(stream.Parent())
	streamChan <- stream
}
示例#5
0
func (l *ListenSession) streamHandler(stream *spdystream.Stream) {
	// TODO authorize stream
	stream.SendReply(http.Header{}, false)
	streamChan := l.getStreamChan(stream.Parent())
	streamChan <- stream
}