Commit Graph

62 Commits

Author SHA1 Message Date
Pilzinsel64
413669a68f fix typo 2025-04-01 06:36:24 +02:00
Pilzinsel64
81c0d51417 only allow reference types on the server side 2025-03-28 11:08:48 +01:00
Pilzinsel64
8de643b7d1 add some default types to de-duplicate similar implmentations 2025-03-28 10:40:48 +01:00
Pilzinsel64
ca06ed3da6 expose registerhandler method with attribute parameter 2025-03-18 15:09:40 +01:00
Pilzinsel64
4a732cb3ac add IApiHandlerInitializer 2025-03-18 15:01:48 +01:00
Pilzinsel64
307092cfc2 ignore IsEmpty property of ApiMessage 2025-03-18 10:58:47 +01:00
Pilzinsel64
24cde0bd03 better support of raw data transfer 2025-03-18 08:56:08 +01:00
ab67023ea4 another improvement 2025-02-06 15:00:46 +01:00
Pilzinsel64
4e849845c6 minor adjustments 2025-02-04 15:02:59 +01:00
Pilzinsel64
22c962bec7 minimal improvements for autorestart and slot handling 2025-02-04 14:35:22 +01:00
9ff34c44b2 try improve sensitive error handling 2025-02-03 14:43:51 +01:00
Pilzinsel64
49b5ebddb1 don't error when stopping 2025-01-28 08:47:55 +01:00
Pilzinsel64
49f0f63338 it's RegEx, nothing else!!! 2025-01-28 08:42:22 +01:00
Pilzinsel64
43f7684074 more performant check 2025-01-28 08:27:09 +01:00
Pilzinsel64
5d941506f6 improve TryGetHandler to find direct matches before checking via RegEx 2025-01-28 08:25:26 +01:00
Pilzinsel64
c7f343544d last fix 2025-01-28 07:39:58 +01:00
Pilzinsel64
c02763ae9a release semaphore only if requied 2025-01-28 07:37:43 +01:00
Pilzinsel64
f8bce850d5 try solving a softlock 2025-01-28 06:52:00 +01:00
Pilzinsel64
232c94c61f use SemaphoreSlim to limit the amount of parallel http requests 2025-01-24 06:10:43 +01:00
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