You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 30c25bf
Browse filesBrowse the repository at this point in the historyBrowse files
* Manages Angular server applications (including localized ones) and handles rendering requests.
16
+
17
+
* @developerPreview
18
+
*/
19
+
exportinterfaceAngularServerAppManager{
20
+
/**
21
+
* Renders a response for the given HTTP request using the server application.
22
+
*
23
+
* This method processes the request, determines the appropriate route and rendering context,
24
+
* and returns an HTTP response.
25
+
*
26
+
* If the request URL appears to be for a file (excluding `/index.html`), the method returns `null`.
27
+
* A request to `https://www.example.com/page/index.html` will render the Angular route
28
+
* corresponding to `https://www.example.com/page`.
29
+
*
30
+
* @param request - The incoming HTTP request object to be rendered.
31
+
* @param requestContext - Optional additional context for the request, such as metadata.
32
+
* @returns A promise that resolves to a Response object, or `null` if the request URL represents a file (e.g., `./logo.png`)
0 commit comments