Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
nozzle
master
Nozzle
Application
Database
Action
Events
Action
LifeCycle
Splash
Handlers
Base
Redis
Listener
Generated using Crystal 1.10.1
2024-02-25 07:37:21 UTC
class
Nozzle::
Listener
Nozzle::Listener
Reference
Object
Defined in:
nozzle/listener.cr
Constructors
.new
(url : String, *channel : String)
Instance Method Summary
#on_action
(handler : Events::Action -> )
#start
(h : Proc | Nil =
nil
)
#stop
(h : Proc | Nil =
nil
)
Constructor Detail
def self.
new
(url : String, *channel : String)
#
[
View source
]
Instance Method Detail
def
on_action
(handler :
Events::Action
-> )
#
[
View source
]
def
start
(h : Proc | Nil =
nil
)
#
[
View source
]
def
stop
(h : Proc | Nil =
nil
)
#
[
View source
]