is Successful Response

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

Function 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