Before that we used the JsonServiceClient directly.
What i noticed now is that we are missing onAuthenticationRequired on the Interface.
Since we use it to redirect to the login screen and as far as i can see all implementations of IServiceClient support that, could you add AsyncCallbackFunction onAuthenticationRequired; to the IServiceClient.
I found another missing method on the interface: `createUrlFromDto’ which we also use.
sorry that i missed that one on the initial request, but it should be all now for us.
Utility methods don’t belong on the interface so I’ve consolidated them as extension methods on IServiceClient instead. This change is available from 1.0.22 no on pub.
with the newest feature we are working on, we take a look into request filters on the client.
I saw now that those are also missing on the interface.
I gathered now the list of properties which both jsonWebClient and JsonServiceClient have in common.
Couldn’t all of them be on the interface?
For me it sounds legit that they are on the interface
No the filters are incompatible as they’re passed different concrete http client implementations (HttpClientRequest vs Request), you’ll need to cast to JsonServiceClient or JsonWebClient to access the filters of each Service Client.