-
public interface NetworkingModule.RequestBodyHandler
Allows adding custom handling to build the RequestBody from the JS body payload.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
supports(ReadableMap map)
Returns if the handler should be used for a JS body payload. abstract RequestBody
toRequestBody(ReadableMap map, String contentType)
Returns the RequestBody for the JS body payload. -
-
Method Detail
-
supports
abstract boolean supports(ReadableMap map)
Returns if the handler should be used for a JS body payload.
-
toRequestBody
abstract RequestBody toRequestBody(ReadableMap map, String contentType)
Returns the RequestBody for the JS body payload.
-
-
-
-