Commit Graph

43 Commits

Author SHA1 Message Date
Pilzinsel64
fcd23152e2 dedicated autorestart method 2025-01-22 15:23:59 +01:00
Pilzinsel64
d948ba4135 auto-restart on fatal http error 2025-01-22 15:20:39 +01:00
Pilzinsel64
8e22be7d9f check StatusCode is between 200 and 299 2025-01-20 10:55:18 +01:00
Pilzinsel64
4701de0bdc add more pre-defined ApiResult methods 2025-01-20 09:10:17 +01:00
Pilzinsel64
69e0900f7d match whole string 2024-12-18 10:41:57 +01:00
Pilzinsel64
7c6b30aa7b make httpclient public 2024-12-17 14:40:24 +01:00
Pilzinsel64
93cea9fea3 return raw response 2024-12-12 13:34:48 +01:00
Pilzinsel64
441b4a0494 move GetClient to IApiClient 2024-12-12 12:58:25 +01:00
Pilzinsel64
ddc0f33e90 passthrow raw content 2024-12-12 11:37:52 +01:00
Pilzinsel64
ab6411fe39 improvements 2024-12-12 07:31:25 +01:00
Pilzinsel64
2b0b094731 basic sub-client implementation 2024-12-12 07:30:10 +01:00
a6e38dd59d ApiParameterCollection: allow null 2024-12-10 06:03:09 +01:00
45b58aa5a2 use wrapped dictionary as api params collection 2024-12-09 07:46:58 +01:00
cdd7915142 improve logging 2024-12-09 06:29:05 +01:00
917e9edd80 add support for parameter building on ApiClient 2024-12-07 08:21:50 +01:00
Pilzinsel64
6c60d271ad support queries 2024-12-06 11:52:57 +01:00
Pilzinsel64
8ef03235fe another minor register handler fix for handlers with parameters 2024-12-03 06:20:09 +01:00
2bd241c7a9 fix inverted condition 2024-12-02 15:57:30 +01:00
Pilzinsel64
3fea994e93 remove invalid attribute parameter 2024-11-29 11:33:17 +01:00
Pilzinsel64
9dcaa7e507 add support for REST-ful API building
- allow parameters within url
- allow different methods other then just POST
-> still needs to be tested!
2024-11-28 09:03:48 +01:00
Pilzinsel64
25c6aa4c30 only receive if listening 2024-11-18 15:29:51 +01:00
81b8426b41 improve api server error handling 2024-11-14 06:03:01 +01:00
9482e64fd9 fix setting handler 2024-11-08 07:37:41 +01:00
2e420ad902 add check context events 2024-11-08 07:36:46 +01:00
Pilzinsel64
11c0711726 add handler to authentication check 2024-10-28 09:20:50 +01:00
Pilzinsel64
65d2c8d6de Fix ApiResponse.IsOk beeing wrong 2024-10-25 10:24:27 +02:00
Pascal Schedel
25a8cd48be add statuscode to apiexception 2024-10-25 07:35:03 +02:00
cc8757b61e add toggle to for processing multiple requests 2024-10-24 10:29:24 +02:00
b2a1cc2da8 minimal optimizations 2024-10-24 09:11:45 +02:00
48ae689a34 improve parameter detection 2024-10-24 08:24:26 +02:00
8f7d8839bf add some debug logging 2024-10-24 06:15:45 +02:00
Pascal Schedel
cd64a2ee53 make ApiMessgae.Empty static 2024-10-23 14:56:49 +02:00
Pascal Schedel
59e9499d92 minimal improvements for ApiResponse 2024-10-23 12:51:36 +02:00
8a8407d86e rename MessageSerializer to ApiMessageSerializer 2024-10-17 10:10:19 +02:00
Pilzinsel64
64dc7c776a api: allow no parameter on server 2024-09-30 14:38:18 +02:00
ab268e6584 add more helper methods 2024-08-22 14:38:32 +02:00
aed2cc4d88 minor fixes for api 2024-08-17 10:12:44 +02:00
Pilzinsel64
f509c53836 minor fixes 2024-08-16 10:01:57 +02:00
Pilzinsel64
a58bd055b5 remove IMessageSerializer from basic request methods 2024-08-16 09:54:00 +02:00
Pilzinsel64
8f3f572c28 more work on api 2024-08-16 09:52:48 +02:00
Pilzinsel64
df4adb8435 some more work on api 2024-08-16 09:19:03 +02:00
Pilzinsel64
e24e6e5bca add logging & plish up 2024-08-16 07:22:29 +02:00
Pilzinsel64
2efb4f141c more work on api & rename to Pilz.Net 2024-08-16 06:59:39 +02:00