aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/http/request_proxy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/http/request_proxy.rs')
-rw-r--r--crates/shirabe/src/util/http/request_proxy.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/http/request_proxy.rs b/crates/shirabe/src/util/http/request_proxy.rs
index 49aa885..1262622 100644
--- a/crates/shirabe/src/util/http/request_proxy.rs
+++ b/crates/shirabe/src/util/http/request_proxy.rs
@@ -1,13 +1,12 @@
//! ref: composer/src/Composer/Util/Http/RequestProxy.php
+use crate::downloader::TransportException;
use indexmap::IndexMap;
use shirabe_php_shim::{
CURLAUTH_BASIC, CURLOPT_NOPROXY, CURLOPT_PROXY, CURLOPT_PROXY_CAINFO, CURLOPT_PROXY_CAPATH,
CURLOPT_PROXYAUTH, CURLOPT_PROXYUSERPWD, InvalidArgumentException, PhpMixed,
};
-use crate::downloader::TransportException;
-
// contextOptions = array{http: array{proxy: string, header?: string, request_fulluri?: bool}}
type ContextOptions = IndexMap<String, IndexMap<String, PhpMixed>>;