Context Connection
Information about the incoming connection, available as .connection.
Properties
id
string
The connection UUID, distinct from the session ID.
transport
string
Incoming transport: ssh or http.
remote
The requesting username and direct peer IP address.
http
object
Present for HTTP and null for SSH:
| Property | Meaning |
|---|---|
.connection.http.host |
Incoming HTTP hostname, without its port. |
.connection.http.slug |
Selected slug, case-sensitive; empty for the root. |