Class MessageReceivedEventArgs
The parameter type for a MessageReceived event handler.
Inherited Members
Namespace: LaunchDarkly.EventSource
Assembly: LaunchDarkly.EventSource.dll
Syntax
public class MessageReceivedEventArgs : EventArgs
Constructors
MessageReceivedEventArgs(MessageEvent)
Initializes a new instance.
Declaration
public MessageReceivedEventArgs(MessageEvent message)
Parameters
Type | Name | Description |
---|---|---|
MessageEvent | message | the MessageEvent received from the stream |
Properties
EventName
Shortcut for getting the Name property of the event.
Declaration
public string EventName { get; }
Property Value
Type | Description |
---|---|
string |
Message
A MessageEvent representing the event that was received from the SSE stream.
Declaration
public MessageEvent Message { get; }
Property Value
Type | Description |
---|---|
MessageEvent |