@flamescape/gaxicast
v1.0.0
Published
Use this to "broadcast" an HTTP request to all servers behind a name.
Downloads
1
Readme
Gaxicast
Use this to "broadcast" an HTTP request to all servers behind a name. Based on gaxios.
Returns an array of responses/errors from each address.
Usage Example
const request = require('@flamescape/gaxicast');
const responses = await request({
url: 'https://example.org',
rrTypes: ['A', 'AAAA'] // defaults to ['A']
// all other options same as gaxios
});
console.log(responses); // { ..., address: 'x.x.x.x' }