MCPcopy Index your code
hub / github.com/chain/Core / create

Method create

sdk/java/src/main/java/com/chain/http/Client.java:143–145  ·  view source on GitHub ↗
(Response response, Gson deserializer)

Source from the content-addressed store, hash-verified

141 ResponseCreator<T> rc =
142 new ResponseCreator<T>() {
143 public T create(Response response, Gson deserializer) throws IOException {
144 return deserializer.fromJson(response.body().charStream(), tClass);
145 }
146 };
147 return post(action, body, rc);
148 }

Callers

nothing calls this directly

Calls 6

errorsMethod · 0.95
successesMethod · 0.95
responseMethod · 0.95
fromJsonMethod · 0.80
sizeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected