createClient

suspend fun createClient(errorListener: XrpcErrorListener? = null): XrpcClient

Creates an authenticated XrpcClient from the persisted session. The client uses DpopAuthProvider for DPoP proof-of-possession on every request.

Parameters

errorListener

Passed to the client: told about every call that finally fails, after any DPoP retry. See XrpcErrorListener.