MCPcopy Create free account
hub / github.com/Neurogram-R/Quantumult-X / send_request

Function send_request

Dualsub.js:530–536  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

528}
529
530function send_request(options) {
531 return new Promise((resolve, reject) => {
532 $task.fetch(options).then(response => {
533 resolve(options.method == "GET" ? response.body : JSON.parse(response.body))
534 })
535 })
536}
537
538function groupAgain(data, num) {
539 var result = []

Callers 2

machine_subtitlesFunction · 0.70
official_subtitlesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected