Optionaloptions: BunWayOptionsProtected_ProtectedchildrenProtectederrorProtectedfastProtectedmiddlewaresProtectedparamProtectedprefixProtectedrouterProtectedroutesProtectedwsOptionalcallback: () => voidProtectedgetProtectedgetProtectedgetProtectedgetOptionalserver: Server<unknown>ProtectedhandleInternal handle method for child router delegation - avoids creating new Request/URL objects
Optionalserver: Server<unknown>OptionalparentParams: Record<string, string>OptionalbaseUrl: stringOptionalerrorBubble: (err: unknown, req: BunRequest, res: BunResponse) => Promise<Response>Optionalport: numberOptionalcallback: () => voidOptionaloptions: ListenOptionsOptionalcallback: () => voidReturns the canonical path of the app, based on mountpath. Express compat: app.path()
Set the app context for direct injection (used by BunWayApp)
The path pattern(s) on which a sub-app was mounted. Express compat: app.mountpath