DatagramConn is the bridge that multiplexes writes and reads of datagrams for UDP sessions and ICMP packets to a connection.
| 30 | // DatagramConn is the bridge that multiplexes writes and reads of datagrams for UDP sessions and ICMP packets to |
| 31 | // a connection. |
| 32 | type DatagramConn interface { |
| 33 | DatagramUDPWriter |
| 34 | DatagramICMPWriter |
| 35 | // Serve provides a server interface to process and handle incoming QUIC datagrams and demux their datagram v3 payloads. |
| 36 | Serve(context.Context) error |
| 37 | // ID indicates connection index identifier |
| 38 | ID() uint8 |
| 39 | } |
| 40 | |
| 41 | // DatagramUDPWriter provides the Muxer interface to create proper UDP Datagrams when sending over a connection. |
| 42 | type DatagramUDPWriter interface { |
no outgoing calls
no test coverage detected