lib/angelo.rb in angelo-0.1.24 vs lib/angelo.rb in angelo-0.2.0
- old
+ new
@@ -53,9 +53,10 @@
DEFAULT_PING_TIME = 30
UNDERSCORE = '_'
DASH = '-'
EMPTY_STRING = ''
+ NEWLINE = "\n"
HALT_STRUCT = Struct.new :status, :body
SSE_DATA_TEMPLATE = "data: %s\n\n"
SSE_EVENT_TEMPLATE = "event: %s\ndata: %s\n\n"