update docs to reflect that we support RFC 9221 (Unreliable Datagrams) (#3382)

This commit is contained in:
Marten Seemann
2022-04-25 12:10:51 +01:00
committed by GitHub
parent 21eda36971
commit d5961e9d60
4 changed files with 7 additions and 10 deletions

View File

@@ -191,11 +191,9 @@ type Connection interface {
// Warning: This API should not be considered stable and might change soon.
ConnectionState() ConnectionState
// SendMessage sends a message as a datagram.
// See https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/.
// SendMessage sends a message as a datagram, as specified in RFC 9221.
SendMessage([]byte) error
// ReceiveMessage gets a message received in a datagram.
// See https://datatracker.ietf.org/doc/draft-pauly-quic-datagram/.
// ReceiveMessage gets a message received in a datagram, as specified in RFC 9221.
ReceiveMessage() ([]byte, error)
}