diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-15 23:41:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 10:00:40 +0900 |
| commit | d6ee7d49506a87c34aa5b407932d414a552a4523 (patch) | |
| tree | 540da05188fae3ac9f4d0232e1c347bd2b557dad /crates/shirabe-php-shim | |
| parent | b6a887e7e5db7747cf05a4c1558a6d765cf7c24e (diff) | |
| download | php-shirabe-d6ee7d49506a87c34aa5b407932d414a552a4523.tar.gz php-shirabe-d6ee7d49506a87c34aa5b407932d414a552a4523.tar.zst php-shirabe-d6ee7d49506a87c34aa5b407932d414a552a4523.zip | |
feat(port): port RequestProxy.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index b362d7f..ad75991 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -602,3 +602,16 @@ impl FilesystemIterator { pub const KEY_AS_PATHNAME: i64 = 256; pub const CURRENT_AS_FILEINFO: i64 = 0; } + +pub const CURLOPT_PROXY: i64 = 10004; +pub const CURLOPT_NOPROXY: i64 = 10177; +pub const CURLOPT_PROXYAUTH: i64 = 111; +pub const CURLOPT_PROXYUSERPWD: i64 = 10006; +pub const CURLAUTH_BASIC: i64 = 1; +pub const CURLOPT_PROXY_CAINFO: i64 = 246; +pub const CURLOPT_PROXY_CAPATH: i64 = 247; +pub const CURL_VERSION_HTTPS_PROXY: i64 = 2097152; + +pub fn curl_version() -> Option<IndexMap<String, Box<PhpMixed>>> { + todo!() +} |
