Comments (13)
That is a good way to define proxy
http proxy: http://docs.python-requests.org/en/master/user/advanced/#proxies
socks5 proxy: http://docs.python-requests.org/en/master/user/advanced/#socks
from sttp.
Anybody working on this? I can take it
from sttp.
@omainegra go ahead :)
from sttp.
any luck with that issue maybe? :)
from sttp.
@adamw Still working on this, sorry for the delay but I got hit by Irma and electricity and internet just came back.
from sttp.
@omainegra sorry to hear that, hope that you & your family is fine! no hurry with the code, just checking :)
from sttp.
I would really like to see that working 👍
from sttp.
@omainegra hey, is everything fine? we didn't hear from you for a while
from sttp.
@omainegra I hope you are fine, for now I implemented proxy support as an option passed to the backend when creating it. Hope to hear from you in the future :)
from sttp.
Released in 0.0.17
from sttp.
How can I use it with Monix
Backend?
Also wouldn't it be better to try to read default java proxy parameters by default?
from sttp.
For example:
implicit val backend = AsyncHttpClientMonixBackend(
options = SttpBackendOptions.httpProxy("some.host", 8080))
sttp.get(uri"...").send()
Sure, reading the default java proxy parameters is an option - though I don't like this style of "global" configuration. Maybe you'd like to attempt making a PR? :)
from sttp.
Maybe you'd like to attempt making a PR? :)
I sure will try 👍
Also, thanks for the example. I was using AsyncHttpClientMonixHandler
back from 0.0.12
so that was why I could not find a proper option :-)
from sttp.
Related Issues (20)
- CatsMonadAsyncError shouldn't use eval for blocking HOT 1
- Add an option of automatic pings and pongs to web sockets in HtttpClient backends
- Add support for play-json 3 HOT 1
- Update to Prometheus 1.x.x HOT 3
- [BUG] HEAD request times out using Http4s backend HOT 2
- Http proxy problem with async-http-client-backend-zio:3.9.1
- Uri interpolation incorrectly percent-encodes some characters HOT 2
- where is basicRequest? HOT 1
- AbstractFetchBackend does not support manual cancellation/interruption
- Expose AsyncHttpClient when creating AsyncHttpClientBackend HOT 2
- Preserve request-metadata in SttpBackendStub HOT 2
- is `null` valid header field value? HOT 5
- Integrate oauth? HOT 16
- add support Tethys json HOT 2
- Add Scala 3 support for play-json HOT 4
- quickRequest: Unexpected behaviour dependent on method order HOT 4
- Refactor metrics names according to standards
- Metrics caching rework
- No json4s release for scala 3 HOT 4
- Add Ox integration: SSE & WebSockets? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sttp.