Documentation
    Preparing search index...

    Interface NappletCspOptions

    Host policy for a verified napplet's CSP, separate from its signed manifest.

    interface NappletCspOptions {
        connectOrigins?: readonly string[];
        directives?: Readonly<
            Partial<Record<NappletCspDirective, readonly string[]>>,
        >;
    }
    Index

    Properties

    connectOrigins?: readonly string[]

    Explicit HTTP(S)/WS(S) origins granted direct connections; defaults to none.

    directives?: Readonly<Partial<Record<NappletCspDirective, readonly string[]>>>

    Source-list replacements. connect-src may only narrow the explicit grants.