ekstrand / ESP8266wifi

ESP8266 Arduino library with built in reconnect functionality
MIT License
451 stars 235 forks source link

Question: HTTP wrappers #8

Closed romangromov closed 9 years ago

romangromov commented 9 years ago

Hi @ekstrand, thanks for your great library.

Is there any known wrappers to support HTTP stuff over ESP8266wifi library? I mean it would be great to use such a functions like below

HttpRequest req = new HttpRequest();
req.setUrl("hello/world");
req.setHeader("Accpet-Encodings", "gzip")
wifi.send(SERVER, req);

instead of low-level Strings manipulation to build http request message manually.

Thank you in advance!

ekstrand commented 9 years ago

Hi, I don't know. If some one wrote one I would be happy to include it in the library. I personally don't use http :)

Hälsningar/Regards Jonas Ekstrand +46736397439

Inspirativ AB | www.inspirativ.se | Smyckegränd 18 12641 Hägersten

20 jun 2015 kl. 14:58 skrev Roman Gromov notifications@github.com:

Hi @ekstrand, thanks for your great library.

Is there any known wrappers to support HTTP stuff over ESP8266wifi library? I mean it would be great to use such a functions like below

HttpRequest req = new HttpRequest(); req.setUrl("hello/world"); req.setHeader("Accpet-Encodings", "gzip") wifi.send(SERVER, req); instead of low-level Strings manipulation to build http request message manually.

Thank you in advance!

— Reply to this email directly or view it on GitHub.

romangromov commented 9 years ago

@ekstrand thank you for response, anyway

ekstrand commented 9 years ago

You are welcome. If wish I hade the time to add that feature, it would be nice for all of you doing http. / Jonas

2015-06-24 22:08 GMT+02:00 Roman Gromov notifications@github.com:

@ekstrand https://github.com/ekstrand thank you for response, anyway

— Reply to this email directly or view it on GitHub https://github.com/ekstrand/ESP8266wifi/issues/8#issuecomment-114995558.

Mvh/Regards Jonas Ekstrand 0736-397439

Inspirativ AB | Org. nr. 556763-5494 | jonas@inspirativ.se | www.inspirativ.se