Factory options for the connect gate.
const gate = createMockConnectGate({ allowCleartext: true, autoApprove: false }); Copy
const gate = createMockConnectGate({ allowCleartext: true, autoApprove: false });
Optional
Advertise connect:scheme:http / connect:scheme:ws and serve cleartext origins. Default false.
connect:scheme:http
connect:scheme:ws
false
Consent decision when approveNext has nothing queued. Default true.
approveNext
true
Factory options for the connect gate.
Example