Class WebSocketTerminatedLogEvent
Must be logged by the server (notifier) when a Web Socket connection is terminated. May be logged by the client (subscriber). See Section 2.9.11 of NENA-STA-24.1a-2023.
Inherited Members
Namespace: I3V3.LogEvents
Assembly: Ng911Lib.dll
Syntax
public class WebSocketTerminatedLogEvent : LogEvent
Constructors
| Edit this page View SourceWebSocketTerminatedLogEvent()
Constructor
Declaration
public WebSocketTerminatedLogEvent()
Properties
| Edit this page View SourcecloseCode
Contains a WebSocket Close frame status code per RFC 6455. Required.
Declaration
public int closeCode { get; set; }
Property Value
Type | Description |
---|---|
int |
closeText
Text that describes the closeCode.
Declaration
public string closeText { get; set; }
Property Value
Type | Description |
---|---|
string |
direction
Set to either "outgoing" or "incoming". Required.
Declaration
public string direction { get; set; }
Property Value
Type | Description |
---|---|
string |
peerId
If logged by the server then set to the ID of the client. If logged by the client then set to the ID of the server. Required.
Declaration
public string peerId { get; set; }
Property Value
Type | Description |
---|---|
string |
webSocketId
Must match the webSocketId property in the corresponding WebSocketEstablishedLogEvent log event. Required.
Declaration
public string webSocketId { get; set; }
Property Value
Type | Description |
---|---|
string |