2.1.1 • Published 2 years ago
@kejiweixun/proxy v2.1.1
const arg = [
{
name: ["gotlc", "gotcc"],
urls: [],
},
{
name: ["gotlg", "gotgg"],
urls: [],
},
];
const proxy = createProxy(arg);
const { gotgg, gotcc, gotlg, gotlc } = proxy;
gotll({
url: "https://httpstat.us/408",
// searchParams: { url: "https://httpstat.us/408" },
})
.then((res) => {
console.log(res.body);
})
.catch((err) => {
console.log(err.response.body);
});