Skip to content

Type Alias: CapabilityCheck ​

ts
type CapabilityCheck = "strict" | "warn" | "off";

Defined in: netconf/src/operations/base.ts:24

Whether an operation is checked against the server's capabilities before it is sent, given as connect({ capabilityCheck }):

  • 'strict' (default): throw CapabilityError before sending an operation the server didn't advertise support for.
  • 'warn': log a warning and send it anyway, for servers that under-advertise.
  • 'off': don't check.

Released under the MIT Licence.