add error code to session.setCertificateVerifyProc

This commit is contained in:
Boik 2017-10-16 17:17:21 +08:00
parent 4c9d432bd9
commit f40cc5ab54
5 changed files with 7 additions and 2 deletions

View file

@ -253,7 +253,8 @@ the original network configuration.
* `request` Object
* `hostname` String
* `certificate` [Certificate](structures/certificate.md)
* `error` String - Verification result from chromium.
* `verificationResult` String - Verification result from chromium.
* `errorCode` Integer - Error code.
* `callback` Function
* `verificationResult` Integer - Value can be one of certificate error codes
from [here](https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h).