code: func (c *wsConn) SetDeadline(t time.Time) error {
  	if err := c.SetReadDeadline(t); err != nil {
  		return err
  	}
  
  	return c.SetWriteDeadline(t)
  }
docs: // SetDeadline sets the read and write deadlines associated
  // with the connection. It is equivalent to calling both
  // SetReadDeadline and SetWriteDeadline.
  //
  // A deadline is an absolute time after which I/O operations
  // fail with a timeout (see type Error) instead of
  // blocking. The deadline applies to all future and pending
  // I/O, not just the immediately following call to Read or
  // Write. After a deadline has been exceeded, the connection
  // can be refreshed by setting a deadline in the future.
  //
  // An idle timeout can be implemented by repeatedly extending
  // the deadline after successful Read or Write calls.
  //
  // A zero value for t means I/O operations will not time out.