-
public interface NetworkingModule.ResponseHandler
Allows adding custom handling to build the JS body payload from the ResponseBody.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
supports(String responseType)
Returns if the handler should be used for a response type. abstract WritableMap
toResponseData(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.
-
-
-
-