code: func ConnectWebsocketSession(opts *DialOptions) (*WebsocketSession, error) {
  	cfg := config.New()
  	cfg.Websocket.HandshakeTimeout = opts.Timeout
  	cfg.Websocket.ReadBufferSize = opts.ReadBufferSize
  	cfg.Websocket.WriteBufferSize = opts.WriteBufferSize
  
  	return DialWebsocket(opts.BaseURL, cfg)
  }
docs: // ConnectWebsocketSession dials the remote specified in the opts and
  // creates new websocket session.
  //
  // Deprecated: Use DialWebsocket instead.