Package org.inthewaves.kotlinsignald.clientprotocol

Types

AutoCloseable
Link copied to clipboard
interface AutoCloseable
typealias AutoCloseable = AutoCloseable
RequestFailedException
Link copied to clipboard
common
open class RequestFailedException(responseJsonString: String?, errorBody: JsonObject?, errorType: String?, exception: String?, extraMessage: String?, cause: Throwable?) : SignaldException
An exception that is thrown if the resulting JSON can't be deserialized or the socket returns an error response.
SignaldException
Link copied to clipboard
open class SignaldException : Exception
typealias SignaldException = IOException
SocketCommunicator
Link copied to clipboard
common
interface SocketCommunicator : AutoCloseable
An interface to facilitate communication with signald socket.
SuspendSocketCommunicator
Link copied to clipboard
common
interface SuspendSocketCommunicator : AutoCloseable
An interface to facilitate communication with signald socket.

Properties

SignaldJson
Link copied to clipboard
common
val SignaldJson: Json
The Json instance used to serialize and deserialize signald requests and responses.