KevWK314 / ThreeFourteen.AlphaVantage

.NET library for Alpha Vantage
MIT License
9 stars 9 forks source link

Can we use HttpClient Outgoing Middleware with this? #2

Closed VictorioBerra closed 5 years ago

VictorioBerra commented 5 years ago

I want to use outgoing middleware

It would be nice to be able to provide my own HttpClient and attach my own middleware.

VictorioBerra commented 5 years ago

Looks like adding my own IAlphaVantageService is the best option?

KevWK314 commented 5 years ago

Yes, implementing your own AlphaVantageService is the best. Bit of a pain though that BuildUrl() lives in AlphaVantageService. I might look at moving that somewhere more re-usable.

VictorioBerra commented 5 years ago

That would be very helpful if possible