Skip to content

Commit 02cb1e0

Browse files
authored
Update index.html
1 parent da494ac commit 02cb1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
GitHub
2626
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></nav><!----></div><div class="home"><div class="hero"><img src="/hero.png" alt="hero"><h1>weapp.socket.io</h1><p class="description">
2727
Write your awesome realtime Wechat mini program
28-
</p><p class="action"><a href="/guide/" class="nav-link action-button">Get Started →</a></p></div><div class="features"><div class="feature"><h2>Socket.io Style</h2><p>Full feature &amp; style of socket.io, do not change your habits</p></div><div class="feature"><h2>Polling &amp; Websocket</h2><p>Create polling connection default, auto switch to websocket mode if support</p></div><div class="feature"><h2>Binary Support</h2><p>it's possible to send any blob back and forth: image, audio, video.</p></div></div><div class="content custom"><h3 id="style-same-to-on-browser"><a href="#style-same-to-on-browser" aria-hidden="true" class="header-anchor">#</a> Style same to on browser</h3><pre class="language-text"><code>const io = require('./yout_path/weapp.socket.io.js')
28+
</p><p class="action"><a href="/guide/" class="nav-link action-button">Get Started →</a></p></div><div class="features"><div class="feature"><h2>Socket.io Style</h2><p>Full feature &amp; style of socket.io, do not change your habits</p></div><div class="feature"><h2>Websocket Transport</h2><p>Create websocket connection default, Mini-Program not support Polling</p></div><div class="feature"><h2>Binary Support</h2><p>it's possible to send any blob back and forth: image, audio, video.</p></div></div><div class="content custom"><h3 id="style-same-to-on-browser"><a href="#style-same-to-on-browser" aria-hidden="true" class="header-anchor">#</a> Style same to on browser</h3><pre class="language-text"><code>const io = require('./yout_path/weapp.socket.io.js')
2929

3030
const socket = io('http://localhost:8000')
3131

0 commit comments

Comments
 (0)