Search
Preparing search index...
The search index is not available
JRTC-SDK
Options
All
Public
Public/Protected
All
Inherited
Menu
JRTC-SDK
wechat-conference-sdk
ISocket
Interface ISocket
Hierarchy
ISocket
IStompSocket
Index
Properties
state
Methods
close
send
Properties
state
state
:
SocketState
实例的连接状态
Methods
close
close
(
code
:
number
, reason
?:
string
)
:
Promise
<
void
>
关闭连接
Parameters
code:
number
Optional
reason:
string
Returns
Promise
<
void
>
send
send
(
data
:
SocketSendDataType
)
:
Promise
<
void
>
发送消息, 传入的非字符串类型将会通过{@link JSON.stringify}转化为JSON字符串.
Parameters
data:
SocketSendDataType
要发送的数据
Returns
Promise
<
void
>
Modules
webrtc-
conference-
sdk
webrtc-
guest-
sdk
wechat-
conference-
sdk
wechat-
guest-
sdk
ISocket
state
close
send
Generated using
TypeDoc
实例的连接状态