Preparing search index...
The search index is not available
Documentation - v0.0.7
Documentation
@fuman/net
WebSocketConnectionFramed
Class WebSocketConnectionFramed
Hierarchy
WebSocketConnectionBase
WebSocketConnectionFramed
Index
Constructors
constructor
Properties
_cv
_error
socket
Accessors
local
Address
remote
Address
Methods
close
close
With
Code
on
Message
read
Frame
write
Frame
Constructors
constructor
new
WebSocketConnectionFramed
(
socket
:
WebSocket
)
:
WebSocketConnectionFramed
Parameters
socket
:
WebSocket
Returns
WebSocketConnectionFramed
Properties
Protected
_cv
_cv
:
ConditionVariable
Protected
_error
_error
:
null
|
Error
= null
Readonly
socket
socket
:
WebSocket
Accessors
local
Address
get
localAddress
()
:
never
Returns
never
remote
Address
get
remoteAddress
()
:
null
|
string
Returns
null
|
string
Methods
close
close
()
:
void
Close the underlying source.
Returns
void
close
With
Code
closeWithCode
(
code
:
number
,
reason
?:
string
)
:
void
Parameters
code
:
number
Optional
reason
:
string
Returns
void
on
Message
onMessage
(
event
:
MessageEvent
<
any
>
)
:
void
Parameters
event
:
MessageEvent
<
any
>
Returns
void
read
Frame
readFrame
()
:
Promise
<
string
|
Uint8Array
>
Returns
Promise
<
string
|
Uint8Array
>
write
Frame
writeFrame
(
data
:
string
|
Uint8Array
)
:
Promise
<
void
>
Parameters
data
:
string
|
Uint8Array
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_cv
_error
socket
Accessors
local
Address
remote
Address
Methods
close
close
With
Code
on
Message
read
Frame
write
Frame
Documentation - v0.0.7
Loading...
Close the underlying source.