Type alias RuntimeOptions

RuntimeOptions: {
    apiKey?: string;
    networkGateway?: string;
    registry?: string | null;
}

Options used when constructing a Runtime.

Type declaration

  • Optional apiKey?: string

    An optional API key to use when sending requests to the Wasmer registry.

  • Optional networkGateway?: string

    Enable networking (i.e. TCP and UDP) via a gateway server.

  • Optional registry?: string | null

    The GraphQL endpoint for the Wasmer registry used when looking up packages.

    Defaults to "https://registry.wasmer.io/graphql".

    If null, no queries will be made to the registry.

Generated using TypeDoc