Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
tls
ClearTextStream
Interface ClearTextStream
Hierarchy
ReadWriteStream
ClearTextStream
Index
Properties
address
authorizationError
authorized
getCipher
readable
remoteAddress
remotePort
writable
Methods
addListener
destroy
destroySoon
emit
end
getPeerCertificate
listeners
on
once
pause
pipe
removeAllListener
removeListener
resume
setEncoding
setMaxListeners
write
Properties
public
address
:
{ port: number; family: string; address: string; }
public
address.address
:
string
public
address.family
:
string
public
address.port
:
number
public
authorizationError
:
Error
public
authorized
:
boolean
public
getCipher
:
{ name: string; version: string; }
public
getCipher.name
:
string
public
getCipher.version
:
string
public
readable
:
boolean
public
remoteAddress
:
string
public
remotePort
:
number
public
writable
:
boolean
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
destroy
(
)
public
destroySoon
(
)
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
end
(
)
public
end
(
str
:
string
, enconding
:
string
)
Parameters
str:
string
enconding:
string
public
end
(
buffer
:
Buffer
)
Parameters
buffer:
Buffer
public
getPeerCertificate
(
)
:
any
Returns
any
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
pause
(
)
public
pipe
(
destination
:
WritableStream
, options
?:
{ end?: boolean; }
)
Parameters
destination:
WritableStream
options?:
{ end?: boolean; }
optional
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
resume
(
)
public
setEncoding
(
encoding
:
string
)
Parameters
encoding:
string
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
write
(
str
:
string
, encoding
?:
string
, fd
?:
string
)
:
boolean
Parameters
str:
string
encoding?:
string
optional
fd?:
string
optional
Returns
boolean
public
write
(
buffer
:
Buffer
)
:
boolean
Parameters
buffer:
Buffer
Returns
boolean
Globals
assert
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
CLIENT_RENEG_LIMIT
CLIENT_RENEG_WINDOW
ClearTextStream
address
authorizationError
authorized
getCipher
readable
remoteAddress
remotePort
writable
addListener
destroy
destroySoon
emit
end
getPeerCertificate
listeners
on
once
pause
pipe
removeAllListener
removeListener
resume
setEncoding
setMaxListeners
write
ConnectionOptions
SecurePair
Server
TlsOptions
connect
createSecurePair
createServer