INNER CODE UNIT · TypeScript
Child
xiangsx/gpt4free-ts · model/airoom/index.ts:33
class Child extends ComChild<Account> {
public client: AxiosInstance;
public page?: Page;
constructor(label: string, info: any, options?: ChildOptions) {
super(label, info, options);
this.client = CreateAxiosProxy(
{
baseURL: 'https://packdir.com',
headers: {
Referer: 'https://airoom.chat/',
},
},
true,
);
}
async init(): Promise<void> {