Socketcluster-client-AuthorizationEngine

需求處理 JWT 的時候如果在瀏覽器可以將 token 存在 localStorage 中的 socketcluster.authToken 但是如果在 React Native 中沒有 localStorage 的模組 可以使用 jest-loca...

Nodejs

SocketCluster-scc

SCC GuideSCC 是服務的集合 讓你可以快速的將 SocketCluster 快速的部屬到多台機器上 讓彼此可以任意溝通 並且可以利用 Kubernetes 上面優化運行 SCC 基本上可以分成幾個服務 scc-worker (Socke...

Nodejs

SociekCluster-Storage

Mongodb以 Mongodb 為範例 1234$ git clone git@github.com:SocketCluster/scc-broker.git scc-mongo-broker && cd scc-mongo-bro...

Nodejs

React-Native-connect-server

Initial React Native1$ npx react-native init imapp && cd imapp Run on ios1$ npx react-native-run-ios Install Socket...

SocketCluster

SocketCluster-Consumer

Chennel之前有聊到 Chennel 但是當訊息量越來越大的時候 可以有一些機制來做傳遞與管理 在前端 Subscribe Channel 123456(async () => { let channel = socket....

Nodejs

SocketCluster Cluster initial.md

Basic InstallInstallnvm 123456789$ nvm install 14.9.0$ nvm use 14.9.0$ npm install -g socketcluster@16.0.1$ socketcluster --h...

Nodejs

SocketCluster-Authorization

Authorization在 SocketCluster 預設使用 JWT 處理驗證問題 在AGServer 之中有一個參數 authKey 是一個字串,提供 JWT 的 token 建立與驗證使用 Client 也可以使用 socket.authe...

Nodejs