Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
Socket
Interface Socket
interface
Socket
{
get
closed
():
Promise
<
void
>
;
get
opened
():
Promise
<
SocketInfo
>
;
get
readable
():
ReadableStream
<
any
>
;
get
writable
():
WritableStream
<
any
>
;
close
(
)
:
Promise
<
void
>
;
startTls
(
options
?
)
:
Socket
;
}
Index
Accessors
closed
opened
readable
writable
Methods
close
start
Tls
Accessors
closed
get
closed
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
opened
get
opened
(
)
:
Promise
<
SocketInfo
>
Returns
Promise
<
SocketInfo
>
readable
get
readable
(
)
:
ReadableStream
<
any
>
Returns
ReadableStream
<
any
>
writable
get
writable
(
)
:
WritableStream
<
any
>
Returns
WritableStream
<
any
>
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
start
Tls
start
Tls
(
options
?
)
:
Socket
Parameters
Optional
options
:
TlsOptions
Returns
Socket
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
closed
opened
readable
writable
close
start
Tls
@cloudflare/workers-types
Loading...