mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 01:44:16 +00:00
feat: support requestID auto append in agent websocket
This commit is contained in:
parent
0dba1fe49a
commit
f2ae920f6a
@ -22,9 +22,11 @@ public abstract class ResultCallback {
|
||||
public Channel getChannel() {
|
||||
return channel;
|
||||
}
|
||||
public void onResult(Map<?,?> object){
|
||||
|
||||
public void onResult(Map object) {
|
||||
onResult(JsonUtil.toJson(object));
|
||||
}
|
||||
|
||||
public void onResult(JsonObject jo) {
|
||||
onResult(jo.toString());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user