lib/envoy/server/channel.rb in envoy-proxy-0.0.8 vs lib/envoy/server/channel.rb in envoy-proxy-0.0.9

- old
+ new

@@ -16,14 +16,17 @@ def stream data @trunk.send_object :stream, id, data end + def message data + @trunk.send_object :message, data + end + def id @id ||= SecureRandom.hex(4) end end end end -