Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: RZ_A2M_Mbed_samples_20201012 RZ_A2M_Mbed_samples
Diff: source/https_request.h
- Revision:
- 15:ffc77f212382
- Parent:
- 11:96e4dcb9c0c2
- Child:
- 20:0e63d6a93c02
--- a/source/https_request.h	Thu Mar 30 15:13:37 2017 +0200
+++ b/source/https_request.h	Fri Jul 28 14:26:26 2017 +0200
@@ -24,7 +24,7 @@
 #include "http_parser.h"
 #include "http_response.h"
 #include "http_request_builder.h"
-#include "http_response_parser.h"
+#include "http_request_parser.h"
 #include "http_parsed_url.h"
 #include "tls_socket.h"
 
@@ -157,7 +157,7 @@
         // Create a response object
         _response = new HttpResponse();
         // And a response parser
-        HttpResponseParser parser(_response, _body_callback);
+        HttpParser parser(_response, HTTP_RESPONSE, _body_callback);
 
         // Set up a receive buffer (on the heap)
         uint8_t* recv_buffer = (uint8_t*)malloc(HTTP_RECEIVE_BUFFER_SIZE);