background preloader

Web Protocols

Facebook Twitter

Quick Escape - A tool to convert raw HTML to escape characters | Developer Tools.

CORS

Apache Kafka. HTML Standard. 9 Communication 9.1 The MessageEvent interfaces Messages in server-sent events, Web sockets, cross-document messaging, channel messaging, and broadcast channels use the MessageEvent interface for their message events: [Constructor(DOMString type, optional MessageEventInit eventInitDict), Exposed=(Window,Worker)] interface MessageEvent : Event { readonly attribute any data; readonly attribute DOMString origin; readonly attribute DOMString lastEventId; readonly attribute (WindowProxy or MessagePort)?

MessageEventInit : EventInit { any data; DOMString origin; DOMString lastEventId; (WindowProxy or MessagePort)? . data Returns the data of the message. . origin Returns the origin of the message, for server-sent events and cross-document messaging. . lastEventId Returns the last event ID string, for server-sent events. . source Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects. The.