-
public interface NetworkingModule.ResponseHandlerAllows adding custom handling to build the JS body payload from the ResponseBody.
-
-
Method Summary
Modifier and Type Method Description abstract booleansupports(String responseType)Returns if the handler should be used for a response type. abstract WritableMaptoResponseData(ResponseBody body)Returns the JS body payload for the ResponseBody. -
-
Method Detail
-
supports
abstract boolean supports(String responseType)
Returns if the handler should be used for a response type.
-
toResponseData
abstract WritableMap toResponseData(ResponseBody body)
Returns the JS body payload for the ResponseBody.
-
-
-
-