resolveAddress

js
suspend fun resolveAddress(partial: <ERROR CLASS>): <ERROR CLASS>

Resolve a partial JsonAddress with only a number or UUID to one with both. Anywhere that signald accepts a JsonAddress will accept a partial; this is a convenience function for client authors, mostly because signald doesn't resolve all the partials it returns.

Throws

RequestFailedException

if signald sends an error response or the incoming message is invalid

SignaldException

if the request to the socket fails

synchronousClient
fun resolveAddress(partial: JsonAddress): JsonAddress

Resolve a partial JsonAddress with only a number or UUID to one with both. Anywhere that signald accepts a JsonAddress will accept a partial; this is a convenience function for client authors, mostly because signald doesn't resolve all the partials it returns.

Throws

org.inthewaves.kotlinsignald.clientprotocol.RequestFailedException

if signald sends an error response or the incoming message is invalid

org.inthewaves.kotlinsignald.clientprotocol.SignaldException

if the request to the socket fails