Sinch Node.js SDK - v1.9.0
    Preparing search index...

    Interface TransportSettings

    Transport-level settings shared by SinchClient and (later) request-level options.

    interface TransportSettings {
        timeoutSeconds?: number;
        useSinchAuth?: boolean;
    }
    Index

    Properties

    timeoutSeconds?: number

    Request/connection timeout in seconds for HTTP I/O. Default: 60. Pass 0 to disable the timeout.

    useSinchAuth?: boolean

    When true (default), the SDK authenticates the requests. Set false to disable it: whatever the authentication method (OAuth2, SMS API token, application signing), the SDK adds no authentication header and requires no credentials (e.g. custom Authorization via requestPlugins). The values used to build the URL are still required: projectId for the OAuth2 APIs, or servicePlanId and apiToken to call the SMS API on its service plan URL.