Module: HTTPX::Plugins::ServerSentEvents::RequestMethods

Defined in:
lib/httpx/plugins/server_sent_events.rb,
sig/plugins/server_sent_events.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#last_server_sent_message ⇒ Message?

Returns the value of attribute last_server_sent_message.

Returns:



61
62
63
# File 'lib/httpx/plugins/server_sent_events.rb', line 61

def last_server_sent_message
  @last_server_sent_message
end

Instance Method Details

#initialize ⇒ Object



63
64
65
66
67
# File 'lib/httpx/plugins/server_sent_events.rb', line 63

def initialize(*)
  super

  @last_server_sent_message = nil
end