struct Protocol::Network::EventSourceMessageReceived

Overview

Fired when EventSource message is received.

Included Modules

Defined in:

protocol/network.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def data : String #

Message content.


[View source]
def event_id : String #

Message identifier.


[View source]
def event_name : String #

Message type.


[View source]
def request_id : RequestId #

Request identifier.


[View source]
def timestamp : MonotonicTime #

Timestamp.


[View source]