feat: add queryDns method
This commit is contained in:
parent
66544eaed8
commit
0ef0d1cb8e
|
@ -13,6 +13,9 @@ export class HandshakeClient extends NetworkClient {
|
|||
public async query(method: string, params: any): Promise<Response> {
|
||||
return this.callModuleReturn("query", { method, params });
|
||||
}
|
||||
public async queryDns(fqdn: string, type: string): Promise<Response> {
|
||||
return this.callModuleReturn("queryDns", { fqdn, type });
|
||||
}
|
||||
}
|
||||
|
||||
export const createClient = factory<HandshakeClient>(HandshakeClient, MODULE);
|
||||
|
|
Loading…
Reference in New Issue