Sha256: 71c25935b1710f779467104adfc07138376dce792d0aa964911638f5541d42e0
Contents?: true
Size: 333 Bytes
Versions: 10
Compression:
Stored size: 333 Bytes
Contents
#!/usr/bin/env ruby require 'pp' require File.join(File.dirname(__FILE__), "..", 'lib', 'fsr') $stdout.flush require "fsr/listener/inbound" class IesDemo < FSR::Listener::Inbound def on_event(event) pp event.headers pp event.content[:event_name] end end FSR.start_ies!(IesDemo, :host => "localhost", :port => 8021)
Version data entries
10 entries across 10 versions & 2 rubygems