Commit Graph

116 Commits

Author SHA1 Message Date
Daniele Teti
9b414b8665 Delphi Tokyo Compat 2024-05-02 19:14:59 +02:00
Daniele Teti
2a7a840b13 Added OnSendData callback in TMVCRESTClient 2024-04-23 14:34:40 +02:00
Daniele Teti
90dcd3bdfe Copyright updated to 2010-2024 2024-01-02 17:04:27 +01:00
Daniele Teti
4b9cb8b5be Defined conditional "ATHENSORBETTER" (was DELPHI12ORBETTER) 2023-11-07 22:41:44 +01:00
Daniele Teti
e1aa50dd86 Delphi12 compatibility 2023-11-06 12:37:33 +01:00
Daniele Teti
9296a57711 https://github.com/danieleteti/delphimvcframework/issues/707 2023-11-05 10:25:45 +01:00
Daniele Teti
bb30db152d Removed a potential memory leak when a JSONRPC with dinamically allocated parameters method raises exception. 2023-05-23 11:45:58 +02:00
João Antônio Duarte
b0035f3e59 Improvements to TMVCRestClient when adding files to multipart/form-data type requests 2023-04-25 10:27:55 -03:00
Daniele Teti
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00
Daniele Teti
9c87e6f302 Added 'Scheme' method on RESTClient 2022-11-23 16:37:41 +01:00
João Antônio Duarte
de6e7960d7 Improved HTTP schema insertion when not defined in MVCRESTClient 2022-08-09 08:29:39 -03:00
João Antônio Duarte
7c6eb51811 Added automatic deserialization to TMVCRESTClient.
Resolves #529
2022-08-03 14:28:01 -03:00
João Antônio Duarte
140b70ba33 + Adjustments for Delphi Seattle/Berlin compatibility 2022-07-15 15:42:29 -03:00
João Antônio Duarte
9b0f4eae20 + Added methods to allow inserting and manipulating client certificates in MVCRESTClient 2022-07-15 10:00:35 -03:00
João Antônio Duarte
762d983e5b + Improved adding Body of TStream type in RESTClient to allow adding Binary Streams 2022-01-18 11:58:39 -03:00
Daniele Teti
a8ce1bb25b + Updated copyright for 2022 2022-01-04 15:44:47 +01:00
Daniele Teti
07e16c1e1f - added AddDefaultConnection overload
- added helper methods to IMVCRESTResponse
2021-10-20 11:29:49 +02:00
Daniele Teti
6837182cc3 + updated copyright header 2021-08-15 18:39:55 +02:00
João Antônio Duarte
e7e5ce5cdf [+] Added ability to access or assign a serializer to the TMVCRESTClient 2021-04-11 17:37:14 -03:00
João Antônio Duarte
d4ffc1329f [+] Improved exception return when executing request in TMVCRESTClient 2021-03-23 09:23:56 -03:00
João Antônio Duarte
779bbee6df [+] Fix https://github.com/danieleteti/delphimvcframework/issues/484 2021-02-16 19:09:46 -03:00
João Antônio Duarte
618a087c86 Small improvement to get the URL in TMVCRESTClient 2021-02-05 16:03:33 -03:00
João Antônio Duarte
196e7cf59f Fix for https://github.com/danieleteti/delphimvcframework/issues/470 2021-01-22 11:37:57 -03:00
João Antônio Duarte
5faeff0868 Expose headers in TMVCRESTClient. 2021-01-15 19:31:33 +01:00
João Antônio Duarte
112bf48101 Added request hooks to TMVCRESTClient 2020-12-16 20:05:39 -03:00
João Antônio Duarte
dd8e11a090 Added HEAD and OPTIONS methods to TMVCRestClient. Fix #455 2020-12-16 18:42:25 -03:00
João Antônio Duarte
8ba8213a6e Compatibility adjustments in the new RESTClient 2020-11-10 19:13:02 -03:00
João Antônio Duarte
0b3bec8f52 DataSetUpdate/DataSetDelete improvements 2020-10-05 18:53:48 -03:00
João Antônio Duarte
c5c9f80e34 Added the execute method to be able to execute any HTTP method. The requests have been changed to send the body for any type of request. 2020-09-29 11:56:25 -03:00
João Antônio Duarte
0dfc83f533 Added custom SSL certificate validation method. 2020-09-24 16:29:49 -03:00
João Antônio Duarte
cf7c81520b Added SessionId method to improve DMVC server session management. SetBasicAuthorization and SetBearerAuthorization methods changed to persist authorization for all requests. 2020-09-24 15:03:11 -03:00
João Antônio Duarte
ea7e80b949 Compatibility improvements 2020-09-22 20:26:13 -03:00
João Antônio Duarte
a07043fe1a Asynchronous methods added. Fixes unit tests. 2020-09-21 20:32:21 -03:00
João Antônio Duarte
b21096b515 RESTClient improvements and LiveTest adjustments 2020-09-17 20:06:24 -03:00
João Antônio Duarte
715a31c0f6 Improvements in the submission of the request body and corrections in handling the response. 2020-09-11 14:55:26 -03:00
João Antônio Duarte
465a7ffad4 Implementation of TMVCRESTResponse methods 2020-09-09 21:40:14 -03:00
João Antônio Duarte
e4bc5f574e Improvements in request pre-processing 2020-09-08 21:00:08 -03:00
João Antônio Duarte
37740ba07c Initial refactoring of TMVCRestclient 2020-09-07 22:21:28 -03:00
João Antônio Duarte
8e0187a408 TMVCRESTClient compatibility fix 2020-08-28 18:21:27 -03:00
João Antônio Duarte
c12f0af6dc Change to pass the ContentType as a string instead of the enumerated type of RESTClient to decrease the clutter, if you want to implement TMVCRESTClient using another HTTP library 2020-08-27 14:32:09 -03:00
João Antônio Duarte
815547b852 Samples changed to use TMVCRESTClient 2020-08-26 17:13:18 -03:00
João Antônio Duarte
e701d8f83c RESTAdapter changed to use TMVCRESTClient 2020-08-26 09:05:12 -03:00
João Antônio Duarte
84bc484344 Various fixes and improvements after unit tests 2020-08-25 20:07:21 -03:00
João Antônio Duarte
ca65b88035 Compatibility improvements between delphi versions. Obtaining response cookies via RTTI for versions prior to Delphi 10.4 Sydney. 2020-08-21 11:22:23 -03:00
João Antônio Duarte
c92ec22fbe Added Cookies to response. Only available from delphi 10.4. See[ RSP-26497](https://quality.embarcadero.com/browse/RSP-26497) 2020-08-20 21:45:51 -03:00
João Antônio Duarte
8afceb53bb Added constants for occurrences of static strings 2020-08-20 19:00:54 -03:00
João Antônio Duarte
7e950800d4 Added asynchronous execution method 2020-08-20 18:35:28 -03:00
João Antônio Duarte
382e7e2715 Correction in function return 2020-08-20 15:38:32 -03:00
João Antônio Duarte
6736c3a662 Improvements in inserting the request body and header. Insertion of new RESTClient methods. 2020-08-20 15:08:41 -03:00
João Antônio Duarte
b5e2ee6f36 The new RESTClient was named TMVCRESTClient.
Added Alias for RESTClient classes based on Indy and marked as deprecated.
2020-08-18 18:19:17 -03:00