1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-04-19 21:22:15 +03:00

89 Commits

Author SHA1 Message Date
Sandeep Mistry
fdedff59b8 Rename isChunked to isResponseChunked 2017-04-13 09:33:01 -04:00
Sandeep Mistry
2a9c01c210 Change read() to always check available() if response is chunked 2017-03-25 09:40:52 -04:00
Sandeep Mistry
522cf5d11a Add support for chunked response bodies 2017-03-23 14:42:34 -04:00
agdl
5bda5b6f07 release commit 0.2.0 2017-01-12 16:20:57 +01:00
Arturo Guadalupi
767ecf2fe9 Added Custom Header Example (#20)
Added the example posted in #12 to close the PR. Tested and it works
2017-01-12 10:10:02 -05:00
agdl
4e21c8497e Make Node.js and npm version requirements less strict 2017-01-12 15:41:54 +01:00
Arturo Guadalupi
4b1f768fd9 Merge pull request #18 from sandeepmistry/http-patch
Add support for PATCH operations
2017-01-12 15:19:57 +01:00
Arturo Guadalupi
25f4578c65 Merge pull request #19 from sandeepmistry/basic-auth-example
Add new basic auth example
2017-01-11 10:18:01 +01:00
Sandeep Mistry
bdb8c02702 Add new basic auth example 2017-01-03 16:33:14 -05:00
Sandeep Mistry
d261fa35f5 Add support for PATCH operations 2017-01-03 16:20:03 -05:00
agdl
68aebb113a Fixed changelog 0.1.1 2016-12-16 17:13:16 +01:00
agdl
7170f7fc5f library release 2016-12-16 17:11:40 +01:00
Arturo Guadalupi
b8820741df Merge pull request #7 from sandeepmistry/response-body
Make HttpClient::responseBody more robust

Tested LGTM
2016-12-16 16:51:25 +01:00
Sandeep Mistry
b6eaf7ce37 Make description match library.properties 2016-10-14 15:28:19 -04:00
Daniel Mack
208005fec2 Add library.json for PlatformIO integration
See

  http://docs.platformio.org/en/stable/librarymanager/creating.html
2016-08-22 11:28:22 +02:00
Sandeep Mistry
172049e0c3 Also set iBodyLengthConsumed to zero when parsing 2016-08-12 17:00:56 -04:00
Sandeep Mistry
fe46191445 Make HttpClient::responseBody more robust
Return invalidated String if memory allocation fails or content length
does not match body data length. Also, use timed reads to support
responses without a content length.
2016-07-12 17:23:48 -04:00
Sandeep Mistry
dbf13c8aa7 Add change log 0.1.0 2016-07-05 10:40:06 -04:00
Sandeep Mistry
67b4e3cd47 Add includes key in library.properties 2016-07-05 09:46:46 -04:00
Sandeep Mistry
364364744e Create src folder 2016-07-05 09:32:13 -04:00
Sandeep Mistry
e36394733e Make bracket style consistent 2016-07-05 09:21:08 -04:00
Sandeep Mistry
f9f75fb6ea Update library.properties 2016-07-04 16:15:45 -04:00
Massimo Banzi
a19197cebe Merge pull request #5 from sandeepmistry/websocket
Add initial WebSocket client
2016-07-01 13:25:41 +01:00
Sandeep Mistry
f99517c3e5 Correct endMessage return value, add check for TX state 2016-06-29 14:15:22 -04:00
Sandeep Mistry
00cd68f52f Add ping, pong, and connection close support 2016-06-29 13:04:27 -04:00
Sandeep Mistry
1c56734360 Add new SimpleWebSocket example 2016-06-28 16:56:20 -04:00
Sandeep Mistry
6a924a90aa Update keywords.txt 2016-06-28 16:56:20 -04:00
Sandeep Mistry
0cb4f90f2a Add initial WebSocketClient 2016-06-28 16:56:20 -04:00
Sandeep Mistry
32895db9d6 Treat 101 status codes as a complete 2016-06-28 16:56:20 -04:00
Sandeep Mistry
9328370395 Add WebSocket server to getPostPutDelete.js using ws 2016-06-28 16:56:20 -04:00
Sandeep Mistry
829cb2d1f7 Make whitespace consistent in getPostPutDelete.js 2016-06-28 16:56:20 -04:00
Massimo Banzi
6c39432271 Merge pull request #2 from sandeepmistry/master
More updates
2016-06-23 10:02:37 +02:00
Sandeep Mistry
8f42a68a50 Always finish headers if a request body is provided to startRequest 2016-06-22 12:59:38 -04:00
Sandeep Mistry
f56eecbc6f Add new responseBody API to simplify reading response body as a String 2016-06-22 12:47:56 -04:00
Sandeep Mistry
bdc5281733 Add new del API for HTTP DELETE method 2016-06-22 12:16:12 -04:00
Sandeep Mistry
c3023b25ee Add optional content type, content length and body parameters to post, put, and startRequest
Also, flush client RX data in start request, if state is ready body.
2016-06-22 12:10:47 -04:00
Massimo Banzi
4ab54b0a1a Merge pull request #1 from sandeepmistry/master
Various updates
2016-06-21 21:36:50 +02:00
Sandeep Mistry
248841e827 Add .gitignore 2016-06-21 14:11:39 -04:00
Sandeep Mistry
fc3e6c6fe7 Initial port of examples from RestClient 2016-06-21 14:10:43 -04:00
Sandeep Mistry
94a8723420 Make WiFiClient and HttpClient global var in example 2016-06-17 17:29:47 -04:00
Sandeep Mistry
9f0078440f Move new API definitions down a bit in header 2016-06-17 16:50:43 -04:00
Sandeep Mistry
8012c8dace Add noDefaultRequestHeaders API to turn off sending default headers 2016-06-17 16:49:52 -04:00
Sandeep Mistry
0bcba913fd Move storing of initialState in startRequest to the start 2016-06-17 16:38:09 -04:00
Sandeep Mistry
70dc5ee44e Remove unimplemented finishRequest from header 2016-06-17 16:37:32 -04:00
Sandeep Mistry
5df9084d8e Correct some warnings 2016-06-17 15:34:49 -04:00
Sandeep Mistry
f12a797fb3 Add connectionKeepAlive to keywords.txt and add comment for it 2016-06-17 15:20:16 -04:00
Sandeep Mistry
91ea1fd8fa Remove installation instructions, update dependencies 2016-06-17 15:10:32 -04:00
Sandeep Mistry
c5484daee9 Update keywords.txt for new API's 2016-06-17 15:08:11 -04:00
Sandeep Mistry
343a417d1b Update header comment 2016-06-17 14:59:37 -04:00
Sandeep Mistry
7ee216f4aa Use http.endOfBodyReached() in example instead of tracking body len 2016-06-17 14:58:17 -04:00