Apaq / StompDart

A Stomp implementation for Dart heavily inspired by StompJS
Apache License 2.0
8 stars 4 forks source link

Fix SocketAdapter stream transformer #12

Closed sdeleuze closed 10 years ago

Dumbris commented 10 years ago

Great! I suppose this patch also fix "content-length" issue https://github.com/Apaq/StompDart/issues/9

michaelkrog commented 10 years ago

I think you might be right @Dumbris. And I think it comes down to DataEvent.data being a variable type instead of a strict type. I'm thinking that DataEvent.data should be changed to String and then its up to the socketadapters to change whatever kind of data they get into String -just like @sdeleuze is doing in this PR.

michaelkrog commented 10 years ago

This PR and another commit has been relased at pub.dartlang.org as part of 0.2.2