Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions impit-node/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ export interface ImpitOptions {
*
* Supports HTTP, HTTPS, SOCKS4 and SOCKS5 proxies.
*
* **Warning:** Not supported when HTTP/3 is enabled.
*
* @default `undefined` (no proxy)
*/
proxyUrl?: string
Expand All @@ -274,6 +276,8 @@ export interface ImpitOptions {
/**
* Enable HTTP/3 support.
*
* **Warning:** Proxies are not supported when HTTP/3 is enabled.
*
* @default `false`
*/
http3?: boolean
Expand Down
4 changes: 4 additions & 0 deletions impit-node/src/impit_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ pub struct ImpitOptions<'a> {
///
/// Supports HTTP, HTTPS, SOCKS4 and SOCKS5 proxies.
///
/// **Warning:** Not supported when HTTP/3 is enabled.
///
/// @default `undefined` (no proxy)
pub proxy_url: Option<String>,
/// Default timeout for this Impit instance in milliseconds.
pub timeout: Option<u32>,
/// Enable HTTP/3 support.
///
/// **Warning:** Proxies are not supported when HTTP/3 is enabled.
///
/// @default `false`
pub http3: Option<bool>,
/// Whether to follow redirects or not.
Expand Down
64 changes: 32 additions & 32 deletions impit-node/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2406,58 +2406,58 @@ __metadata:
languageName: node
linkType: hard

"impit-darwin-arm64@npm:0.8.2":
version: 0.8.2
resolution: "impit-darwin-arm64@npm:0.8.2"
"impit-darwin-arm64@npm:0.9.0":
version: 0.9.0
resolution: "impit-darwin-arm64@npm:0.9.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"impit-darwin-x64@npm:0.8.2":
version: 0.8.2
resolution: "impit-darwin-x64@npm:0.8.2"
"impit-darwin-x64@npm:0.9.0":
version: 0.9.0
resolution: "impit-darwin-x64@npm:0.9.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"impit-linux-arm64-gnu@npm:0.8.2":
version: 0.8.2
resolution: "impit-linux-arm64-gnu@npm:0.8.2"
"impit-linux-arm64-gnu@npm:0.9.0":
version: 0.9.0
resolution: "impit-linux-arm64-gnu@npm:0.9.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"impit-linux-arm64-musl@npm:0.8.2":
version: 0.8.2
resolution: "impit-linux-arm64-musl@npm:0.8.2"
"impit-linux-arm64-musl@npm:0.9.0":
version: 0.9.0
resolution: "impit-linux-arm64-musl@npm:0.9.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"impit-linux-x64-gnu@npm:0.8.2":
version: 0.8.2
resolution: "impit-linux-x64-gnu@npm:0.8.2"
"impit-linux-x64-gnu@npm:0.9.0":
version: 0.9.0
resolution: "impit-linux-x64-gnu@npm:0.9.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"impit-linux-x64-musl@npm:0.8.2":
version: 0.8.2
resolution: "impit-linux-x64-musl@npm:0.8.2"
"impit-linux-x64-musl@npm:0.9.0":
version: 0.9.0
resolution: "impit-linux-x64-musl@npm:0.9.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"impit-win32-arm64-msvc@npm:0.8.2":
version: 0.8.2
resolution: "impit-win32-arm64-msvc@npm:0.8.2"
"impit-win32-arm64-msvc@npm:0.9.0":
version: 0.9.0
resolution: "impit-win32-arm64-msvc@npm:0.9.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"impit-win32-x64-msvc@npm:0.8.2":
version: 0.8.2
resolution: "impit-win32-x64-msvc@npm:0.8.2"
"impit-win32-x64-msvc@npm:0.9.0":
version: 0.9.0
resolution: "impit-win32-x64-msvc@npm:0.9.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand All @@ -2470,14 +2470,14 @@ __metadata:
"@types/express": "npm:^5.0.0"
"@types/node": "npm:^24.0.0"
express: "npm:^5.0.0"
impit-darwin-arm64: "npm:0.8.2"
impit-darwin-x64: "npm:0.8.2"
impit-linux-arm64-gnu: "npm:0.8.2"
impit-linux-arm64-musl: "npm:0.8.2"
impit-linux-x64-gnu: "npm:0.8.2"
impit-linux-x64-musl: "npm:0.8.2"
impit-win32-arm64-msvc: "npm:0.8.2"
impit-win32-x64-msvc: "npm:0.8.2"
impit-darwin-arm64: "npm:0.9.0"
impit-darwin-x64: "npm:0.9.0"
impit-linux-arm64-gnu: "npm:0.9.0"
impit-linux-arm64-musl: "npm:0.9.0"
impit-linux-x64-gnu: "npm:0.9.0"
impit-linux-x64-musl: "npm:0.9.0"
impit-win32-arm64-msvc: "npm:0.9.0"
impit-win32-x64-msvc: "npm:0.9.0"
proxy-chain: "npm:^2.5.9"
socks-server-lib: "npm:^0.0.3"
tough-cookie: "npm:^6.0.0"
Expand Down
12 changes: 12 additions & 0 deletions impit-python/python/impit/impit.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,17 @@ class Client:
.. note::
The HTTP/3 support is experimental and may not work with all servers. The impersonation capabilities are limited when using HTTP/3.

.. warning::
Proxies are not supported when HTTP/3 is enabled.

proxy:

The proxy URL to use for all the requests made by this client.

This can be an HTTP, HTTPS, or SOCKS proxy.

.. warning::
Not supported when HTTP/3 is enabled.
timeout:
Default request timeout in seconds.

Expand Down Expand Up @@ -716,11 +722,17 @@ class AsyncClient:
.. note::
The HTTP/3 support is experimental and may not work with all servers. The impersonation capabilities are limited when using HTTP/3.

.. warning::
Proxies are not supported when HTTP/3 is enabled.

proxy:

The proxy URL to use for all the requests made by this client.

This can be an HTTP, HTTPS, or SOCKS proxy.

.. warning::
Not supported when HTTP/3 is enabled.
timeout:
Default request timeout in seconds.

Expand Down