send

open suspend override fun send(options: IResolveDid.Options): IResolveDid.Response

Resolve the given DID.

  • For did:web, performs a blocking GET (on Dispatchers.IO) and returns the JSON payload as-is.

  • For did:key, decodes the multibase identifier into a Nimbus JWK and builds a minimal DID Document.

Throws

if the DID is malformed or method unsupported.

for network/parse errors that prevent resolution.