以下成员源于类 QWebEngineProfile 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
bool
|
isUsedForGlobalCertificateVerification () const |
(obsolete)
void
|
setRequestInterceptor (QWebEngineUrlRequestInterceptor * interceptor ) |
(obsolete)
void
|
setUseForGlobalCertificateVerification (bool enabled = true) |
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
返回
true
if this profile is currently being used for global certificate verification.
该函数在 Qt 5.13 引入。
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
注册请求拦截器单例 interceptor 到拦截 URL 请求。
Profile (配置文件) 不拥有指针的所有权。
Interceptors installed with this method will call QWebEngineUrlRequestInterceptor::interceptRequest on the I/O thread. Therefore the user has to provide thread-safe interaction with the other user classes. For a duration of this call ui thread is blocked. Use setUrlRequestInterceptor 代替。
该函数在 Qt 5.6 引入。
另请参阅 QWebEngineUrlRequestInfo .
此函数已过时。提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
Sets if this profile is to be used for downloading and caching when needed during certificate verification, for instance for OCSP, CRLs, and AIA.
Only one QWebEngineProfile can do this at a time, and it is recommended that the profile fullfilling this role has a disk HTTP cache to avoid needlessly re-downloading. If you set the option on a second profile, it will be disabled on the profile it is currently set.
只要一个 Profile (配置文件) 已
enabled
设为
true
,所有其它 Profile (配置文件) 都将能够使用它进行证书验证。
Originally only affected Linux/NSS installations where it enabled OCSP.
Since 5.15.3, no longer does anything. Certificate verification is done using AIO on the requesting profile.
该函数在 Qt 5.13 引入。
另请参阅 isUsedForGlobalCertificateVerification () 和 httpCacheType ().