forked from quic-go/quic-go
convert Connection interface to Conn struct (#5195)
This commit is contained in:
@@ -62,7 +62,7 @@ func (e *StreamError) Error() string {
|
||||
return fmt.Sprintf("stream %d canceled by %s with error code %d", e.StreamID, pers, e.ErrorCode)
|
||||
}
|
||||
|
||||
// DatagramTooLargeError is returned from Connection.SendDatagram if the payload is too large to be sent.
|
||||
// DatagramTooLargeError is returned from Conn.SendDatagram if the payload is too large to be sent.
|
||||
type DatagramTooLargeError struct {
|
||||
MaxDatagramPayloadSize int64
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user