以下成員源於類 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 ().