xujiahui 最近的时间轴更新
xujiahui

xujiahui

V2EX 第 289920 号会员,加入于 2018-02-06 09:59:11 +08:00
今日活跃度排名 9002
根据 xujiahui 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
xujiahui 最近回复了
vim
export interface UseWebSocketReturn<T> {
/**
* Reference to the latest data received via the websocket,
* can be watched to respond to incoming messages
*/
data: Ref<T | null>

/**
* The current websocket status, can be only one of:
* 'OPEN', 'CONNECTING', 'CLOSED'
*/
status: Ref<WebSocketStatus>

/**
* Closes the websocket connection gracefully.
*/
close: WebSocket['close']

/**
* Reopen the websocket connection.
* If there the current one is active, will close it before opening a new one.
*/
open: Fn

/**
* Sends data through the websocket connection.
*
* @param data
* @param useBuffer when the socket is not yet open, store the data into the buffer and sent them one connected. Default to true.
*/
send: (data: string | ArrayBuffer | Blob, useBuffer?: boolean) => boolean

/**
* Reference to the WebSocket instance.
*/
ws: Ref<WebSocket | undefined>
}
文档不是写的挺清楚吗
22 天前
回复了 yujianwjj 创建的主题 git git 临时切换分支
git stash
24 天前
回复了 shixiaoda 创建的主题 Apple Quantumult X 有啥好使的去广告 Config?
求推荐 shadowrocket 的规则
28 天前
回复了 token10086 创建的主题 程序员 求求你们都别卷工具站了
之前 vue3 ts 练手做了一个,https://jawilx.github.io/jtools/
29 天前
回复了 Sylarlong 创建的主题 分享创造 紫微斗数 | 对算命有兴趣的程序员请进
牛,不知道紫微斗数怎么入门
节哀
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4693 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 09:45 · PVG 17:45 · LAX 01:45 · JFK 04:45
Developed with CodeLauncher
♥ Do have faith in what you're doing.