submit

common
abstract fun submit(request: String): String

Sends the request to the socket as a single line of JSON (line terminated with \n), and returns the JSON response from signald.