Request

external interface Request(source)

Properties

Link copied to clipboard
abstract external var certificate: Certificate
Link copied to clipboard
abstract external var errorCode: Double

Error code.

Link copied to clipboard
abstract external var hostname: String
Link copied to clipboard
abstract external var isIssuedByKnownRoot: Boolean

true if Chromium recognises the root CA as a standard root. If it isn't then it's probably the case that this certificate was generated by a MITM proxy whose root has been installed locally (for example, by a corporate proxy). This should not be trusted if the verificationResult is not OK.

Link copied to clipboard
abstract external var validatedCertificate: Certificate
Link copied to clipboard
abstract external var verificationResult: String

OK if the certificate is trusted, otherwise an error like CERT_REVOKED.