• Creates a fetch instance with a cookie jar containing the MoodleSession cookie.

    Parameters

    • base: string

      The base URL for the Moodle instance.

    • session: string

      The MoodleSession cookie value.

    Returns Promise<typeof __type>

    A fetch instance with the MoodleSession cookie set in its cookie jar.

Generated using TypeDoc