You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we do in Dotnet today, it would be nice to give users the option to create an HTTP Client via the Java SDK through a factory. This would remove the current encapsulation around the existing invokeMethod and allow users additional options for HTTP Client without having to have all the method overloads.
For example in Dotnet:
var httpClient = DaprClient.CreateInvokeHttpClient();
var response = await httpClient.PostAsJsonAsync("http://order-processor/orders", order);
In the past we simplified this and now there is only HTTP for methodInvoke() and waitForSidecar(), but would be nice to standardize the SDKs: #1051
The text was updated successfully, but these errors were encountered:
As we do in Dotnet today, it would be nice to give users the option to create an HTTP Client via the Java SDK through a factory. This would remove the current encapsulation around the existing invokeMethod and allow users additional options for HTTP Client without having to have all the method overloads.
For example in Dotnet:
In the past we simplified this and now there is only HTTP for methodInvoke() and waitForSidecar(), but would be nice to standardize the SDKs: #1051
The text was updated successfully, but these errors were encountered: