class
Lune::AssetServer
- Lune::AssetServer
- Reference
- Object
Overview
Serves embedded assets over HTTP on a random local port.
Started in a fiber before the webview run loop so the webview can
navigate to http://127.0.0.1:
Defined in:
lune/asset_server.crConstructors
Instance Method Summary
- #port : Int32
- #start
-
#stop
Call after wv.run returns to release the port and stop the fiber.
- #url : String