Success

data class Success<T : Any>(val response: T, val headers: Map<String, String>) : AtpResponse<T>

A successful XRPC operation that returned a valid response.

Constructors

Link copied to clipboard
constructor(response: T, headers: Map<String, String>)

Properties

Link copied to clipboard
Link copied to clipboard
val response: T

Functions

Link copied to clipboard
fun <R : Any> map(transform: (T) -> R): AtpResponse<R>
Link copied to clipboard
Link copied to clipboard