@tauri-apps/plugin-http - v2.5.1
    Preparing search index...

    @tauri-apps/plugin-http - v2.5.1

    Make HTTP requests with the Rust backend.

    This API has a scope configuration that forces you to restrict the URLs that can be accessed using glob patterns.

    For instance, this scope configuration only allows making HTTP requests to all subdomains for tauri.app except for https://private.tauri.app:

    {
    "permissions": [
    {
    "identifier": "http:default",
    "allow": [{ "url": "https://*.tauri.app" }],
    "deny": [{ "url": "https://private.tauri.app" }]
    }
    ]
    }

    Trying to execute any API with a URL not configured on the scope results in a promise rejection due to denied access.

    Interfaces

    Proxy
    ProxyConfig
    ClientOptions
    DangerousSettings

    Functions

    fetch