GetProfileRequest

data class GetProfileRequest(account: String, async: Boolean?, address: JsonAddress) : SignaldRequestBodyV1<Profile>

Get all information available about a user

Constructors

GetProfileRequest
Link copied to clipboard
common
fun GetProfileRequest(account: String, async: Boolean? = null, address: JsonAddress)

Functions

submit
Link copied to clipboard
common
fun submit(socketCommunicator: SocketCommunicator): Profile
submitSuspend
Link copied to clipboard
common
suspend fun submitSuspend(socketCommunicator: SuspendSocketCommunicator): Profile

Properties

account
Link copied to clipboard
common
val account: String
the signald account to use
address
Link copied to clipboard
common
val address: JsonAddress
the address to look up
async
Link copied to clipboard
common
val async: Boolean? = null
if true, return results from local store immediately, refreshing from server in the background if needed.
id
Link copied to clipboard
common
val id: String
The id to include in the request.
version
Link copied to clipboard
common
val version: String
The version to include in the request.