## Index

### Functions

- fastParse
- fresh
- originalUrl
- parseUrl

## Functions

### Private fastParse

- fastParse(str: string): ParsedURL

- - Defined in home/runner/work/opine/opine/src/utils/parseUrl.ts:99

  Parse the `str` url with fast-path short-cut.

  #### Parameters

  - ##### str: string

  #### Returns ParsedURL

### Private fresh

- fresh(url: string, parsedUrl: ParsedURL | undefined): boolean

- - Defined in home/runner/work/opine/opine/src/utils/parseUrl.ts:156

  Determine if parsed is still fresh for url.

  #### Parameters

  - ##### url: string

  - ##### parsedUrl: ParsedURL | undefined

  #### Returns boolean

### originalUrl

- originalUrl(req: OpineRequest): ParsedURL | undefined

- - Defined in home/runner/work/opine/opine/src/utils/parseUrl.ts:70

  Parse the `req` original url with fallback and memoization.

  #### Parameters

  - ##### req: OpineRequest

  #### Returns ParsedURL | undefined

### parseUrl

- parseUrl(req: OpineRequest): ParsedURL | undefined

- - Defined in home/runner/work/opine/opine/src/utils/parseUrl.ts:41

  Parse the `req` url with memoization.

  #### Parameters

  - ##### req: OpineRequest

  #### Returns ParsedURL | undefined

Generated using TypeDoc