MCPcopy Create free account
hub / github.com/Toulu-debug/enen / send

Method send

sendNotify.js:826–834  ·  view source on GitHub ↗
(t, e = "GET")

Source from the content-addressed store, hash-verified

824 }
825
826 send(t, e = "GET") {
827 t = "string" == typeof t ? {url: t} : t;
828 let s = this.get;
829 return "POST" === e && (s = this.post), new Promise((e, i) => {
830 s.call(this, t, (t, s, r) => {
831 t ? i(t) : e(s)
832 })
833 })
834 }
835
836 get(t) {
837 return this.send.call(this.env, t)

Callers

nothing calls this directly

Calls 2

iFunction · 0.50
eFunction · 0.50

Tested by

no test coverage detected