Protocol methods, browser sessions serve 1, phone sessions 1 and computer sessions 1. A method marked not served answers StrategyUnavailable on that kind of session; check the handshake’s capabilities before relying on one.
Protocol.handshake
Browser: served
Phone: served
Computer: served
Optional, on socket open. The server does not enforce minProtocol: skew stays client-decided; unknown methods answer UnknownOp.
| Param | Type | Required | Description |
|---|---|---|---|
clientVersion | string | No | |
minProtocol | integer | No |
| Field | Type | Description |
|---|---|---|
protocolVersion | integer | |
device | DeviceInfo | |
domains | string[] | The capability-profile set this session advertises (the domain prefixes of capabilities), sorted and de-duplicated, e.g. [“Device”, “Keyboard”, “Locator”, “Protocol”, “Screen”]. |
capabilities | string[] | The exact method-name set this server answers, sorted. |