Struct MessageEvent
Assembly: LaunchDarkly.EventSource.dll
Syntax
public struct MessageEvent
Constructors
MessageEvent(string, Utf8ByteSpan, string, Uri)
Declaration
public MessageEvent(string name, Utf8ByteSpan dataUtf8Bytes, string lastEventId, Uri origin)
Parameters
MessageEvent(string, string, string, Uri)
Declaration
public MessageEvent(string name, string data, string lastEventId, Uri origin)
Parameters
MessageEvent(string, string, Uri)
Declaration
public MessageEvent(string name, string data, Uri origin)
Parameters
Fields
DefaultName
Declaration
public const string DefaultName = "message"
Field Value
Properties
Data
Declaration
public string Data { get; }
Property Value
DataUtf8Bytes
Declaration
public Utf8ByteSpan DataUtf8Bytes { get; }
Property Value
IsDataUtf8Bytes
Declaration
public bool IsDataUtf8Bytes { get; }
Property Value
LastEventId
Declaration
public string LastEventId { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Origin
Declaration
public Uri Origin { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides