SongGuess
Preparing search index...
server/worker-configuration
Container
Interface Container
interface
Container
{
get
images
()
:
Record
<
string
,
string
>
;
get
running
()
:
boolean
;
destroy
(
error
?:
any
)
:
Promise
<
void
>
;
exec
(
cmd
:
string
[]
,
options
?:
ContainerExecOptions
)
:
Promise
<
ExecProcess
>
;
getTcpPort
(
port
:
number
,
)
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
;
inspect
()
:
Promise
<
ContainerInfo
|
null
>
;
interceptAllOutboundHttp
(
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
,
)
:
Promise
<
void
>
;
interceptOutboundHttp
(
addr
:
string
,
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
,
)
:
Promise
<
void
>
;
interceptOutboundHttps
(
addr
:
string
,
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
,
)
:
Promise
<
void
>
;
monitor
()
:
Promise
<
void
>
;
setInactivityTimeout
(
durationMs
:
number
|
bigint
)
:
Promise
<
void
>
;
signal
(
signo
:
number
)
:
void
;
snapshotContainer
(
options
?:
ContainerSnapshotOptions
,
)
:
Promise
<
ContainerSnapshot
>
;
start
(
options
?:
ContainerStartupOptions
)
:
void
;
}
Index
Accessors
images
running
Methods
destroy
exec
get
Tcp
Port
inspect
intercept
All
Outbound
Http
intercept
Outbound
Http
intercept
Outbound
Https
monitor
set
Inactivity
Timeout
signal
snapshot
Container
start
Accessors
images
get
images
()
:
Record
<
string
,
string
>
Returns
Record
<
string
,
string
>
running
get
running
()
:
boolean
Returns
boolean
Methods
destroy
destroy
(
error
?:
any
)
:
Promise
<
void
>
Parameters
Optional
error
:
any
Returns
Promise
<
void
>
exec
exec
(
cmd
:
string
[]
,
options
?:
ContainerExecOptions
)
:
Promise
<
ExecProcess
>
Parameters
cmd
:
string
[]
Optional
options
:
ContainerExecOptions
Returns
Promise
<
ExecProcess
>
get
Tcp
Port
getTcpPort
(
port
:
number
,
)
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
Parameters
port
:
number
Returns
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
inspect
inspect
()
:
Promise
<
ContainerInfo
|
null
>
Returns
Promise
<
ContainerInfo
|
null
>
intercept
All
Outbound
Http
interceptAllOutboundHttp
(
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
,
)
:
Promise
<
void
>
Parameters
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
Returns
Promise
<
void
>
intercept
Outbound
Http
interceptOutboundHttp
(
addr
:
string
,
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
,
)
:
Promise
<
void
>
Parameters
addr
:
string
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
Returns
Promise
<
void
>
intercept
Outbound
Https
interceptOutboundHttps
(
addr
:
string
,
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
,
)
:
Promise
<
void
>
Parameters
addr
:
string
binding
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
Returns
Promise
<
void
>
monitor
monitor
()
:
Promise
<
void
>
Returns
Promise
<
void
>
set
Inactivity
Timeout
setInactivityTimeout
(
durationMs
:
number
|
bigint
)
:
Promise
<
void
>
Parameters
durationMs
:
number
|
bigint
Returns
Promise
<
void
>
signal
signal
(
signo
:
number
)
:
void
Parameters
signo
:
number
Returns
void
snapshot
Container
snapshotContainer
(
options
?:
ContainerSnapshotOptions
,
)
:
Promise
<
ContainerSnapshot
>
Parameters
Optional
options
:
ContainerSnapshotOptions
Returns
Promise
<
ContainerSnapshot
>
start
start
(
options
?:
ContainerStartupOptions
)
:
void
Parameters
Optional
options
:
ContainerStartupOptions
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
images
running
Methods
destroy
exec
get
Tcp
Port
inspect
intercept
All
Outbound
Http
intercept
Outbound
Http
intercept
Outbound
Https
monitor
set
Inactivity
Timeout
signal
snapshot
Container
start
SongGuess
Loading...