# `Opsmaru.Incus.Connection`
[🔗](https://github.com/upmaru/opsmaru-incus/blob/v0.1.0/lib/opsmaru/incus/connection.ex#L1)

Explicit immutable host-selected backend. Construction performs no I/O.

`unix!/2` requires an absolute owner-private socket. `https!/2` requires an
HTTPS origin, CA certificate file, client certificate and private-key files.
TLS verifies both trust and hostname. Secret files are opened only for an
authorized call; paths are never included in diagnostics or Inspect output.
Connections are privileged host configuration, not agent-selected URLs.

# `t`

```elixir
@type t() :: %Opsmaru.Incus.Connection{
  address: term(),
  max_chunk_bytes: term(),
  max_request_bytes: term(),
  max_response_bytes: term(),
  max_stream_bytes: term(),
  member: term(),
  owner: term(),
  project: term(),
  queue_limit: term(),
  request_context: term(),
  require_authenticated: term(),
  stream_timeout: term(),
  timeout: term(),
  tls: term(),
  transport: term()
}
```

# `https!`

# `member`

Select a native cluster member (`target`).

# `project`

Select a native project without changing any other connection.

# `unix!`

# `with_context`

Bind a local request lifetime immutably, without I/O or changing host identity.

---

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