menuTicketing

A · Acquire

Structure
Example refresh

A lock acquire request. lease is the lease time in seconds — a safety net so that if the client dies without releasing, the server reclaims the lock once this time elapses. wait is the upper bound on how long to wait to acquire (in seconds); 0 means wait indefinitely. The response is Acquired A on success, or Timeout T if the wait fails.

Byte notation: op is an ASCII character, wait and lease are binary (u16, big-endian), and key is UTF-8 text (variable-length, shown as N in the structure). The trailing \n is 0A.