-
Notifications
You must be signed in to change notification settings - Fork 0
/
socket.io
1 lines (1 loc) · 18.5 KB
/
socket.io
1
<!doctype html><!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--><!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--><!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--><!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]--> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>socket.io - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!</title> <meta property="og:title" content="socket.io - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!" /> <meta property="og:site_name" content="CDNJS.com" /> <meta property="og:type" content="website" /> <meta property="og:url" content="https://cdnjs.com/libraries/socket.io" /> <meta property="og:image" content="/img/logotext.png" /> <meta property="og:description" content="socket.io - node.js realtime framework server - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <meta name="description" content="socket.io - node.js realtime framework server - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!" /> <meta name="keywords" content="websockets, node, popular" /> <script src="/cdn-cgi/apps/head/1S0-wLY5JYDWfGgqcOFYCNLruhI.js"></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/orange/pace-theme-minimal.min.css" integrity="sha256-kb8pRNu1sIwQEWAO/Mqt1S5PZ5xiLd4nBMoSsqdxKPs=" crossorigin="anonymous" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js" integrity="sha256-EPrkNjGEmCWyazb3A/Epj+W7Qm2pB9vnfXw+X6LImPM=" crossorigin="anonymous" async></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/united/bootstrap.min.css" integrity="sha256-IYGI0ovdtvTnw19p8rG6jZjmlX+5x+4rw9uAhk+5OC4=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" /> <link rel="stylesheet" href="/css/theme.css" /> <link rel="stylesheet" href="/css/main.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/app-loading/0.0.51/app-loading.min.css" integrity="sha256-CYVY39mQQ+3yRKbAaPcIrOcRUUVw+L3BFBM1s/lRb0s=" crossorigin="anonymous" /> <link rel="dns-prefetch" href="//cdn.carbonads.com" /> <link rel="dns-prefetch" href="//static.getclicky.com" /> <link rel="dns-prefetch" href="//www.google-analytics.com" /> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="cdnjs" /> <link rel="shortcut icon" href="https://cdnjs.com/favicon.ico" /> <link rel="icon" href="https://cdnjs.com/favicon.ico" /> <link rel="canonical" href="https://cdnjs.com" /> </head> <body> <span id="forkongithub"><a href="https://github.com/cdnjs/cdnjs" target="_blank">CDNJS on GitHub</a></span> <div class="container "> <div class="row"> <div class="col-md-12"> <div class="menu btn-group"> <a class="btn btn-link logo" href="/">cdnjs</a> <a class="btn btn-link btn-space" href="https://www.cloudflare.com/network-map" target="_blank">Network</a> <a class="btn btn-link btn-space" href="http://stats.pingdom.com/4jg86a2wqei0" target="_blank">Uptime</a> <a class="btn btn-link btn-space" href="https://listium.com/@thomasdavis/16783/most-copied-libraries-on-cdnjscom" target="_blank">Top 200</a> <div class="btn-group btn-space"> <a id="gitStatsGroupDrop" class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="#"> git stats <span class="caret"></span> </a> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="gitStatsGroupDrop"> <li class="dropdown-header">main repo</li> <li><a href="/git_stats/cdnjs/general.html" title="~201804" target="_blank">git_stats</a></li> <li><a href="/gitstats/cdnjs/" title="~201804" target="_blank">gitstats</a></li> <li class="dropdown-header">new-website</li> <li><a href="/git_stats/new-website/general.html" title="~201804" target="_blank">git_stats</a></li> <li><a href="/gitstats/new-website/" title="~201804" target="_blank">gitstats</a></li> <li class="dropdown-header">auto-updater</li> <li><a href="/git_stats/autoupdate/general.html" title="~201612" target="_blank">git_stats</a></li> <li><a href="/gitstats/autoupdate/" title="~201612" target="_blank">gitstats</a></li> <li class="dropdown-header">importer</li> <li><a href="/git_stats/cdnjs-importer/general.html" title="~201602" target="_blank">git_stats</a></li> <li><a href="/gitstats/cdnjs-importer/" title="~201602" target="_blank">gitstats</a></li> <li class="dropdown-header">buildScript</li> <li><a href="/git_stats/buildScript/general.html" title="~201612" target="_blank">git_stats</a></li> <li><a href="/gitstats/buildScript/" title="~201612" target="_blank">gitstats</a></li> <li class="dropdown-header">atom-extension</li> <li><a href="/git_stats/atom-extension/general.html" title="~201602" target="_blank">git_stats</a></li> <li><a href="/gitstats/atom-extension/" title="~201602" target="_blank">gitstats</a></li> <li class="dropdown-header">tutorials</li> <li><a href="/git_stats/tutorials/general.html" title="~201602" target="_blank">git_stats</a></li> <li><a href="/gitstats/tutorials/" title="~201602" target="_blank">gitstats</a></li> </ul> </div> <div class="btn-group btn-space"> <a id="gourceGroupDrop" class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="#"> gource <span class="caret"></span> </a> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="gourceGroupDrop"> <li><a href="https://youtu.be/ehwK-KM4uYQ" target="_blank">main repo</a></li> <li><a href="https://youtu.be/GLH7Ovzi5z8" target="_blank">new-website</a></li> <li><a href="https://youtu.be/Xe5s7fQQdwc" target="_blank">auto-updater</a></li> <li><a href="https://youtu.be/RUYALTcLkyU" target="_blank">importer</a></li> <li><a href="https://youtu.be/kc0DZWJAZm4" target="_blank">buildScript</a></li> <li><a href="https://youtu.be/OHQC1saKU_A" target="_blank">atom-extension</a></li> <li><a href="https://youtu.be/T6ZoTbRX1-A" target="_blank">tutorials</a></li> </ul> </div> <div class="btn-group btn-space"> <a id="supportGroupDrop" class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="#"> Support us! <span class="caret"></span> </a> <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="supportGroupDrop"> <li><a href="https://www.bountysource.com/teams/cdnjs" target="_blank">via Bountysource</a></li> <li><a href="https://liberapay.com/cdnjs/" target="_blank">via Liberapay</a></li> <li><a href="https://tip4commit.com/github/cdnjs/cdnjs" target="_blank">via tip4commit</a></li> <li><a href="https://twitter.com/cdnjs" target="_blank">Contact us!</a></li> </ul> </div> <a class="btn btn-link btn-space" href="/libraries">Browse Libraries</a> <a class="btn btn-link btn-space" href="/api">API</a> <a class="btn btn-link btn-space" href="/about">About</a> </div> </div> </div> </div> <div class="page"> <div class="container"> <div class="row"> <div class="library-container"> <div class="col-md-12"> <div class="row"> <div class="col-md-8"> <h1 style="margin-top: 00px;" id="libraryName">socket.io</h1> <ul class="list-inline"> <li><i class="fa fa-eye"></i><strong> 40780</strong></li> <li><i class="fa fa-star"></i><strong> 40780</strong></li> <li><i class="fa fa-code-fork"></i><strong> 7665</strong></li> </ul> <p><a href="https://socket.io">https://socket.io</a> <span id="library-name" style="display: none;" hidden>socket.io</span> <p> <li class="label" style="color:Black">Links/Tags:</li> <li class="label label-default label-highlight"><a href="https://github.com/cdnjs/cdnjs/commits/master/ajax/libs/socket.io" title="Commit history of socket.io on cdnjs">commits/history</a></li> <li class="label label-default label-highlight"><a href="https://api.cdnjs.com/libraries/socket.io" title="api url of socket.io on cdnjs">cdnjs api</a> <a href="https://api.cdnjs.com/libraries/socket.io?output=human" title="Human readable api output of socket.io"> <i class="fa fa-user"></i></a></li> <a href="https://www.npmjs.com/package/socket.io-client" title="socket.io has auto-update config, this is the link to upstream, click to checkout lastest version on official page."><li class="label label-default label-highlight">npm autoupdate enabled</li></a> <li class="label label-default label-highlight"><a href="https://github.com/socketio/socket.io.git" title="Link to socket.io's source code page.">repository</a></li> <li class="label label-default label-highlight"><a href="https://spdx.org/licenses/MIT.html" title="License info of socket.io, click to see detail.">Current license: MIT</a> </li> </p> <p>node.js realtime framework server</p> <em>websockets, node, popular</em> <br /> </div> <div class="col-md-4"> <script src="https://cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=cdnjscom" id="_carbonads_js" defer></script> </div> </div> <div class="input-group version-dropdown"> <div class="input-group-addon">Version</div> <select class="form-control version-selector" style="float: right;margin-right: 10px;"> <option value="2.1.0" selected>2.1.0</option><option value="2.0.4">2.0.4</option><option value="2.0.3">2.0.3</option><option value="2.0.2">2.0.2</option><option value="2.0.1">2.0.1</option><option value="2.0.0">2.0.0</option><option value="1.7.4">1.7.4</option><option value="1.7.3">1.7.3</option><option value="1.7.2">1.7.2</option><option value="1.7.1">1.7.1</option><option value="1.7.0">1.7.0</option><option value="1.6.0">1.6.0</option><option value="1.5.1">1.5.1</option><option value="1.5.0">1.5.0</option><option value="1.4.8">1.4.8</option><option value="1.4.7">1.4.7</option><option value="1.4.6">1.4.6</option><option value="1.4.5">1.4.5</option><option value="1.4.4">1.4.4</option><option value="1.4.3">1.4.3</option><option value="1.4.2">1.4.2</option><option value="1.4.1">1.4.1</option><option value="1.4.0">1.4.0</option><option value="1.3.7">1.3.7</option><option value="1.3.6">1.3.6</option><option value="1.3.5">1.3.5</option><option value="1.3.4">1.3.4</option><option value="1.3.3">1.3.3</option><option value="1.3.2">1.3.2</option><option value="1.3.1">1.3.1</option><option value="1.3.0">1.3.0</option><option value="1.2.1">1.2.1</option><option value="1.2.0">1.2.0</option><option value="1.1.0">1.1.0</option><option value="1.0.6">1.0.6</option><option value="1.0.5">1.0.5</option><option value="1.0.4">1.0.4</option><option value="1.0.3">1.0.3</option><option value="1.0.2">1.0.2</option><option value="1.0.1">1.0.1</option><option value="1.0.0-pre5">1.0.0-pre5</option><option value="1.0.0-pre4">1.0.0-pre4</option><option value="1.0.0-pre3">1.0.0-pre3</option><option value="1.0.0-pre2">1.0.0-pre2</option><option value="1.0.0-pre">1.0.0-pre</option><option value="1.0.0">1.0.0</option><option value="0.9.17">0.9.17</option><option value="0.9.16">0.9.16</option><option value="0.9.15">0.9.15</option><option value="0.9.11">0.9.11</option><option value="0.9.10">0.9.10</option><option value="0.9.9">0.9.9</option><option value="0.9.8">0.9.8</option><option value="0.9.7">0.9.7</option><option value="0.9.6">0.9.6</option><option value="0.9.5">0.9.5</option><option value="0.9.4">0.9.4</option><option value="0.9.3">0.9.3</option><option value="0.9.2">0.9.2</option><option value="0.9.1-1">0.9.1-1</option><option value="0.9.1">0.9.1</option><option value="0.9.0">0.9.0</option><option value="0.8.7">0.8.7</option><option value="0.8.6">0.8.6</option><option value="0.8.5">0.8.5</option><option value="0.8.4">0.8.4</option><option value="0.8.3">0.8.3</option><option value="0.8.2">0.8.2</option><option value="0.8.1">0.8.1</option><option value="0.8.0">0.8.0</option><option value="0.7.11">0.7.11</option><option value="0.7.10">0.7.10</option><option value="0.7.9">0.7.9</option><option value="0.7.5">0.7.5</option><option value="0.7.4">0.7.4</option><option value="0.7.3">0.7.3</option><option value="0.7.2">0.7.2</option><option value="0.7.1">0.7.1</option><option value="0.7.0">0.7.0</option><option value="0.6.2">0.6.2</option> </select> <div class="input-group-addon">CDN provider</div> <select class="form-control cdn-provider-selector" style="float: right;" disabled> <option value="cloudflare" selected>Cloudflare</option> </select> </div> <div style="clear: both;"></div> <br /> <div data-library-version="2.1.0" class="assets library-table-container"> <table style="margin-top: 10px;" cellpadding="0" cellspacing="0" border="0" class="table table-striped" id="example"> <tbody> <tr class="library js-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.dev.js</p> </td> </tr> <tr class="library map-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.dev.js.map</p> </td> </tr> <tr class="library js-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.js</p> </td> </tr> <tr class="library map-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.js.map</p> </td> </tr> <tr class="library js-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.slim.dev.js</p> </td> </tr> <tr class="library map-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.slim.dev.js.map</p> </td> </tr> <tr class="library js-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.slim.js</p> </td> </tr> <tr class="library map-type"> <td class="library-column" data-lib-name="socket.io" style="position: relative;"> <p class='library-url'>socket.io/2.1.0/socket.io.slim.js.map</p> </td> </tr> </tbody> </table> </div> <h3>Related Tutorials</h3> <p style="margin-bottom: 50px;">Write your own awesome web development tutorials for the libraries on CDNJS! <a href="https://github.com/cdnjs/tutorials" target="_blank">Submit your community driven tutorials now!</a></p> </div></div></div><script>SRI={"socket.io.dev.js":"sha256-9oGOwZ/oTairwbaMRm++W5T0fPMfUcV6R9ibsMbiC1o=","socket.io.js":"sha256-Thm9kMI2BQKxVnCWipQIGeb8QVl2lohO+WWWfCiF8b0=","socket.io.slim.dev.js":"sha256-tcggrYLhZ4MyLJHdc8FNtDFaFQtQuRrQnp2AynOER24=","socket.io.slim.js":"sha256-TjKvu34orT4v6tdwMFrmvqieKl/Rdep7T8hVq57FmEk="}</script> </div> <footer class="footer"> <div class="container"> <p class="text-muted"> Donate CDNJS $5 on <a href="https://www.bountysource.com/teams/cdnjs" target="_blank">Bountysource</a> or become a contributor on <a href="https://github.com/cdnjs/cdnjs" target="_blank"><i class="fa fa-github"></i> GitHub</a> to make the project better and better! </p> </div> </footer> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min.js" integrity="sha256-8E6QUcFg1KTnpEU8TFGhpTGHw5fJqB9vCms3OhAYLqw=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.min.js" integrity="sha256-LcmhwhERhehbcSu6ONVL54dAzJrhoSigqDk+N3Z9ga4=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap-dropdown.min.js" integrity="sha256-rijzCU94p74J5qWPo8AYTAV0nSq9QgjOGe8GOPEy7tM=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.3.1/js/bootstrap-tooltip.min.js" integrity="sha256-9AeT3HOnzBOXSYb0q6qrJzpDO/RB6RXZKyRCrA5dSkY=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha256-Daf8GuI2eLKHJlOWLRR/zRy9Clqcj4TUSumbxYH9kGI=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/algoliasearch/3.24.4/algoliasearchLite.min.js" integrity="sha256-wbEgHd2yM8nVpWCe+opFpIPgmQhxytEHM+r+OW8PW/Q=" crossorigin="anonymous" defer></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/app-loading/0.0.51/app-loading.min.js" integrity="sha256-YSI87JLSmNNNEzQ0YAIi3MWCVwrWJNSWe7u27Rs6c6c=" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/scrollprogress/2.1.2/scrollProgress.min.js" integrity="sha256-G9QkudSF5N+LvucdLGGiCZqtbgLkJ8p8bOyhN68atbM=" crossorigin="anonymous"></script> <script src="/js/main.js" defer></script> <script src="//static.getclicky.com/js" defer></script> <script defer>try{clicky.init(66376315);}catch(err){}</script> <noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/66376315ns.gif" /></p></noscript> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-44291190-1', 'auto'); ga('require', 'linkid', 'linkid.js'); ga('require', 'displayfeatures'); ga('send', 'pageview');if($('.post').length > 0) { $('.menu').parent().removeClass('col-md-12').addClass('col-md-10 col-md-offset-1');}; $('.post > p, .post > h1, .post > h2, .post > ul, .post > h3, .post > blockquote').wrap('<div class="container"><div class="row"><div class="col-md-10 col-md-offset-1">');$('.post > pre > code').wrapInner('<div class="container"><div class="row"><div class="col-md-10 col-md-offset-1">');$('.post code').addClass('hljs');$('.post').show(); </script><script src="https://cdnjs.cloudflare.com/ajax/libs/scrollup/2.4.1/jquery.scrollUp.min.js" integrity="sha256-t2YrqZoTLq/Qt8zIw0BMiuRC2X5+a3O7PODU8RwoyYw=" crossorigin="anonymous"></script> <script defer>hljs.initHighlightingOnLoad();</script><div itemscope itemtype="https://schema.org/WebSite" style="display:none"> <meta itemprop="url" content="https://cdnjs.com/" /> <form itemprop="potentialAction" itemscope itemtype="https://schema.org/SearchAction"> <meta itemprop="target" content="https://cdnjs.com/#q={search_term_string}" /> <input itemprop="query-input" type="text" name="q" required /> <input type="submit" /> </form></div></body></html>