Dotnet Core How to pass HttpClient to ServiceModel?

Viewed 122

How would you pass custom HttpClient to ServiceModel class with constructor:

HelloServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)

HelloServiceClient is generated by svcutil. There was discussion on github but it isn't directly related to ServiceModel.

Thanks!

0 Answers
Related