Search
Preparing search index...
The search index is not available
@open-rpc/typings
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
NodeJS
Socket
Interface Socket
Hierarchy
ReadWriteStream
Socket
Index
Properties
isTTY
readable
writable
Methods
[
Symbol.async
Iterator]
add
Listener
emit
end
event
Names
get
Max
Listeners
is
Paused
listener
Count
listeners
off
on
once
pause
pipe
prepend
Listener
prepend
Once
Listener
raw
Listeners
read
remove
All
Listeners
remove
Listener
resume
set
Encoding
set
Max
Listeners
unpipe
unshift
wrap
write
Properties
Optional
isTTY
isTTY
:
undefined
|
true
readable
readable
:
boolean
writable
writable
:
boolean
Methods
[
Symbol.async
Iterator]
[
Symbol.async
Iterator]
(
)
:
AsyncIterableIterator
<
string
|
Buffer
>
Returns
AsyncIterableIterator
<
string
|
Buffer
>
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
end
end
(
cb
?:
undefined
|
(
(
)
=>
void
)
)
:
void
end
(
data
:
string
|
Uint8Array
, cb
?:
undefined
|
(
(
)
=>
void
)
)
:
void
end
(
str
:
string
, encoding
?:
undefined
|
string
, cb
?:
undefined
|
(
(
)
=>
void
)
)
:
void
Parameters
Optional
cb:
undefined
|
(
(
)
=>
void
)
Returns
void
Parameters
data:
string
|
Uint8Array
Optional
cb:
undefined
|
(
(
)
=>
void
)
Returns
void
Parameters
str:
string
Optional
encoding:
undefined
|
string
Optional
cb:
undefined
|
(
(
)
=>
void
)
Returns
void
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
is
Paused
is
Paused
(
)
:
boolean
Returns
boolean
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
off
off
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
pause
pause
(
)
:
this
Returns
this
pipe
pipe<T>
(
destination
:
T
, options
?:
undefined
|
{
end
?:
undefined
|
false
|
true
}
)
:
T
Type parameters
T
:
WritableStream
Parameters
destination:
T
Optional
options:
undefined
|
{
end
?:
undefined
|
false
|
true
}
Returns
T
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
read
read
(
size
?:
undefined
|
number
)
:
string
|
Buffer
Parameters
Optional
size:
undefined
|
number
Returns
string
|
Buffer
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
(
...
args
:
any
[]
)
=>
void
)
:
this
Parameters
event:
string
|
symbol
listener:
(
...
args
:
any
[]
)
=>
void
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
resume
resume
(
)
:
this
Returns
this
set
Encoding
set
Encoding
(
encoding
:
string
)
:
this
Parameters
encoding:
string
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
unpipe
unpipe
(
destination
?:
WritableStream
)
:
this
Parameters
Optional
destination:
WritableStream
Returns
this
unshift
unshift
(
chunk
:
string
|
Uint8Array
, encoding
?:
BufferEncoding
)
:
void
Parameters
chunk:
string
|
Uint8Array
Optional
encoding:
BufferEncoding
Returns
void
wrap
wrap
(
oldStream
:
ReadableStream
)
:
this
Parameters
oldStream:
ReadableStream
Returns
this
write
write
(
buffer
:
Uint8Array
|
string
, cb
?:
undefined
|
(
(
err
?:
Error
|
null
)
=>
void
)
)
:
boolean
write
(
str
:
string
, encoding
?:
undefined
|
string
, cb
?:
undefined
|
(
(
err
?:
Error
|
null
)
=>
void
)
)
:
boolean
Parameters
buffer:
Uint8Array
|
string
Optional
cb:
undefined
|
(
(
err
?:
Error
|
null
)
=>
void
)
Returns
boolean
Parameters
str:
string
Optional
encoding:
undefined
|
string
Optional
cb:
undefined
|
(
(
err
?:
Error
|
null
)
=>
void
)
Returns
boolean
Globals
NodeJS
Socket
isTTY
readable
writable
[
Symbol.async
Iterator]
add
Listener
emit
end
event
Names
get
Max
Listeners
is
Paused
listener
Count
listeners
off
on
once
pause
pipe
prepend
Listener
prepend
Once
Listener
raw
Listeners
read
remove
All
Listeners
remove
Listener
resume
set
Encoding
set
Max
Listeners
unpipe
unshift
wrap
write