Function updateSessionConfig

  • Updates configuration of an existing active session.

    Parameters

    • payload: {
          apiEndpoint: string | URL;
          apiToken: string;
          maxSurbUpstream: string;
          responseBuffer: string;
          sessionId: string;
          timeout?: number;
      }
      • apiEndpoint: string | URL

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • maxSurbUpstream: string
      • responseBuffer: string
      • sessionId: string
      • Optional timeout?: number

        optional timeout for the requests

    Returns Promise<boolean>