fix(api): return the final result of pairing (#5680)

This commit is contained in:
Dave Lane authored and GitHub committed 2026-09-10 21:57:23 -04:00
1 parent 9051ae84c3
commit ffd1212170
5 files changed
+183 -25

No files matched your search

+5 -1
View File
@@ -1775,7 +1775,11 @@ namespace confighttp {
}
/**
* @brief Send a PIN code to the explicitly selected pairing request.
* @brief Submit a PIN and return whether the selected client completes pairing.
*
* The request remains open for up to the configured `ping_timeout` while
* Moonlight completes the cryptographic handshake. A wrong PIN, protocol
* failure, cancellation, or timeout returns `{"status":false}`.
* The body for the post request should be JSON serialized in the following format:
* @code{.json}
* {