docstring for handler in run-jetty doesn't match api
mpenet opened this issue · comments
Max Penet commented
the handler keys functions should be
{:on-connect (fn [ws])
:on-close (fn [ws])
:on-error (fn [ws e])
:on-text (fn [ws msg])
:on-byte (fn [ws bytes offset length])}
right now they mention create-fn
etc, following a different naming scheme.
I might throw a PR when I get some free time.
Thanks for this adapter btw, very useful.
Cheers