GitHub

Server-Side Hooks

useSession

Retrieve the AdonisJS SessionContract exported from @ioc:Adonis/Addons/Session.

Server


Usage

import { useSession } from '@microeinhundert/radonis'


const session = useSession()
Previous
useRouter