is Successful Response

private fun isSuccessfulResponse(response: JSONObject?): SocketManager.StandardResponseCode

Method to get whether the request has been successful or not

Return

whether the request has been successful or not as StandardResponseCode

Parameters

response

The response of the request