Commit Graph

2 Commits

Author SHA1 Message Date
Ryan Nowak 8a7bac13b3
Add IDisposable to DaprClient (#563)
Fixes: #559

This change adds disposable support to DaprClient, and updates samples
to dispose it.

I didn't update tests because there are literally hundreds of
non-find-and-replacable cases, and we're not actually doing networking
in our tests so it won't cause an issue.
2021-01-26 15:45:01 -08:00
Ryan Nowak f6aec35b9b
Add HttpClient support for Dapr service invocation (#544)
- Adds a new message handler for HttpClient interop
- Adds an easy way to create HttpClient instances
- A bunch of sample cleanup/polish/simplification

The main thing here is the added ability to interop with HttpClient. We'll be making some future changes to the service invocation APIs in DaprClient to address dapr/dapr#2342 since that issues greatly simplifies the interface we're dealing with.

Fixes: #526
2021-01-17 16:22:45 -08:00