toggle menu
ozone
common
switch theme
search in API
ozone
/
sh.christian.ozone.api.response
/
AtpResponse
/
Success
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.
Members
Constructors
Success
Link copied to clipboard
constructor
(
response
:
T
,
headers
:
Map
<
String
,
String
>
)
Properties
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
response
Link copied to clipboard
val
response
:
T
Functions
map
Link copied to clipboard
fun
<
R
:
Any
>
map
(
transform
:
(
T
)
->
R
)
:
AtpResponse
<
R
>
maybe
Response
Link copied to clipboard
fun
maybeResponse
(
)
:
T
?
require
Response
Link copied to clipboard
fun
requireResponse
(
)
:
T