MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / service_get_bytes

Function service_get_bytes

packages/server/src/main/service_client.rs:5–7  ·  view source on GitHub ↗
(server_url: &str, path: &str)

Source from the content-addressed store, hash-verified

3}
4
5fn service_get_bytes(server_url: &str, path: &str) -> anyhow::Result<Vec<u8>> {
6 http_request(server_url, "GET", path, None)
7}
8
9fn service_post_bytes(server_url: &str, path: &str, body: &Value) -> anyhow::Result<Vec<u8>> {
10 http_request(server_url, "POST", path, Some(body))

Callers 3

mainFunction · 0.85
run_maestro_commandFunction · 0.85

Calls 1

http_requestFunction · 0.85

Tested by

no test coverage detected