@kejiweixun/proxy
v2.1.1
Published
```js const arg = [ { name: ["gotlc", "gotcc"], urls: [], }, { name: ["gotlg", "gotgg"], urls: [], }, ];
Downloads
5
Readme
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);
});