MCPcopy
hub / github.com/MetaCubeX/mihomo / quicPktConn

Struct quicPktConn

transport/hysteria/core/client.go:352–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352type quicPktConn struct {
353 Session *quic.Conn
354 Stream *wrappedQUICStream
355 CloseFunc func()
356 UDPSessionID uint32
357 MsgCh <-chan *udpMessage
358}
359
360func (c *quicPktConn) Hold() {
361 // Hold the stream until it's closed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected