quicConnection represents the type that facilitates Proxying via QUIC streams.
| 41 | |
| 42 | // quicConnection represents the type that facilitates Proxying via QUIC streams. |
| 43 | type quicConnection struct { |
| 44 | conn cfdquic.QUICConnection |
| 45 | logger *zerolog.Logger |
| 46 | orchestrator Orchestrator |
| 47 | datagramHandler DatagramSessionHandler |
| 48 | controlStreamHandler ControlStreamHandler |
| 49 | connOptions *client.ConnectionOptionsSnapshot |
| 50 | connIndex uint8 |
| 51 | |
| 52 | rpcTimeout time.Duration |
| 53 | streamWriteTimeout time.Duration |
| 54 | gracePeriod time.Duration |
| 55 | } |
| 56 | |
| 57 | // NewTunnelConnection takes a [cfdquic.QUICConnection] to wrap it for use with cloudflared application logic. |
| 58 | func NewTunnelConnection( |
nothing calls this directly
no outgoing calls
no test coverage detected