Skip to main content

window_endpoint_with_context_and_target_origin

Function window_endpoint_with_context_and_target_origin 

Source
pub fn window_endpoint_with_context_and_target_origin(
    window: &JsValue,
    context: &JsValue,
    target_origin: &str,
) -> JsValue
Expand description

Wraps a window-like object into an endpoint listening on context and posting with target_origin.