toggle menu
ReactAndroid
next
JVM
switch theme
search in API
ReactAndroid
/
com.facebook.react.modules.network
/
NetworkingModule
/
RequestBodyHandler
Request
Body
Handler
interface
RequestBodyHandler
Allows adding custom handling to build the
RequestBody
from the JS body payload.
Members
Functions
supports
Link copied to clipboard
abstract
fun
supports
(
map
:
ReadableMap
)
:
Boolean
Returns if the handler should be used for a JS body payload.
to
Request
Body
Link copied to clipboard
abstract
fun
toRequestBody
(
map
:
ReadableMap
,
contentType
:
String
)
:
RequestBody
Returns the
RequestBody
for the JS body payload.