hmil / RosHTTP

Unified Scala.js + Scala HTTP client API
MIT License
126 stars 24 forks source link

Optimize string bodies #22

Open hmil opened 8 years ago

hmil commented 8 years ago

Most bodies are simple strings and do not need to be encoded in a byte buffer. This case could be optimized by providing the backend with a string instead of a buffer for those cases.