1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-06-10 06:01:39 +03:00
Commit Graph

153 Commits

Author SHA1 Message Date
5e1f1f21bf Updated examples and readme.md 2019-01-22 12:12:23 -05:00
b6424e430d gitignore 2019-01-22 12:12:23 -05:00
a5796508f5 gitignore 2019-01-21 18:02:47 -05:00
780546745d Fix incorrect return value, resulting in compilation error
Error in question:

ArduinoHttpClient/src/HttpClient.h: In member function 'virtual void HttpClient::flush()':
ArduinoHttpClient/src/HttpClient.h:310:50: error: return-statement with a value, in function returning 'void' [-fpermissive]
2019-01-02 08:45:24 -05:00
1f81c4e8aa HttpClient: fix sendHeader docstring 2018-09-12 15:05:04 -04:00
acde3dce38 Release 0.3.1 0.3.1 2017-09-25 10:22:19 +02:00
889d7b35d9 St update 2017-09-14 16:27:32 +02:00
050821b224 Merge pull request #26 from sandeepmistry/websocket-sec-key-length
Increase WebSocket sec key length to 24 characters
2017-05-08 15:43:10 +02:00
cfe046dcb3 Increase WebSocket sec key length to 24 characters 2017-05-02 13:18:16 -04:00
4e476a651d Version 0.3.0 0.3.0 2017-04-20 10:08:26 -04:00
765f2db637 Merge pull request #21 from sandeepmistry/chunked-response-body-support
Add support for chunked response bodies
2017-04-13 17:09:57 +02:00
0dd9f42095 Add new /chunked endpoint to Node.js test server 2017-04-13 09:33:29 -04:00
fdedff59b8 Rename isChunked to isResponseChunked 2017-04-13 09:33:01 -04:00
448a1520c8 Add new beginBody API 2017-03-28 14:12:20 -04:00
2394bbb7cd Add initial PostWithHeaders example 2017-03-28 14:09:09 -04:00
2a9c01c210 Change read() to always check available() if response is chunked 2017-03-25 09:40:52 -04:00
522cf5d11a Add support for chunked response bodies 2017-03-23 14:42:34 -04:00
5bda5b6f07 release commit 0.2.0 2017-01-12 16:20:57 +01:00
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
4e21c8497e Make Node.js and npm version requirements less strict 2017-01-12 15:41:54 +01:00
4b1f768fd9 Merge pull request #18 from sandeepmistry/http-patch
Add support for PATCH operations
2017-01-12 15:19:57 +01:00
25f4578c65 Merge pull request #19 from sandeepmistry/basic-auth-example
Add new basic auth example
2017-01-11 10:18:01 +01:00
bdb8c02702 Add new basic auth example 2017-01-03 16:33:14 -05:00
d261fa35f5 Add support for PATCH operations 2017-01-03 16:20:03 -05:00
68aebb113a Fixed changelog 0.1.1 2016-12-16 17:13:16 +01:00
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