4

To implement keep alive feature for Ejabberd it recommends to send a \n character to server.

I'm using strophe.js as the client library. How do I send neutral character from strophe?

beaver
  • 17,333
  • 2
  • 40
  • 66
gibsosmart
  • 137
  • 1
  • 8

1 Answers1

1

You can try to encode the carriage return (CR) character. That is, you can use its character entity: 

beaver
  • 17,333
  • 2
  • 40
  • 66