ConnectionTransport 接口
🌐 ConnectionTransport interface
语法
🌐 Signature
export interface ConnectionTransport
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
onclose |
|
() => void | ||
|
onmessage |
|
(message: string) => void |
方法
🌐 Methods
|
方法 🌐 Method |
描述 🌐 Description |
|---|---|