mirror of
https://gitee.com/BDWare/common
synced 2026-01-27 07:49:30 +00:00
feat: support requestID auto append in agent websocket
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user