KodiEhf/erlang-stomp-client — Issue #1: Stateful message function
Author: gregorej
Created: 2011-10-24 14:28:12+00:00
State: open

Hi!

I would like to use your code in my Erlang application but I would like to have stateful on_message function. Example:

```
my_function(Messages, State) ->
...
NewState.

stomp_client:start(Host, Port, Login, Passwd, fun my_function/2).
```

This would enable for example to remember last few messages. Is it possible to implement such thing in short time?