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

Method send

iOS_Cookie.js:37–45  ·  view source on GitHub ↗
(t, e = "GET")

Source from the content-addressed store, hash-verified

35 }
36
37 send(t, e = "GET") {
38 t = "string" == typeof t ? {url: t} : t;
39 let s = this.get;
40 return "POST" === e && (s = this.post), new Promise((e, i) => {
41 s.call(this, t, (t, s, r) => {
42 t ? i(t) : e(s)
43 })
44 })
45 }
46
47 get(t) {
48 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