aesteve / vertx-sse

Add support for Server-Sent-Events in Vert.x Web
Apache License 2.0
47 stars 13 forks source link

Add setEncoding #5

Closed aesteve closed 9 years ago

aesteve commented 9 years ago

So that an user can provide it's own encoding.

Check in the spec if it's possible ??

aesteve commented 9 years ago

Nope

The event stream is a simple stream of text data, which must be encoded using UTF-8. Each message is separated by a pair of newline characters. A colon as the first character of a line is, in essence, a comment, and is ignored.