WebAssemblyComponentsEndpointOptions.ServeMultithreadingHeaders Property

Definition

Gets or sets a flag to determine whether to enable WebAssembly multithreading. If true, the server will add headers similar to Cross-Origin-Embedder-Policy: require-corp and Cross-Origin-Opener-Policy: same-origin on the response for the host page, because this is required to enable the SharedArrayBuffer feature in the browser.

Note that enabling this feature can restrict your ability to use other JavaScript APIs. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements.

public bool ServeMultithreadingHeaders { get; set; }
member this.ServeMultithreadingHeaders : bool with get, set
Public Property ServeMultithreadingHeaders As Boolean

Property Value

Applies to