stream.go 247 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package libp2pquic

import (
	smux "github.com/libp2p/go-stream-muxer"
	"github.com/lucas-clemente/quic-go"
)

type stream struct {
	quic.Stream
}

var _ smux.Stream = &stream{}

func (s *stream) Reset() error {
	s.Stream.Reset(nil)
	return nil
}