Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apify/impit
/ functions
Functions
347 in github.com/apify/impit
⨍
Functions
347
◇
Types & classes
255
↓ 100 callers
Method
fetch
Fetch a URL with the given options. This method performs an HTTP request to the specified URL using the provided options. It returns a promise that r
impit-node/src/lib.rs:114
↓ 99 callers
Function
get_httpbin_url
(path: str, *, query: dict[str, list[str] | str] | None = None, https: bool = True)
impit-python/test/httpbin.py:7
↓ 62 callers
Method
get
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:131
↓ 60 callers
Method
clone
(&self)
impit/src/impit.rs:97
↓ 47 callers
Method
json
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:276
↓ 42 callers
Function
getHttpBinUrl
(path: string, https?: boolean)
impit-node/test/basics.test.ts:13
↓ 39 callers
Function
fingerprint
Returns the complete Chrome 142 fingerprint
impit/src/fingerprint/database/chrome.rs:10
↓ 31 callers
Method
get
(&self, key: &str)
impit-node/src/response.rs:22
↓ 31 callers
Method
json
(&mut self, py: Python<'_>)
impit-python/src/response.rs:461
↓ 29 callers
Method
get
( &self, py: Python<'python>, url: String, content: Option<Vec<u8>>, d
impit-python/src/async_client.rs:134
↓ 25 callers
Method
close
(&mut self)
impit-python/src/response.rs:427
↓ 24 callers
Method
iter
(&self)
impit/src/http_headers/mod.rs:22
↓ 18 callers
Method
read
(&mut self, py: Python<'_>)
impit-python/src/response.rs:468
↓ 17 callers
Method
stream
( &self, py: Python<'python>, method: &str, url: String, content: Opti
impit-python/src/client.rs:323
↓ 16 callers
Method
from
(val: Browser)
impit-node/src/impit_builder.rs:123
↓ 15 callers
Method
text
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:256
↓ 12 callers
Function
headers
Chrome 142 HTTP headers
impit/src/fingerprint/database/chrome.rs:127
↓ 12 callers
Function
http2_fingerprint
Chrome 142 HTTP/2 fingerprint
impit/src/fingerprint/database/chrome.rs:110
↓ 12 callers
Function
tls_fingerprint
Chrome 142 TLS fingerprint
impit/src/fingerprint/database/chrome.rs:21
↓ 10 callers
Method
post
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:179
↓ 10 callers
Method
request
( &self, py: Python<'_>, method: &str, url: String, content: Option<Ve
impit-python/src/client.rs:369
↓ 10 callers
Method
set
Set a cookie value by name. May optionally include domain and path.
impit-python/python/impit/cookies.py:49
↓ 9 callers
Method
build
Builds the [`Impit`] instance.
impit/src/impit.rs:230
↓ 9 callers
Method
iter_bytes
(slf: Py<Self>, py: Python)
impit-python/src/response.rs:336
↓ 9 callers
Method
request
( &self, py: Python<'python>, method: &str, url: String, content: Opti
impit-python/src/async_client.rs:372
↓ 9 callers
Method
send
( &self, request: ImpitRequest, timeout: Option<Duration>, http3_prior_knowled
impit/src/impit.rs:451
↓ 8 callers
Method
make_request
( &self, method: Method, url: String, body: Option<Vec<u8>>, options:
impit/src/impit.rs:554
↓ 8 callers
Method
stream
( &self, py: Python<'python>, method: &str, url: String, content: Opti
impit-python/src/async_client.rs:326
↓ 7 callers
Method
get
Get a cookie by name. May optionally include domain and path in order to specify exactly which cookie to retrieve.
impit-python/python/impit/cookies.py:73
↓ 6 callers
Method
bytes
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:231
↓ 6 callers
Function
getServer
()
impit-node/test/basics.test.ts:29
↓ 5 callers
Method
aiter_bytes
(slf: Py<Self>, py: Python)
impit-python/src/response.rs:293
↓ 5 callers
Function
done
(err)
impit-node/test/e2e/run-e2e-tests.mjs:37
↓ 5 callers
Function
isMusl
()
impit-node/index.js:10
↓ 5 callers
Function
make_slow_server
Start a server in a daemon thread that waits `delay` seconds before responding.
impit-python/test/basic_client_test.py:648
↓ 5 callers
Method
post
( &self, py: Python<'python>, url: String, content: Option<Vec<u8>>, d
impit-python/src/async_client.rs:182
↓ 5 callers
Method
with_default_timeout
Sets the default timeout for requests. This setting can be overridden when making the request by using the `RequestOptions` struct.
impit/src/impit.rs:167
↓ 5 callers
Method
with_fingerprint
Sets a complete browser fingerprint. This method allows you to provide a complete fingerprint that includes TLS, HTTP/2, and HTTP header configuratio
impit/src/impit.rs:137
↓ 5 callers
Method
with_http3
Enables HTTP/3 usage for requests. `impit` currently supports HTTP/3 negotiation via the HTTPS DNS record and the `Alt-Svc` header. To enforce HTTP/3
impit/src/impit.rs:179
↓ 5 callers
Method
with_redirect
Sets the desired redirect behavior. By default, the client will follow up to 10 redirects. By passing the `RedirectBehavior::ManualRedirect` option,
impit/src/impit.rs:189
↓ 5 callers
Method
with_tls_fingerprint
(&mut self, fingerprint: TlsFingerprint)
impit/src/tls/mod.rs:108
↓ 4 callers
Method
get
Makes a `GET` request to the specified URL. The `url` parameter should be a valid URL. Additional options like `headers`, `timeout` or HTTP/3 usage c
impit/src/impit.rs:585
↓ 4 callers
Method
get_inner_response
(&self, env: &Env, mut this: This<Object>)
impit-node/src/response.rs:115
↓ 4 callers
Function
headers
Firefox 128 HTTP headers
impit/src/fingerprint/database/firefox.rs:130
↓ 4 callers
Function
http2_fingerprint
Firefox 128 HTTP/2 fingerprint
impit/src/fingerprint/database/firefox.rs:113
↓ 4 callers
Function
parse_timeout
Parse a Python `timeout` argument into `Option<Option<Duration>>`: - `USE_CLIENT_DEFAULT_SENTINEL` string (not provided / explicit sentinel) → `None`
impit-python/src/request.rs:18
↓ 4 callers
Function
tls_fingerprint
Firefox 128 TLS fingerprint
impit/src/fingerprint/database/firefox.rs:21
↓ 4 callers
Method
with_cookie_store
Sets whether to store cookies in the internal Client cookie store. If set to `true`, the client will store cookies in the internal cookie store. If s
impit/src/impit.rs:199
↓ 4 callers
Method
with_ignore_tls_errors
If set to true, the client will ignore TLS-related errors.
impit/src/impit.rs:143
↓ 3 callers
Method
abort
(&mut self)
impit-node/src/response.rs:332
↓ 3 callers
Function
headers
()
impit/src/fingerprint/database/okhttp.rs:135
↓ 3 callers
Function
runServer
(port: number)
impit-node/test/mock.server.ts:57
↓ 3 callers
Method
set_h3_support
(&self, host: &String, supports_h3: bool)
impit/src/http3.rs:79
↓ 3 callers
Function
shared_http2_fingerprint
Shared HTTP/2 fingerprint for all OkHttp versions. OkHttp's HTTP/2 implementation (okhttp2 codec) uses the same settings across versions 3.x through
impit/src/fingerprint/database/okhttp.rs:23
↓ 3 callers
Function
start_proxy_server
(port: int = 3002)
impit-python/test/setup_proxy.py:9
↓ 3 callers
Function
tls_fingerprint
()
impit/src/fingerprint/database/okhttp.rs:77
↓ 3 callers
Method
with_custom_headers
( &mut self, custom_headers: Option<Vec<(String, String)>>, )
impit/src/http_headers/mod.rs:113
↓ 3 callers
Method
with_headers
Sets additional headers to include in every request made by the built [`Impit`] instance. This can be used to add e.g. custom user-agent or authoriza
impit/src/impit.rs:224
↓ 3 callers
Method
with_local_address
Sets the local address to bind the client to. This is useful for testing purposes or when you want to bind the client to a specific network interface
impit/src/impit.rs:209
↓ 3 callers
Method
with_proxy
Sets the proxy URL to use for requests. Note that this proxy will be used for all the requests made by the built [`Impit`] instance.
impit/src/impit.rs:159
↓ 2 callers
Method
#wrapResponse
* Wrap a native response with JS enhancements * @param {object} originalResponse * @param {AbortSignal} signal * @returns {object}
impit-node/index.wrapper.js:366
↓ 2 callers
Method
build
(self)
impit/src/tls/mod.rs:123
↓ 2 callers
Function
canonicalizeHeaders
(headers)
impit-node/index.wrapper.js:31
↓ 2 callers
Method
clear
Delete all cookies. Optionally include a domain and path in order to only delete a subset of all the cookies.
impit-python/python/impit/cookies.py:123
↓ 2 callers
Function
concatUint8Arrays
(chunks)
impit-node/index.wrapper.js:52
↓ 2 callers
Function
decode
Converts a vector of bytes to a [`String`] using the provided encoding. If the encoding is not provided, the function tries to detect it using the BO
impit/src/response_parsing/mod.rs:112
↓ 2 callers
Function
default_multipart_boundary
()
impit/src/fingerprint/mod.rs:63
↓ 2 callers
Method
delete
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:251
↓ 2 callers
Function
determine_encoding
Determines the encoding of a byte stream. If the checks fail, the function returns `None`.
impit/src/response_parsing/mod.rs:126
↓ 2 callers
Method
execute_request
( &self, client: &reqwest::Client, prepared: &PreparedRequest, timeout: Option
impit/src/impit.rs:425
↓ 2 callers
Function
fingerprint_by_name
Resolves a browser identifier string to its [`BrowserFingerprint`]. Shared by the sync and async clients so the two bindings cannot drift apart.
impit-python/src/fingerprint.rs:8
↓ 2 callers
Function
form_to_bytes
(data: HashMap<String, String>)
impit-python/src/request.rs:48
↓ 2 callers
Function
getProxyServer
()
impit-node/test/basics.test.ts:35
↓ 2 callers
Function
get_browser_cache
()
impit/src/tls/mod.rs:19
↓ 2 callers
Function
get_ech_mode
()
impit/src/tls/mod.rs:102
↓ 2 callers
Function
get_vanilla_provider
()
impit/src/tls/mod.rs:23
↓ 2 callers
Method
head
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:155
↓ 2 callers
Method
host_supports_h3
(&self, host: &String)
impit/src/http3.rs:40
↓ 2 callers
Method
options
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:275
↓ 2 callers
Method
patch
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:203
↓ 2 callers
Method
put
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:227
↓ 2 callers
Function
shared_signature_algorithms
Shared signature algorithms for all OkHttp versions with Conscrypt.
impit/src/fingerprint/database/okhttp.rs:44
↓ 2 callers
Function
toUint8Array
(chunk)
impit-node/index.wrapper.js:48
↓ 2 callers
Method
to_rustls_fingerprint
Converts this fingerprint to a rustls TlsFingerprint.
impit/src/fingerprint/mod.rs:229
↓ 2 callers
Method
trace
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:299
↓ 2 callers
Method
with_new_alps_codepoint
(mut self, use_new: bool)
impit/src/fingerprint/mod.rs:181
↓ 1 callers
Method
#fetchWithRedirectHandling
* Fetch with manual redirect handling * @param {string} initialUrl * @param {object} options * @param {AbortSignal} signal * @para
impit-node/index.wrapper.js:291
↓ 1 callers
Method
#generateMultipartFormData
(formData)
impit-node/index.wrapper.js:124
↓ 1 callers
Method
#getCookies
* Get cookies from the cookie jar for a URL * @param {string} url * @returns {Promise<string>}
impit-node/index.wrapper.js:98
↓ 1 callers
Method
#parseFetchOptions
(resource, init)
impit-node/index.wrapper.js:217
↓ 1 callers
Method
#serializeBody
(body)
impit-node/index.wrapper.js:183
↓ 1 callers
Method
#setCookies
* Given response headers, set cookies in the cookie jar * @param {Headers} headers * @param {string} url
impit-node/index.wrapper.js:111
↓ 1 callers
Method
__anext__
(&mut self, py: Python<'py>)
impit-python/src/response.rs:105
↓ 1 callers
Method
aread
(slf: Py<Self>, py: Python<'_>)
impit-python/src/response.rs:381
↓ 1 callers
Method
array_buffer
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:207
↓ 1 callers
Method
body
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:303
↓ 1 callers
Function
bom_sniffing
Implements the BOM sniffing algorithm to detect the encoding of the response. If the BOM sniffing algorithm fails, the function returns `None`. See m
impit/src/response_parsing/mod.rs:8
↓ 1 callers
Method
build
(&self)
impit/src/http_headers/mod.rs:132
↓ 1 callers
Function
buildSpawnArgsFor
(filePath)
impit-node/test/e2e/run-e2e-tests.mjs:14
↓ 1 callers
Method
build_request
( &self, method: Method, url: Url, body: Option<Vec<u8>>, headers: Vec
impit/src/impit.rs:400
next →
1–100 of 347, ranked by callers