Packages

trait CommonConnectionOptions extends Object with StObject

Annotations
@JSType() @native()
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommonConnectionOptions
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ALPNProtocols: UndefOr[|[Array[|[String, Uint8Array]], Uint8Array]]

    An array of strings or a Buffer naming possible ALPN protocols.

    An array of strings or a Buffer naming possible ALPN protocols. (Protocols should be ordered by their priority.)

  5. val SNICallback: UndefOr[Function2[String, Function2[|[Error, Null], UndefOr[SecureContext], Unit], Unit]]

    SNICallback(servername, cb) <Function> A function that will be called if the client supports SNI TLS extension.

    SNICallback(servername, cb) <Function> A function that will be called if the client supports SNI TLS extension. Two arguments will be passed when called: servername and cb. SNICallback should invoke cb(null, ctx), where ctx is a SecureContext instance. (tls.createSecureContext(...) can be used to get a proper SecureContext.) If SNICallback wasn't provided the default callback with high-level API will be used (see below).

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val enableTrace: UndefOr[Boolean]

    When enabled, TLS packet trace information is written to stderr.

    When enabled, TLS packet trace information is written to stderr. This can be used to debug TLS connection problems.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  20. val rejectUnauthorized: UndefOr[Boolean]

    If true the server will reject any connection which is not authorized with the list of supplied CAs.

    If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.

  21. val requestCert: UndefOr[Boolean]

    If true the server will request a certificate from clients that connect and attempt to verify that certificate.

    If true the server will request a certificate from clients that connect and attempt to verify that certificate. Defaults to false.

  22. val secureContext: UndefOr[SecureContext]

    An optional TLS context object from tls.createSecureContext()

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toLocaleString(): String
    Definition Classes
    Object
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def valueOf(): Any
    Definition Classes
    Object
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped