veko doc
Self-Contained API Reference • Gradual Types • Capabilities • Wasm Sandbox

ui/webview_net

lib/ui/webview_net.vk

lib/ui/webview_net.vk Capability-witness module gating .net access for remote WebView2 navigation (http://, https://, ws://, wss://). Importing ui/webview_net causes the Veko compiler capability scanner to require .net in veko.vk allow-caps.

NetGrant struct sealed
signature
sealed NetGrant = struct { ok bool = ... }
grant-net fn caps: .net
signature
grant-net = fn [] NetGrant
signature
is-valid-grant? = fn [g NetGrant] bool