forked from quic-go/quic-go
remove warning comments of stable implementation (#3399)
This commit is contained in:
@@ -127,7 +127,6 @@ type SendStream interface {
|
|||||||
// The Context is canceled as soon as the write-side of the stream is closed.
|
// The Context is canceled as soon as the write-side of the stream is closed.
|
||||||
// This happens when Close() or CancelWrite() is called, or when the peer
|
// This happens when Close() or CancelWrite() is called, or when the peer
|
||||||
// cancels the read-side of their stream.
|
// cancels the read-side of their stream.
|
||||||
// Warning: This API should not be considered stable and might change soon.
|
|
||||||
Context() context.Context
|
Context() context.Context
|
||||||
// SetWriteDeadline sets the deadline for future Write calls
|
// SetWriteDeadline sets the deadline for future Write calls
|
||||||
// and any currently-blocked Write call.
|
// and any currently-blocked Write call.
|
||||||
@@ -184,7 +183,6 @@ type Connection interface {
|
|||||||
// The error string will be sent to the peer.
|
// The error string will be sent to the peer.
|
||||||
CloseWithError(ApplicationErrorCode, string) error
|
CloseWithError(ApplicationErrorCode, string) error
|
||||||
// The context is cancelled when the connection is closed.
|
// The context is cancelled when the connection is closed.
|
||||||
// Warning: This API should not be considered stable and might change soon.
|
|
||||||
Context() context.Context
|
Context() context.Context
|
||||||
// ConnectionState returns basic details about the QUIC connection.
|
// ConnectionState returns basic details about the QUIC connection.
|
||||||
// It blocks until the handshake completes.
|
// It blocks until the handshake completes.
|
||||||
@@ -216,7 +214,6 @@ type EarlyConnection interface {
|
|||||||
type Config struct {
|
type Config struct {
|
||||||
// The QUIC versions that can be negotiated.
|
// The QUIC versions that can be negotiated.
|
||||||
// If not set, it uses all versions available.
|
// If not set, it uses all versions available.
|
||||||
// Warning: This API should not be considered stable and will change soon.
|
|
||||||
Versions []VersionNumber
|
Versions []VersionNumber
|
||||||
// The length of the connection ID in bytes.
|
// The length of the connection ID in bytes.
|
||||||
// It can be 0, or any value between 4 and 18.
|
// It can be 0, or any value between 4 and 18.
|
||||||
|
|||||||
Reference in New Issue
Block a user