Function getSessionConfig

  • Gets configuration of an existing active session.

    Parameters

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

        The API endpoint for authentication.

      • apiToken: string

        The API token for authentication.

      • sessionId: string
      • Optional timeout?: number

        optional timeout for the requests

    Returns Promise<{
        maxSurbUpstream: string;
        responseBuffer: string;
    }>