(conn *Conn, config *QUICConfig)
| 186 | } |
| 187 | |
| 188 | func newQUICConn(conn *Conn, config *QUICConfig) *QUICConn { |
| 189 | conn.quic = &quicState{ |
| 190 | signalc: make(chan struct{}), |
| 191 | blockedc: make(chan struct{}), |
| 192 | enableSessionEvents: config.EnableSessionEvents, |
| 193 | } |
| 194 | conn.quic.events = conn.quic.eventArr[:0] |
| 195 | return &QUICConn{ |
| 196 | conn: conn, |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | // Start starts the client or server handshake protocol. |
| 201 | // It may produce connection events, which may be read with [QUICConn.NextEvent]. |
no outgoing calls
no test coverage detected
searching dependent graphs…