remove Session.SendFrames

This commit is contained in:
Lucas Clemente
2016-04-18 14:10:22 +02:00
parent e9967e990a
commit dc4e3c73e4
2 changed files with 3 additions and 14 deletions

View File

@@ -205,17 +205,6 @@ func (s *Session) handleRstStreamFrame(r *bytes.Reader) error {
return nil
}
// SendFrames sends a number of frames to the client
func (s *Session) SendFrames(frames []frames.Frame) error {
for _, f := range frames {
err := s.SendFrame(f)
if err != nil {
return err
}
}
return nil
}
// SendFrame sends a frame to the client
func (s *Session) SendFrame(frame frames.Frame) error {
streamframe, ok := frame.(*frames.StreamFrame)