BundleProtocol
Serves files from a Source as HTTP responses — GET/HEAD, content-type, HTTP Range (206), and index.html directory-index fallback.
Serves files from a Source as HTTP responses — GET/HEAD, content-type, HTTP Range
(206), and index.html directory-index fallback. By default the bundle name comes from the
request URI host (bundle://app/index.html → bundle app); pass BundleProtocolOptions
to resolve the bundle name or the path differently.
Constructor
new BundleProtocol(source: Source, options?: BundleProtocolOptions);Prop
Type
Methods
Prop
Type