Skip to content
Nokku LogoNokku
API Referencev1.0.0 · 174 endpoints

nokku.v1.ConnectResponse

object

At most one of `stateUpdate`, `relayOpen`, `connectionReportAck` may be set.

nokku.v1.ConnectResponse
stateUpdate?
object

StateUpdate tells a daemon what it should hold. It syncs when its own hash differs, or when this one is empty.

stateHash?
string <byte>
relayOpen?
object
relayId?
string
clientAddr?
string

The user's address as the core saw it. The daemon's sshd reports it as the remote address of the relayed connection.

connectionReportAck?
object

The core stored the report it got last.

Example

{
  "stateUpdate": {
    "stateHash": "string"
  },
  "relayOpen": {
    "relayId": "string",
    "clientAddr": "string"
  },
  "connectionReportAck": {}
}