Fetch.Ev
Fetch events.
The type for FetchEvent
objects.
val fetch : t Brr.Ev.type'
fetch
is the fetch
event type.
val as_extendable : t -> Brr.Ev.Extendable.t Brr.Ev.t
as_extendable e
is e
as an extendable event.
val preload_response : t -> Response.t option Fut.or_error
preload_response e
is a navigation response preload (if any).
val handled : t -> unit Fut.or_error
handled e
is obscure.
val respond_with : t -> Response.t Fut.or_error -> unit
respond_with e resp
replace the browser's default fetch handling with the response resp
.