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

Method pullIntendedUrl

src/session.ts:686–688  ·  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

684 * or `null` if no intended URL is stored.
685 */
686 pullIntendedUrl(): string | null {
687 return this.pull('redirect.intendedUrl', null)
688 }
689
690 /**
691 * 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