trait TLSSocketOptions extends Object
- Annotations
- @JSType()
- Alphabetic
- By Inheritance
- TLSSocketOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val ALPNProtocols: UndefOr[ALPNProtocols]
Optional, see tls.createServer()
Optional, see tls.createServer()
- Annotations
- @JSOptional()
- val NPNProtocols: UndefOr[Boolean]
Optional, see tls.createServer()
Optional, see tls.createServer()
- Annotations
- @JSOptional()
- val SNICallback: UndefOr[Function2[String, Function, Any]]
Optional, see tls.createServer()
Optional, see tls.createServer()
- Annotations
- @JSOptional()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val enableTrace: UndefOr[Boolean]
- Annotations
- @JSOptional()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- val isServer: UndefOr[Boolean]
The SSL/TLS protocol is asymetrical, TLSSockets must know if they are to behave as a server or a client.
The SSL/TLS protocol is asymetrical, TLSSockets must know if they are to behave as a server or a client. If true the TLS socket will be instantiated as a server. Defaults to false.
- Annotations
- @JSOptional()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val rejectUnauthorized: UndefOr[Boolean]
Optional, see tls.createServer()
Optional, see tls.createServer()
- Annotations
- @JSOptional()
- val requestCert: UndefOr[Boolean]
Whether to authenticate the remote peer by requesting a certificate.
Whether to authenticate the remote peer by requesting a certificate. Clients always request a server certificate. Servers (isServer is true) may optionally set requestCert o true to request a client certificate.
- Annotations
- @JSOptional()
- val requestOCSP: UndefOr[Boolean]
If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication
If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication
- Annotations
- @JSOptional()
- val secureContext: UndefOr[SecureContext]
Optional TLS context object created with tls.createSecureContext().
Optional TLS context object created with tls.createSecureContext(). If a secureContext is not provided, one will be created by calling tls.createSecureContext() with no options.
- Annotations
- @JSOptional()
- val server: UndefOr[net.Server]
An optional net.Server instance.
An optional net.Server instance.
- Annotations
- @JSOptional()
- val session: UndefOr[Buffer]
An optional Buffer instance containing a TLS session.
An optional Buffer instance containing a TLS session.
- Annotations
- @JSOptional()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])