Search
Preparing search index...
The search index is not available
@foxy.io/sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@foxy.io/sdk
<internal>
WritableStream
Interface WritableStream
Hierarchy
EventEmitter
WritableStream
Index
Properties
writable
Methods
add
Listener
emit
end
event
Names
get
Max
Listeners
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
write
Properties
writable
writable
:
boolean
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
(
(
...
args
:
any
[]
)
=>
void
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
end
end
(
cb
?:
(
(
)
=>
void
)
)
:
void
end
(
data
:
string
|
Uint8Array
, cb
?:
(
(
)
=>
void
)
)
:
void
end
(
str
:
string
, encoding
?:
"ascii"
|
"utf8"
|
"utf-8"
|
"utf16le"
|
"ucs2"
|
"ucs-2"
|
"base64"
|
"latin1"
|
"binary"
|
"hex"
, cb
?:
(
(
)
=>
void
)
)
:
void
Parameters
Optional
cb:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
Parameters
data:
string
|
Uint8Array
Optional
cb:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
Parameters
str:
string
Optional
encoding:
"ascii"
|
"utf8"
|
"utf-8"
|
"utf16le"
|
"ucs2"
|
"ucs-2"
|
"base64"
|
"latin1"
|
"binary"
|
"hex"
Optional
cb:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
event
Names
event
Names
(
)
:
(
string
|
symbol
)
[]
Returns
(
string
|
symbol
)
[]
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
listener
Count
listener
Count
(
event
:
string
|
symbol
)
:
number
Parameters
event:
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
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
on
on
(
event
:
string
|
symbol
, listener
:
(
(
...
args
:
any
[]
)
=>
void
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
once
once
(
event
:
string
|
symbol
, listener
:
(
(
...
args
:
any
[]
)
=>
void
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
(
(
...
args
:
any
[]
)
=>
void
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
(
(
...
args
:
any
[]
)
=>
void
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
WritableStream
Parameters
Optional
event:
string
|
symbol
Returns
WritableStream
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
(
(
...
args
:
any
[]
)
=>
void
)
)
:
WritableStream
Parameters
event:
string
|
symbol
listener:
(
(
...
args
:
any
[]
)
=>
void
)
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
WritableStream
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
WritableStream
Parameters
n:
number
Returns
WritableStream
write
write
(
buffer
:
string
|
Uint8Array
, cb
?:
(
(
err
?:
null
|
Error
)
=>
void
)
)
:
boolean
write
(
str
:
string
, encoding
?:
"ascii"
|
"utf8"
|
"utf-8"
|
"utf16le"
|
"ucs2"
|
"ucs-2"
|
"base64"
|
"latin1"
|
"binary"
|
"hex"
, cb
?:
(
(
err
?:
null
|
Error
)
=>
void
)
)
:
boolean
Parameters
buffer:
string
|
Uint8Array
Optional
cb:
(
(
err
?:
null
|
Error
)
=>
void
)
(
err
?:
null
|
Error
)
:
void
Parameters
Optional
err:
null
|
Error
Returns
void
Returns
boolean
Parameters
str:
string
Optional
encoding:
"ascii"
|
"utf8"
|
"utf-8"
|
"utf16le"
|
"ucs2"
|
"ucs-2"
|
"base64"
|
"latin1"
|
"binary"
|
"hex"
Optional
cb:
(
(
err
?:
null
|
Error
)
=>
void
)
(
err
?:
null
|
Error
)
:
void
Parameters
Optional
err:
null
|
Error
Returns
void
Returns
boolean
Modules
<internal>
Cookie
Cookie
Jar
Backend
Core
Customer
Writable
Stream
writable
add
Listener
emit
end
event
Names
get
Max
Listeners
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
write
Generated using
TypeDoc