[Freeswitch-dev] event socket protocol

Csaba Zelei csaba.zelei at gmail.com
Tue Jul 22 06:40:26 EDT 2008


Hi,

I played around a little with event socket and found that it send out 
the event like this:

Content-Length: 1057
Content-Type: text/event-xml
\n
<event>
...
</event>\n
Content-Length: 1057
Content-Type: text/event-xml
\n
<event>
...

So my question is wouldnt it be better to separate the event body with a 
\n too from the next header, just like between the header and the body, 
so it would be easier to parse?

Regards,

Csaba Zelei




More information about the Freeswitch-dev mailing list