The OpenD Programming Language

ICoreWebView2Environment.CreateWebResourceResponse

Create a new web resource response object. The headers parameter is the raw response header string delimited by newline. It is also possible to create this object with null headers string and then use the ICoreWebView2HttpResponseHeaders to construct the headers line by line. For more information about other parameters, navigate to ICoreWebView2WebResourceResponse.

\snippet SettingsComponent.cpp WebResourceRequested0 \snippet SettingsComponent.cpp WebResourceRequested1

interface ICoreWebView2Environment
HRESULT
CreateWebResourceResponse

Meta