Skip to content

Psli/wx-socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

WxSocket - 在微信小程序中使用 phoenix.js

Install

$ npm install --save wx-socket

Usage

import { Socket } from "phoenix"
import WxSocket from "wx-socket"

let socket = new Socket("wss://test.com/socket", { transport: WxSocket, params: {token: yourToken}})

socket.connect()

About

在微信小程序中使用 phoenix.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published