Search
Preparing search index...
The search index is not available
u-http-server
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"tls"
Module "tls"
Index
Classes
Server
TLSSocket
Interfaces
Certificate
Cipher
Name
And
Protocol
Common
Connection
Options
Connection
Options
Detailed
Peer
Certificate
Peer
Certificate
Secure
Context
Secure
Context
Options
Secure
Pair
TLSSocket
Options
Tls
Options
Type aliases
Secure
Version
Variables
CLIENT_
RENEG_
LIMIT
CLIENT_
RENEG_
WINDOW
DEFAULT_
ECDH_
CURVE
root
Certificates
Functions
check
Server
Identity
connect
create
Secure
Context
create
Secure
Pair
create
Server
get
Ciphers
Type aliases
Secure
Version
Secure
Version
:
"TLSv1.3"
|
"TLSv1.2"
|
"TLSv1.1"
|
"TLSv1"
Variables
Const
CLIENT_
RENEG_
LIMIT
CLIENT_
RENEG_
LIMIT
:
number
Const
CLIENT_
RENEG_
WINDOW
CLIENT_
RENEG_
WINDOW
:
number
Const
DEFAULT_
ECDH_
CURVE
DEFAULT_
ECDH_
CURVE
:
string
Const
root
Certificates
root
Certificates
:
ReadonlyArray
<
string
>
Functions
check
Server
Identity
check
Server
Identity
(
host
:
string
, cert
:
PeerCertificate
)
:
Error
|
undefined
Parameters
host:
string
cert:
PeerCertificate
Returns
Error
|
undefined
connect
connect
(
options
:
ConnectionOptions
, secureConnectListener
?:
function
)
:
TLSSocket
connect
(
port
:
number
, host
?:
string
, options
?:
ConnectionOptions
, secureConnectListener
?:
function
)
:
TLSSocket
connect
(
port
:
number
, options
?:
ConnectionOptions
, secureConnectListener
?:
function
)
:
TLSSocket
Parameters
options:
ConnectionOptions
Optional
secureConnectListener:
function
(
)
:
void
Returns
void
Returns
TLSSocket
Parameters
port:
number
Optional
host:
string
Optional
options:
ConnectionOptions
Optional
secureConnectListener:
function
(
)
:
void
Returns
void
Returns
TLSSocket
Parameters
port:
number
Optional
options:
ConnectionOptions
Optional
secureConnectListener:
function
(
)
:
void
Returns
void
Returns
TLSSocket
create
Secure
Context
create
Secure
Context
(
details
:
SecureContextOptions
)
:
SecureContext
Parameters
details:
SecureContextOptions
Returns
SecureContext
create
Secure
Pair
create
Secure
Pair
(
credentials
?:
SecureContext
, isServer
?:
boolean
, requestCert
?:
boolean
, rejectUnauthorized
?:
boolean
)
:
SecurePair
deprecated
Parameters
Optional
credentials:
SecureContext
Optional
isServer:
boolean
Optional
requestCert:
boolean
Optional
rejectUnauthorized:
boolean
Returns
SecurePair
create
Server
create
Server
(
secureConnectionListener
?:
function
)
:
Server
create
Server
(
options
:
TlsOptions
, secureConnectionListener
?:
function
)
:
Server
Parameters
Optional
secureConnectionListener:
function
(
socket
:
TLSSocket
)
:
void
Parameters
socket:
TLSSocket
Returns
void
Returns
Server
Parameters
options:
TlsOptions
Optional
secureConnectionListener:
function
(
socket
:
TLSSocket
)
:
void
Parameters
socket:
TLSSocket
Returns
void
Returns
Server
get
Ciphers
get
Ciphers
(
)
:
string
[]
Returns
string
[]
Globals
"http"
"http2"
"https"
"net"
"tls"
generate
Self
Signed
Certificate
parse
Cookie
path
ToRegex
session
InMemory
Server
TLSSocket
Certificate
Cipher
Name
And
Protocol
Common
Connection
Options
Connection
Options
Detailed
Peer
Certificate
Peer
Certificate
Secure
Context
Secure
Context
Options
Secure
Pair
TLSSocket
Options
Tls
Options
Secure
Version
CLIENT_
RENEG_
LIMIT
CLIENT_
RENEG_
WINDOW
DEFAULT_
ECDH_
CURVE
root
Certificates
check
Server
Identity
connect
create
Secure
Context
create
Secure
Pair
create
Server
get
Ciphers
Generated using
TypeDoc