-
public interface NetworkingModule.RequestBodyHandlerAllows adding custom handling to build the RequestBody from the JS body payload.
-
-
Method Summary
Modifier and Type Method Description abstract booleansupports(ReadableMap map)Returns if the handler should be used for a JS body payload. abstract RequestBodytoRequestBody(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.
-
-
-
-