Create a loopback echo network bound to a granted origin list.
Granted origins (e.g. ConnectServeResult.origins).
ConnectServeResult.origins
The network double.
const served = createMockConnectGate().serve({ dTag: 'a', connectOrigins: ['https://api.example.org'] });const net = createMockLoopbackNetwork(served.origins); Copy
const served = createMockConnectGate().serve({ dTag: 'a', connectOrigins: ['https://api.example.org'] });const net = createMockLoopbackNetwork(served.origins);
Create a loopback echo network bound to a granted origin list.