submit

open override fun submit(socketCommunicator: SocketCommunicator, id: String): SubscriptionResponse

Marked as internal so tests can access. Normal API consumers should use the one-parameter overload.

Parameters

id

The id to include in the request. This is expected to be present in the response JSON

Throws

if the signald socket sends a bad or error response, or unable to serialize our request

SignaldException

if an I/O error occurs during socket communication