1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-06-13 04:21:30 +03:00
Commit Graph

78 Commits

Author SHA1 Message Date
7170f7fc5f library release 2016-12-16 17:11:40 +01:00
b8820741df Merge pull request #7 from sandeepmistry/response-body
Make HttpClient::responseBody more robust

Tested LGTM
2016-12-16 16:51:25 +01:00
b6eaf7ce37 Make description match library.properties 2016-10-14 15:28:19 -04:00
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
172049e0c3 Also set iBodyLengthConsumed to zero when parsing 2016-08-12 17:00:56 -04:00
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
dbf13c8aa7 Add change log 0.1.0 2016-07-05 10:40:06 -04:00
67b4e3cd47 Add includes key in library.properties 2016-07-05 09:46:46 -04:00
364364744e Create src folder 2016-07-05 09:32:13 -04:00
e36394733e Make bracket style consistent 2016-07-05 09:21:08 -04:00
f9f75fb6ea Update library.properties 2016-07-04 16:15:45 -04:00
a19197cebe Merge pull request #5 from sandeepmistry/websocket
Add initial WebSocket client
2016-07-01 13:25:41 +01:00
f99517c3e5 Correct endMessage return value, add check for TX state 2016-06-29 14:15:22 -04:00
00cd68f52f Add ping, pong, and connection close support 2016-06-29 13:04:27 -04:00
1c56734360 Add new SimpleWebSocket example 2016-06-28 16:56:20 -04:00
6a924a90aa Update keywords.txt 2016-06-28 16:56:20 -04:00
0cb4f90f2a Add initial WebSocketClient 2016-06-28 16:56:20 -04:00
32895db9d6 Treat 101 status codes as a complete 2016-06-28 16:56:20 -04:00
9328370395 Add WebSocket server to getPostPutDelete.js using ws 2016-06-28 16:56:20 -04:00
829cb2d1f7 Make whitespace consistent in getPostPutDelete.js 2016-06-28 16:56:20 -04:00
6c39432271 Merge pull request #2 from sandeepmistry/master
More updates
2016-06-23 10:02:37 +02:00
8f42a68a50 Always finish headers if a request body is provided to startRequest 2016-06-22 12:59:38 -04:00
f56eecbc6f Add new responseBody API to simplify reading response body as a String 2016-06-22 12:47:56 -04:00
bdc5281733 Add new del API for HTTP DELETE method 2016-06-22 12:16:12 -04:00
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
4ab54b0a1a Merge pull request #1 from sandeepmistry/master
Various updates
2016-06-21 21:36:50 +02:00
248841e827 Add .gitignore 2016-06-21 14:11:39 -04:00
fc3e6c6fe7 Initial port of examples from RestClient 2016-06-21 14:10:43 -04:00
94a8723420 Make WiFiClient and HttpClient global var in example 2016-06-17 17:29:47 -04:00
9f0078440f Move new API definitions down a bit in header 2016-06-17 16:50:43 -04:00
8012c8dace Add noDefaultRequestHeaders API to turn off sending default headers 2016-06-17 16:49:52 -04:00
0bcba913fd Move storing of initialState in startRequest to the start 2016-06-17 16:38:09 -04:00
70dc5ee44e Remove unimplemented finishRequest from header 2016-06-17 16:37:32 -04:00
5df9084d8e Correct some warnings 2016-06-17 15:34:49 -04:00
f12a797fb3 Add connectionKeepAlive to keywords.txt and add comment for it 2016-06-17 15:20:16 -04:00
91ea1fd8fa Remove installation instructions, update dependencies 2016-06-17 15:10:32 -04:00
c5484daee9 Update keywords.txt for new API's 2016-06-17 15:08:11 -04:00
343a417d1b Update header comment 2016-06-17 14:59:37 -04:00
7ee216f4aa Use http.endOfBodyReached() in example instead of tracking body len 2016-06-17 14:58:17 -04:00
255118660b Make skipResponseHeaders() optional, if contentLength() is called first 2016-06-17 14:55:03 -04:00
4b6f4dfa29 Add check for bodyLen in read loop 2016-06-17 14:37:51 -04:00
bfedff87c1 Add connection keep alive support 2016-06-17 14:18:11 -04:00
33804d4534 Add support for String parameters to sendHeader and sendHeader 2016-06-17 12:55:17 -04:00
9ab55ef6e2 New API's to read header name and value as String's 2016-06-17 12:48:49 -04:00
625154754a Remove unused code 2016-06-17 11:09:37 -04:00
777b561cc5 Make white space consistent 2016-06-17 11:09:14 -04:00
3beefd981a Add support for String parameter types for host and URL path 2016-06-17 11:01:38 -04:00
0030d41287 Make server name/address and port constructor arguments 2016-06-17 10:56:27 -04:00
e3a6c20cd9 Remove proxy support (for now) 2016-06-17 10:13:56 -04:00
ad9bd94136 Wrap proxy member var declarations in #ifdef 2016-06-17 10:02:32 -04:00