# `ExCEP.Transport.ConnectionParams`

Connection parameters for CEP Gateway clients and Cluster servers.

# `channel`

```elixir
@type channel() :: :management | :business
```

# `compress_mode`

```elixir
@type compress_mode() :: :auto | true | false
```

# `t`

```elixir
@type t() :: %ExCEP.Transport.ConnectionParams{
  channel: channel(),
  cipher: {module(), keyword()} | nil,
  compat: ExCEP.Compat.t(),
  compress: compress_mode(),
  compress_threshold_bytes: non_neg_integer(),
  connect_timeout_ms: pos_integer(),
  gateway_id: String.t() | nil,
  gateway_name: String.t() | nil,
  heartbeat_interval_ms: pos_integer(),
  heartbeat_timeout_ms: pos_integer(),
  host: String.t() | :inet.ip_address() | nil,
  local_ip: :inet.ip_address() | String.t() | nil,
  port: :inet.port_number() | nil,
  request_timeout_ms: pos_integer(),
  require_auth: boolean(),
  sign_control: boolean(),
  signer: {module(), term()} | nil,
  tls_options: keyword() | nil
}
```

# `new`

```elixir
@spec new(keyword()) :: t()
```

Builds `%ConnectionParams{}` with defaults from `ExCEP.Config`.

---

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