toggle menu
ReactAndroid
next
JVM
switch theme
search in API
ReactAndroid
/
com.facebook.react.modules.network
/
NetworkingModule
/
ResponseHandler
Response
Handler
interface
ResponseHandler
Allows adding custom handling to build the JS body payload from the
ResponseBody
.
Members
Functions
supports
Link copied to clipboard
abstract
fun
supports
(
responseType
:
String
)
:
Boolean
Returns if the handler should be used for a response type.
to
Response
Data
Link copied to clipboard
abstract
fun
toResponseData
(
body
:
ResponseBody
)
:
WritableMap
Returns the JS body payload for the
ResponseBody
.