Documentation ¶
Index ¶
- Variables
- func NewClient(config *protocol.Protocol_Quic) point.WrapProxy
- func NewFragFrame(t FragType, id uint64, total, current uint8, payload []byte) fragFrame
- func NewFragFrameBytesBuffer(t FragType, id uint64, total, current uint8, payload []byte) *pool.Bytes
- func NewServer(c *listener.Inbound_Quic) (netapi.Listener, error)
- type Client
- type ConnectionPacketConn
- type Frag
- type FragType
- type MergeFrag
- type QuicAddr
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxDatagramFrameSize int64 = 1200 - 3
https://github.com/quic-go/quic-go/blob/49e588a6a9905446e49d382d78115e6e960b1144/internal/protocol/params.go#L134 the minium depend on DataLenPresent, the minium need minus 3 see: https://github.com/quic-go/quic-go/blob/1e874896cd39adc02663be4d77ade701b333df5a/internal/wire/datagram_frame.go#L62
Functions ¶
func NewFragFrame ¶ added in v0.3.3
func NewFragFrameBytesBuffer ¶ added in v0.3.3
Types ¶
type Client ¶
type Client struct { netapi.EmptyDispatch // contains filtered or unexported fields }
func (*Client) PacketConn ¶
type ConnectionPacketConn ¶
type ConnectionPacketConn struct {
// contains filtered or unexported fields
}
func NewConnectionPacketConn ¶
func NewConnectionPacketConn(conn quic.Connection) *ConnectionPacketConn
func (*ConnectionPacketConn) Context ¶ added in v0.3.3
func (c *ConnectionPacketConn) Context() context.Context
Click to show internal directories.
Click to hide internal directories.