MCPcopy Create free account
hub / github.com/EvoMap/evolver / _post

Function _post

src/atp/hubClient.js:149–154  ·  view source on GitHub ↗
(proxyPath, hubPath, body, timeoutMs)

Source from the content-addressed store, hash-verified

147// proxyPath is the path relative to proxy root (e.g. '/atp/order').
148// hubPath is the path relative to hub root (e.g. '/a2a/atp/order').
149function _post(proxyPath, hubPath, body, timeoutMs) {
150 if (_isProxyMode() && getProxyUrl()) {
151 return _proxyRequest('POST', proxyPath, body, timeoutMs);
152 }
153 return _hubPost(hubPath, body, timeoutMs);
154}
155
156function _get(proxyPath, hubPath, timeoutMs) {
157 if (_isProxyMode() && getProxyUrl()) {

Callers 5

placeOrderFunction · 0.85
submitDeliveryFunction · 0.85
verifyDeliveryFunction · 0.85
settleOrderFunction · 0.85
disputeOrderFunction · 0.85

Calls 4

_isProxyModeFunction · 0.85
getProxyUrlFunction · 0.85
_proxyRequestFunction · 0.85
_hubPostFunction · 0.85

Tested by

no test coverage detected