Skip to content

ResolveTlsa

[<Interface>]
type ResolveTlsa =
    abstract member Invoke (hostname: string, callback: Callback) : unit
    abstract member __promisify__ (hostname: string) : Promise<TlsaRecord array>
AssemblyXantham.Fable.Node

Declared inside

Callback

Methods

abstract member Invoke (hostname: string, callback: Callback) : unit

Uses the DNS protocol to resolve certificate associations (TLSA records) for the hostname. The records argument passed to the callback function is an array of objects with these properties:

  • certUsage
  • selector
  • match
  • data
{
certUsage: 3,
selector: 1,
match: 1,
data: [ArrayBuffer]
}

@since v22.15.0

abstract member __promisify__ (hostname: string) : Promise<TlsaRecord array>