WebViewServer

class WebViewServer(application: Application, container: Container<Resource>, mediaTypes: Map<Url, MediaType>, errorPage: RelativeUrl, htmlInjector: (Resource, MediaType) -> Resource, servedAssets: List<String>, onResourceLoadFailed: (Url, ReadError) -> Unit)

Serves the publication resources and application assets in the EPUB navigator web views.

Constructors

Link copied to clipboard
constructor(application: Application, container: Container<Resource>, mediaTypes: Map<Url, MediaType>, errorPage: RelativeUrl, htmlInjector: (Resource, MediaType) -> Resource, servedAssets: List<String>, onResourceLoadFailed: (Url, ReadError) -> Unit)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Serves the requests of the navigator web view s.