MCPcopy Create free account
hub / github.com/adonisjs/session / pullIntendedUrl

Method pullIntendedUrl

src/session.ts:647–649  ·  view source on GitHub ↗

* Returns the intended URL and removes it from the session, * or `null` if no intended URL is stored.

()

Source from the content-addressed store, hash-verified

645 * or `null` if no intended URL is stored.
646 */
647 pullIntendedUrl(): string | null {
648 return this.pull('redirect.intendedUrl', null)
649 }
650
651 /**
652 * Removes the intended URL from the session.

Callers 2

session.spec.tsFile · 0.80

Calls 1

pullMethod · 0.95

Tested by

no test coverage detected