---
# System prepended metadata

title: web socket 實作
tags: [web socket]

---

web socket 實作
===

經本人測試，無法透過下載 jar 包安裝 API，故目前透過在 `build.gradle (app)` 下指令安裝是可 work 的：

```
implementation group: 'org.java-websocket', name: 'Java-WebSocket', version: '1.3.8'
```

## Ref.
[Java WebSocket客户端java WebSocketClient](https://blog.csdn.net/yaomingyang/article/details/79015674)
[android 简单websocketclient](https://blog.csdn.net/zhu_nana/article/details/114139887)
[Java-WebSocket (使用的 API)](https://www.javadoc.io/doc/org.java-websocket/Java-WebSocket/latest/index.html)

###### tags: `web socket`