{"json_modified": "2016-01-03T07:05:47.549419", "slug": "Web/API/EventSource", "tags": ["Reference", "API", "Interface", "Server-sent events"], "locale": "ja", "title": "EventSource", "translations": [{"title": "EventSource", "url": "/en-US/docs/Web/API/EventSource", "tags": ["Reference", "API", "Interface", "Server-sent events"], "summary": "The EventSource
interface is used to receive server-sent events. It connects to a server over HTTP and receives events in text/event-stream
format without closing the connection.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-21T07:06:39", "review_tags": []}, {"title": "EventSource", "url": "/zh-CN/docs/Server-sent_events/EventSource", "tags": [], "summary": "EventSource
\u63a5\u53e3\u7528\u6765\u7ba1\u7406\u670d\u52a1\u5668\u53d1\u9001\u4e8b\u4ef6.\u4f60\u53ef\u4ee5\u901a\u8fc7\u5c06EventSource
\u5bf9\u8c61\u7684onmessage\u5c5e\u6027\u6307\u5411\u4e00\u4e2a\u81ea\u5b9a\u4e49\u65b9\u6cd5\u6765\u5904\u7406\u90a3\u4e9b
\u4ece\u670d\u52a1\u5668\u63a5\u53d7\u5230\u7684\u65e0\u7c7b\u578b\u7684\u6d88\u606f(\u4e5f\u5c31\u662f,\u6ca1\u6709event\u5b57\u6bb5\u7684\u6d88\u606f
).\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528addEventListener()\u65b9\u6cd5\u6765\u76d1\u542c
\u5176\u4ed6\u6307\u5b9a\u4e86\u4e8b\u4ef6\u7c7b\u578b\u7684\u6d88\u606f.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2013-01-20T03:45:22", "review_tags": []}, {"title": "EventSource", "url": "/pt-BR/docs/Web/API/EventSource", "tags": [], "summary": "A interface EventSource
\u00a0\u00e9 usada para receber eventos enviados pelo servidor (server-sent events). Ele se conecta via HTTP\u00a0em um servidor e recebe eventos com o formato\u00a0text/event-stream
\u00a0 sem fechar a conex\u00e3o.", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-08-04T07:29:39", "review_tags": []}, {"title": "EventSource", "url": "/ru/docs/Web/API/EventSource", "tags": [], "summary": "\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u00a0EventSource
\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 (\u042berver-sent events). \u041e\u043d \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u043e HTTP \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435\u00a0text/event-stream \u0431\u0435\u0437 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-08-21T12:48:51", "review_tags": ["technical"]}], "modified": "2016-01-03T07:05:20", "label": "EventSource", "localization_tags": [], "url": "/ja/docs/Web/API/EventSource", "last_edit": "2016-01-03T07:05:17", "summary": "EventSource
\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306f\u3001Server-sent events \u3092\u53d7\u3051\u53d6\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002HTTP \u3067\u30b5\u30fc\u30d0\u3068\u63a5\u7d9a\u3057\u3066\u3001\u63a5\u7d9a\u3092\u5207\u65ad\u305b\u305a\u306b text/event-stream
\u5f62\u5f0f\u3067\u30a4\u30d9\u30f3\u30c8\u3092\u53d7\u4fe1\u3057\u307e\u3059\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Properties", "title": "\u30d7\u30ed\u30d1\u30c6\u30a3"}, {"id": "Methods", "title": "\u30e1\u30bd\u30c3\u30c9"}, {"id": "Specifications", "title": "\u4ed5\u69d8"}, {"id": "Browser_compatibility", "title": "\u30d6\u30e9\u30a6\u30b6\u5b9f\u88c5\u72b6\u6cc1"}, {"id": "See_also", "title": "\u95a2\u9023\u60c5\u5831"}], "id": 171747, "review_tags": []}