JavaScript/websocket/socket.io:修订间差异
来自康健生活
| 第15行: | 第15行: | ||
</body> | </body> | ||
</html> | </html> | ||
</syntaxhighlight>|$|/home/kangkk}} | |||
: 如果配置正确的话会展示如下信息 | |||
: {{Shc_out|<syntaxhighlight lang="bash"> | |||
curl http://localhost:8080/socket.io/socket.io.js | |||
</syntaxhighlight>|<syntaxhighlight lang="bash"> | |||
/*! | |||
* Socket.IO v2.3.0 | |||
* (c) 2014-2019 Guillermo Rauch | |||
* Released under the MIT License. | |||
*/ | |||
!function(t,e){"object"==type | |||
... | |||
//# sourceMappingURL=socket.io.js.map | |||
</syntaxhighlight>|$|/home/kangkk}} | </syntaxhighlight>|$|/home/kangkk}} | ||