elixir-soap / soap

SOAP client for Elixir programming language
MIT License
135 stars 75 forks source link

Expose HTTPoison config #71

Closed youalreadydid closed 5 years ago

youalreadydid commented 5 years ago

Hi,

I need to configure HTTPoison in Soap.initmodel(, :url) to have a :recv_timeout bigger than the default (5s). Is possible to expose the configuration in some way? Thanks!

Nitrino commented 5 years ago

Hi @youalreadydid. You can pass HTTPoison options by the last parameter to Soap.call/5. Details about Soap.call/5 in docs: https://hexdocs.pm/soap/Soap.html#call/5

Nitrino commented 5 years ago

Oh, sorry you mean Soap.init_model/2 function. I think we should add a parameter by analogy with Soap.call/5. I will add this in the next few days.