Raydium Framework

OfflinePage
in package

Table of Contents

displayOfflinePage()  : void
Displays the offline mode HTML page.
getOfflinePageTemplate()  : string
Returns the offline page HTML template.

Methods

displayOfflinePage()

Displays the offline mode HTML page.

public static displayOfflinePage() : void

Outputs a clean, minimal HTML page informing users that the application is currently offline. The page includes auto-refresh functionality and follows the same design pattern as the error pages.

Return values
void

getOfflinePageTemplate()

Returns the offline page HTML template.

protected static getOfflinePageTemplate() : string
Tags
throws
RuntimeException

If template file cannot be found or read

Return values
string

The complete HTML for the offline page

Search results