# `BaileysEx.Connection.Transport.MintWebSocket`
[🔗](https://github.com/jeffhuen/baileys_ex/blob/main/lib/baileys_ex/connection/transport/mint_web_socket.ex#L1)

Mint-backed WebSocket transport for the connection socket.

Defaults the WebSocket HTTP transport to HTTP/1.1 so the WhatsApp socket
matches Baileys' `ws` client behavior instead of attempting Mint's HTTP/2
extended CONNECT path.

# `phase`

```elixir
@type phase() :: :upgrade_pending | :open
```

# `t`

```elixir
@type t() :: %BaileysEx.Connection.Transport.MintWebSocket{
  adapter: module(),
  conn: term(),
  phase: phase(),
  request_ref: term(),
  response_headers: list(),
  status: non_neg_integer() | nil,
  websocket: term() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
