{"json_modified": "2016-10-16T23:42:45.461535", "uuid": "0961f051-6fa7-4c73-b49a-7eb36292e7ff", "title": "Writing WebSocket client applications", "url": "/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications", "tags": ["Guide", "WebSocket", "WebSockets"], "translations": [{"uuid": "44da5985-c244-4ad3-8f5e-40d079162e32", "title": "Escribiendo aplicaciones con WebSockets", "url": "/es/docs/WebSockets-840092-dup/Writing_WebSocket_client_applications", "tags": ["Gu\u00eda WebSocket WebSockets"], "summary": "WebSockets es una tecnolog\u00eda basada en el protocolo ws, este hace posible establecer una conexi\u00f3n continua \u00a0full-duplex, entre un cliente y servidor. Un cliente websocket podr\u00eda ser el navegador del usuario, pero el protocolo es una plataforma independiente.", "localization_tags": [], "locale": "es", "last_edit": "2016-04-27T23:56:36", "review_tags": []}, {"uuid": "10722c64-7c4f-424b-b6e5-40d91c796abd", "title": "Writing WebSocket client applications", "url": "/fr/docs/WebSockets/Writing_WebSocket_client_applications", "tags": [], "summary": "Les WebSockets repr\u00e9sentent une technologie qui rend possible l'ouverture de sessions de communication interactive et bilat\u00e9rale entre un navigateur web et un serveur. En utilisant une connexion de type websocket, la communication entre un serveur et une application web se fait en temps r\u00e9el et ne repose donc plus sur l'envoi et la r\u00e9ception de requ\u00eates en diff\u00e9r\u00e9.", "localization_tags": [], "locale": "fr", "last_edit": "2014-01-03T15:11:26", "review_tags": []}, {"uuid": "de649f70-a67b-46cd-a907-334f50ee19ea", "title": "Writing WebSocket client applications", "url": "/hu/docs/WebSockets/Writing_WebSocket_client_applications", "tags": [], "summary": "WebSockets is a technology, based on the ws protocol, that makes it possible to establish a continuous full-duplex connection stream between a client and a server. \u00a0A typical websocket client would be a user's browser, but the protocol is platform independent.\u00a0", "localization_tags": ["inprogress"], "locale": "hu", "last_edit": "2015-05-04T16:31:07", "review_tags": []}, {"uuid": "e8332d82-01de-4362-a7b6-b4e8f5d8c545", "title": "Writing WebSocket client applications", "url": "/ja/docs/Web/API/WebSockets_API/Writing_WebSocket_client_applications", "tags": ["WebSocket", "WebSockets", "\u8981\u66f4\u65b0"], "summary": "WebWebSockets \u306f\u30e6\u30fc\u30b6\u306e\u30d6\u30e9\u30a6\u30b6\u3068\u30b5\u30fc\u30d0\u9593\u3067\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u901a\u4fe1\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u958b\u304f\u3053\u3068\u3092\u53ef\u80fd\u306b\u3059\u308b\u6280\u8853\u3067\u3059\u3002 WebSocket \u30b3\u30cd\u30af\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3001Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u5fdc\u7b54\u306e\u5909\u66f4\u3092\u30dd\u30fc\u30ea\u30f3\u30b0\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u901a\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-04-30T20:29:44", "review_tags": []}, {"uuid": "9eccf77b-22d9-4fca-9769-6b35fa7f34f8", "title": "WebSocket\uc744 \uc774\uc6a9\ud558\uc5ec \ud074\ub77c\uc774\uc5b8\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc791\uc131\ud558\uae30", "url": "/ko/docs/WebSockets/Writing_WebSocket_client_applications", "tags": ["\uc6f9\uc18c\ucf13", "\uac00\uc774\ub4dc"], "summary": "WebSocket\uc740 ws \ud504\ub85c\ud1a0\ucf5c\uc744 \uae30\ubc18\uc73c\ub85c\u00a0\ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84 \uc0ac\uc774\uc5d0 \uc9c0\uc18d\uc801\uc778 \uc644\uc804 \uc591\ubc29\ud5a5 \uc5f0\uacb0 \uc2a4\ud2b8\ub9bc\uc744 \ub9cc\ub4e4\uc5b4\u00a0\uc8fc\ub294 \uae30\uc220\uc785\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc778 \uc6f9\uc18c\ucf13 \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \uc0ac\uc6a9\uc790\uc758 \ube0c\ub77c\uc6b0\uc800\uc77c \uac83\uc774\uc9c0\ub9cc, \uadf8\ub807\ub2e4\uace0 \ud574\uc11c\u00a0\uc774 \ud504\ub85c\ud1a0\ucf5c\uc774 \ud50c\ub7ab\ud3fc\uc5d0 \uc885\uc18d\uc801\uc774\uc9c0\ub294 \uc54a\uc2b5\ub2c8\ub2e4.", "localization_tags": ["inprogress"], "locale": "ko", "last_edit": "2016-06-29T22:23:51", "review_tags": []}, {"uuid": "5541f684-f383-4667-89f7-a4f59057cc49", "title": "\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u043e\u0432", "url": "/ru/docs/WebSockets/Writing_WebSocket_client_applications", "tags": [], "summary": "\u0412\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u044b - \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0438\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u0441\u0435\u0441\u0441\u0438\u044e \u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043c\u0435\u0436\u0434\u0443 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u0421\u043e\u0435\u0434\u0438\u043d\u044f\u044f\u0441\u044c \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431\u0441\u043e\u043a\u0435\u0442\u044b, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043c\u043e\u0433\u0443\u0442 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0432 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u043a\u043b\u0438\u0435\u043d\u0442\u0443 \u043e \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445/\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0445.", "localization_tags": [], "locale": "ru", "last_edit": "2015-09-29T13:16:40", "review_tags": []}, {"uuid": "62932cbf-b6b2-4393-bf2b-c474e4de2656", "title": "\u7f16\u5199 WebSocket \u5ba2\u6237\u7aef\u7a0b\u5e8f", "url": "/zh-CN/docs/WebSockets/Writing_WebSocket_client_applications", "tags": [], "summary": "WebSockets \u662f\u4e00\u79cd\u57fa\u4e8e ws \u534f\u8bae\u7684\u6280\u672f\uff0c\u5b83\u4f7f\u5f97\u5efa\u7acb\u5168\u53cc\u5de5\u8fde\u63a5\u6210\u4e3a\u53ef\u80fd\u3002websocket \u5e38\u89c1\u4e8e\u6d4f\u89c8\u5668\u4e2d\uff0c\u4f46\u662f\u8fd9\u4e2a\u534f\u8bae\u4e0d\u53d7\u4f7f\u7528\u5e73\u53f0\u7684\u9650\u5236\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-12-31T03:39:34", "review_tags": []}, {"uuid": "5f13d143-601e-4257-b31d-f35e3c76039b", "title": "\u88fd\u4f5c WebSocket \u5ba2\u6236\u7aef\u61c9\u7528\u7a0b\u5f0f", "url": "/zh-TW/docs/WebSockets/Writing_WebSocket_client_applications", "tags": ["WebSockets"], "summary": "WebSocket \u662f\u4e00\u7a2e\u8b93\u700f\u89bd\u5668\u8207\u4f3a\u670d\u5668\u9032\u884c\u4e00\u6bb5\u4e92\u52d5\u901a\u8a0a\u7684\u6280\u8853\u3002\u4f7f\u7528\u9019\u9805\u6280\u8853\u7684 Webapp \u53ef\u4ee5\u76f4\u63a5\u9032\u884c\u5373\u6642\u901a\u8a0a\u800c\u4e0d\u9700\u8981\u4e0d\u65b7\u5c0d\u8cc7\u6599\u66f4\u6539\u9032\u884c\u8f2a\u8a62\uff08polling\uff09\u3002", "localization_tags": [], "locale": "zh-TW", "last_edit": "2016-10-16T23:42:41", "review_tags": ["technical", "editorial"]}], "modified": "2015-12-29T11:51:04", "label": "Writing WebSocket client applications", "localization_tags": [], "locale": "en-US", "id": 27, "last_edit": "2015-12-29T11:51:02", "summary": "WebSockets is a technology, based on the ws protocol, that makes it possible to establish a continuous full-duplex connection stream between a client and a server. \u00a0A typical websocket client would be a user's browser, but the protocol is platform independent.\u00a0", "sections": [{"id": "Creating_a_WebSocket_object", "title": "Creating a WebSocket object"}, {"id": "Connection_errors", "title": "Connection errors"}, {"id": "Examples", "title": "Examples"}, {"id": "Sending_data_to_the_server", "title": "Sending data to the server"}, {"id": "Using_JSON_to_transmit_objects", "title": "Using JSON to transmit objects"}, {"id": "Receiving_messages_from_the_server", "title": "Receiving messages from the server"}, {"id": "Receiving_and_interpreting_JSON_objects", "title": "Receiving and interpreting JSON objects"}, {"id": "Text_data_format", "title": "Text data format"}, {"id": "Closing_the_connection", "title": "Closing the connection"}, {"id": "Security_considerations", "title": "Security considerations"}], "slug": "Web/API/WebSockets_API/Writing_WebSocket_client_applications", "review_tags": []}