five-on-it / packages/protocol/src/police / encodeNegotiate
Function: encodeNegotiate()
encodeNegotiate(
command):string
Defined in: packages/protocol/src/police.ts:247
Serializes an answer to the negotiator as a text frame.
Parameters
command
choice
"time" | "car" | "answer" | "decline" = ...
type
"negotiate" = ...
Returns
string