{"json_modified": "2016-07-14T19:53:14.496902", "uuid": "8c4a8242-9267-421b-bac2-8e83747d8639", "title": "EventSource", "url": "/en-US/docs/Web/API/EventSource", "tags": ["Reference", "API", "Interface", "Server-sent events"], "translations": [{"uuid": "83642448-9b77-4fa1-b868-79fa86b673b6", "title": "EventSource", "url": "/de/docs/Web/API/EventSource", "tags": ["Referenz", "API", "Interface", "Server-sent events"], "summary": "Das EventSource-Interface erlaubt das Empfangen von Server-Sent Events. Es erlaubt den Zugriff auf Events im text/event-stream
Format \u00fcber eine persistente HTTP-Verbindung.", "localization_tags": ["inprogress"], "locale": "de", "last_edit": "2016-06-03T06:39:25", "review_tags": []}, {"uuid": "81aa99b9-2817-4007-b845-20fd2eddf7b8", "title": "EventSource", "url": "/fr/docs/Web/API/EventSource", "tags": [], "summary": "L'interface EventSource
est utilis\u00e9 pour recevoir des \u00e9v\u00e9nements (au sens de donn\u00e9es)\u00a0envoy\u00e9s par le serveur par la m\u00e9thode\u00a0push.\u00a0La connexion au service utilise le protocole HTTP, qui re\u00e7oit les \u00e9v\u00e9nements dans le format\u00a0text/event-stream
format sans avoir de fermeture de connexion (c'est-\u00e0-dire une connexion continue).", "localization_tags": [], "locale": "fr", "last_edit": "2016-01-21T03:18:39", "review_tags": ["technical", "editorial"]}, {"uuid": "61db032d-2b67-4de4-9bdc-deffcfc09e55", "title": "EventSource", "url": "/ja/docs/Web/API/EventSource", "tags": ["Reference", "API", "Interface", "Server-sent events"], "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", "localization_tags": [], "locale": "ja", "last_edit": "2016-01-03T07:05:17", "review_tags": []}, {"uuid": "31839b11-c0ec-4980-8e67-5cab37fd5d5d", "title": "EventSource", "url": "/nl/docs/Web/API/EventSource", "tags": [], "summary": "De\u00a0EventSource
interface wordt gebruikt om door de server afgeschoten events te ontvangen. Het verbind met de server via HTTP, en ontvangt events in het text/event-stream format, zonder de verbinding te sluiten.
", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2016-01-28T06:01:57", "review_tags": ["editorial"]}, {"uuid": "c65807f9-769c-4d16-a932-4b601f78a7a9", "title": "EventSource", "url": "/pt-BR/docs/Web/API/EventSource", "tags": ["API", "Interface", "eventos"], "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": "2016-07-14T19:53:08", "review_tags": []}, {"uuid": "0b80206e-c47b-4402-afb7-243e55a34f67", "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 (Server-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": "2016-02-03T05:29:30", "review_tags": ["technical"]}, {"uuid": "7213a339-ecd9-4da5-9119-83769cf6070d", "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": []}], "modified": "2016-06-13T08:30:07", "label": "EventSource", "localization_tags": [], "locale": "en-US", "id": 4939, "last_edit": "2016-06-13T08:29:59", "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Constructor", "title": "Constructor"}, {"id": "Properties", "title": "Properties"}, {"id": "Methods", "title": "Methods"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/EventSource", "review_tags": []}