@@ -158,9 +158,6 @@ func (c *Conn) timeoutLoop() {
158158// Context returns a context derived from parent that will be cancelled
159159// when the connection is closed or broken.
160160// If the parent context is cancelled, the connection will be closed.
161- //
162- // This is an experimental API.
163- // Please let me know how you feel about it in https://github.com/nhooyr/websocket/issues/79
164161func (c * Conn ) Context (parent context.Context ) context.Context {
165162 select {
166163 case <- c .closed :
@@ -542,9 +539,6 @@ func (c *Conn) SetReadLimit(n int64) {
542539//
543540// See the Reader method if you want to be able to reuse buffers or want to stream a message.
544541// The docs on Reader apply to this method as well.
545- //
546- // This is an experimental API, please let me know how you feel about it in
547- // https://github.com/nhooyr/websocket/issues/62
548542func (c * Conn ) Read (ctx context.Context ) (MessageType , []byte , error ) {
549543 typ , r , err := c .Reader (ctx )
550544 if err != nil {
@@ -586,9 +580,6 @@ func (c *Conn) writer(ctx context.Context, typ MessageType) (io.WriteCloser, err
586580//
587581// See the Writer method if you want to stream a message. The docs on Writer
588582// regarding concurrency also apply to this method.
589- //
590- // This is an experimental API, please let me know how you feel about it in
591- // https://github.com/nhooyr/websocket/issues/62
592583func (c * Conn ) Write (ctx context.Context , typ MessageType , p []byte ) error {
593584 err := c .write (ctx , typ , p )
594585 if err != nil {
@@ -810,9 +801,6 @@ func init() {
810801
811802// Ping sends a ping to the peer and waits for a pong.
812803// Use this to measure latency or ensure the peer is responsive.
813- //
814- // This API is experimental.
815- // Please provide feedback in https://github.com/nhooyr/websocket/issues/1.
816804func (c * Conn ) Ping (ctx context.Context ) error {
817805 err := c .ping (ctx )
818806 if err != nil {
0 commit comments