ConnectionTransport 接口
签名
export interface ConnectionTransport
属性
|
属性 |
修饰符 |
类型 |
说明 |
默认值 |
|---|---|---|---|---|
|
onclose |
|
() => void | ||
|
onmessage |
|
(message: string) => void |
方法
|
方法 |
说明 |
|---|---|
export interface ConnectionTransport
|
属性 |
修饰符 |
类型 |
说明 |
默认值 |
|---|---|---|---|---|
|
onclose |
|
() => void | ||
|
onmessage |
|
(message: string) => void |
|
方法 |
说明 |
|---|---|