submit

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.

Throws

if an I/O error occurs during socket communication