JSONObject getobj = new JSONObject();
postobj.put("url", String.format("/user"));
Log.d("Get MEthod", getobj.toString() + ">>>>>>>>>>>>>>>>>>>>Get Message " + socket.connected());
Log.d(TAG, " the meessage url " + getobj.toString());
socket.emit("get",getobj, new Ack() {
@Override
public void call(Object... args) {
JSONObject obj = (JSONObject) args[0];
Log.d("GET CHAT MEESSAGE ", obj.toString() + ">>>>>>>>>>>>>>>>>>>> with in call method Get Message " + socket.connected());
}
});
/我得到了贝娄回应\
{
"body": {
"err": "No Authorization header was found"
},
"headers": {
},
"statusCode": 401
}