Skip to content

Please add proxy support for http package #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Jun 5, 2015 · 2 comments
Closed

Please add proxy support for http package #26

DartBot opened this issue Jun 5, 2015 · 2 comments
Labels
closed-as-intended Closed as the reported issue is expected behavior type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jun 5, 2015

Originally opened as dart-lang/sdk#22453

This issue was originally filed by [email protected]


I was planning to use http package (https://pub.dartlang.org/packages/http) to make requests to remote server.
Unfortunately, my network uses proxy.

While dart's stadard lib's io HttpClient supports proxy, it's not true for http package.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/5449880?v=3" align="left" width="48" height="48"hspace="10"> Comment by iposva-google


Added Pkg-Http, Area-Pkg, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


When running on the VM, the http library uses an HttpClient under the hood. You can instantiate IOClient directly with a custom HttpClient (http://www.dartdocs.org/documentation/http/0.11.1+1/index.html#http/http.IOClient); this allows you to do low-level configuration like proxy logic while still using the nice http API.


Added AsDesigned label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-as-intended Closed as the reported issue is expected behavior type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant