MCPcopy Create free account
hub / github.com/Q16G/memory-shell / createCommandRequest

Method createCommandRequest

src/main/java/org/example/tlv.java:180–182  ·  view source on GitHub ↗
(String cmd)

Source from the content-addressed store, hash-verified

178
179 // 工具方法:创建命令执行请求
180 public static Request createCommandRequest(String cmd) {
181 return new Request(TYPE_COMMAND, cmd.getBytes(StandardCharsets.UTF_8));
182 }
183
184 // 工具方法:创建心跳请求
185 public static Request createHeartbeatRequest() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected