AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.7" />

 MessageEvent

public class MessageEvent : Event
Represents the event arguments when receiving a message.
public object Data { get; }

Gets the data that is carried by the message.

public string LastEventId { get; }

Gets the id of the last event.

public string Origin { get; }

Gets the origin of the message.

public IMessagePort[] Ports { get; }

Gets the used message ports.

public IWindow Source { get; }

Gets the source of the message.

public MessageEvent()

Creates a new event.

public MessageEvent(string type, bool bubbles, bool cancelable, object data, string origin, string lastEventId, IWindow source, IMessagePort[] ports)

Creates a new event and initializes it.

public MessageEvent(string type, IDictionary<string, object> eventInitDict = null)

Creates a new event and initializes it.

public void Init(string type, bool bubbles, bool cancelable, object data, string origin, string lastEventId, IWindow source, IMessagePort[] ports)

Initializes the message event.