SongGuess
Preparing search index...
server/worker-configuration
Container
Interface Container
interface
Container
{
get
running
()
:
boolean
;
destroy
(
error
?:
any
)
:
Promise
<
void
>
;
getTcpPort
(
port
:
number
,
)
:
{
connect
(
address
:
string
|
SocketAddress
,
options
?:
SocketOptions
,
)
:
Socket
;
fetch
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
<
CfProperties
<
unknown
>
>
,
)
:
Promise
<
Response
>
;
}
;
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
>
;
snapshotDirectory
(
options
:
ContainerDirectorySnapshotOptions
,
)
:
Promise
<
ContainerDirectorySnapshot
>
;
start
(
options
?:
ContainerStartupOptions
)
:
void
;
}
Index
Accessors
running
Methods
destroy
get
Tcp
Port
intercept
All
Outbound
Http
intercept
Outbound
Http
intercept
Outbound
Https
monitor
set
Inactivity
Timeout
signal
snapshot
Container
snapshot
Directory
start
Accessors
running
get
running
()
:
boolean
Returns
boolean
Methods
destroy
destroy
(
error
?:
any
)
:
Promise
<
void
>
Parameters
Optional
error
:
any
Returns
Promise
<
void
>
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
>
;
}
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
options
:
ContainerSnapshotOptions
Returns
Promise
<
ContainerSnapshot
>
snapshot
Directory
snapshotDirectory
(
options
:
ContainerDirectorySnapshotOptions
,
)
:
Promise
<
ContainerDirectorySnapshot
>
Parameters
options
:
ContainerDirectorySnapshotOptions
Returns
Promise
<
ContainerDirectorySnapshot
>
start
start
(
options
?:
ContainerStartupOptions
)
:
void
Parameters
Optional
options
:
ContainerStartupOptions
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Accessors
running
Methods
destroy
get
Tcp
Port
intercept
All
Outbound
Http
intercept
Outbound
Http
intercept
Outbound
Https
monitor
set
Inactivity
Timeout
signal
snapshot
Container
snapshot
Directory
start
SongGuess
Loading...