WebResourceResponseSetHeader - cWebView2Browser
Use inside OnWebResourceRequested to set additional HTTP headers on the response when overriding the response using WebResourceResponseSet
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sHeaderName | String | Name of the HTTP Header |
| sHeaderValue | String | Value for the HTTP Header |
Syntax
Procedure WebResourceResponseSetHeader String sHeaderName String sHeaderValue
Call Example
Send WebResourceResponseSetHeader sHeaderName sHeaderValue
Description
Use this procedure inside OnWebResourceRequested to set additional HTTP headers on the response when overriding the response using WebResourceResponseSet.