Documentation
    Preparing search index...

    Interface MockConnectGateOptions

    Factory options for the connect gate.

    const gate = createMockConnectGate({ allowCleartext: true, autoApprove: false });
    
    interface MockConnectGateOptions {
        allowCleartext?: boolean;
        autoApprove?: boolean;
    }
    Index

    Properties

    allowCleartext?: boolean

    Advertise connect:scheme:http / connect:scheme:ws and serve cleartext origins. Default false.

    autoApprove?: boolean

    Consent decision when approveNext has nothing queued. Default true.