MCPcopy Create free account

hub / github.com/apify/impit / functions

Functions347 in github.com/apify/impit

↓ 100 callersMethodfetch
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 callersFunctionget_httpbin_url
(path: str, *, query: dict[str, list[str] | str] | None = None, https: bool = True)
impit-python/test/httpbin.py:7
↓ 62 callersMethodget
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:131
↓ 60 callersMethodclone
(&self)
impit/src/impit.rs:97
↓ 47 callersMethodjson
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:276
↓ 42 callersFunctiongetHttpBinUrl
(path: string, https?: boolean)
impit-node/test/basics.test.ts:13
↓ 39 callersFunctionfingerprint
Returns the complete Chrome 142 fingerprint
impit/src/fingerprint/database/chrome.rs:10
↓ 31 callersMethodget
(&self, key: &str)
impit-node/src/response.rs:22
↓ 31 callersMethodjson
(&mut self, py: Python<'_>)
impit-python/src/response.rs:461
↓ 29 callersMethodget
( &self, py: Python<'python>, url: String, content: Option<Vec<u8>>, d
impit-python/src/async_client.rs:134
↓ 25 callersMethodclose
(&mut self)
impit-python/src/response.rs:427
↓ 24 callersMethoditer
(&self)
impit/src/http_headers/mod.rs:22
↓ 18 callersMethodread
(&mut self, py: Python<'_>)
impit-python/src/response.rs:468
↓ 17 callersMethodstream
( &self, py: Python<'python>, method: &str, url: String, content: Opti
impit-python/src/client.rs:323
↓ 16 callersMethodfrom
(val: Browser)
impit-node/src/impit_builder.rs:123
↓ 15 callersMethodtext
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:256
↓ 12 callersFunctionheaders
Chrome 142 HTTP headers
impit/src/fingerprint/database/chrome.rs:127
↓ 12 callersFunctionhttp2_fingerprint
Chrome 142 HTTP/2 fingerprint
impit/src/fingerprint/database/chrome.rs:110
↓ 12 callersFunctiontls_fingerprint
Chrome 142 TLS fingerprint
impit/src/fingerprint/database/chrome.rs:21
↓ 10 callersMethodpost
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:179
↓ 10 callersMethodrequest
( &self, py: Python<'_>, method: &str, url: String, content: Option<Ve
impit-python/src/client.rs:369
↓ 10 callersMethodset
Set a cookie value by name. May optionally include domain and path.
impit-python/python/impit/cookies.py:49
↓ 9 callersMethodbuild
Builds the [`Impit`] instance.
impit/src/impit.rs:230
↓ 9 callersMethoditer_bytes
(slf: Py<Self>, py: Python)
impit-python/src/response.rs:336
↓ 9 callersMethodrequest
( &self, py: Python<'python>, method: &str, url: String, content: Opti
impit-python/src/async_client.rs:372
↓ 9 callersMethodsend
( &self, request: ImpitRequest, timeout: Option<Duration>, http3_prior_knowled
impit/src/impit.rs:451
↓ 8 callersMethodmake_request
( &self, method: Method, url: String, body: Option<Vec<u8>>, options:
impit/src/impit.rs:554
↓ 8 callersMethodstream
( &self, py: Python<'python>, method: &str, url: String, content: Opti
impit-python/src/async_client.rs:326
↓ 7 callersMethodget
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 callersMethodbytes
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:231
↓ 6 callersFunctiongetServer
()
impit-node/test/basics.test.ts:29
↓ 5 callersMethodaiter_bytes
(slf: Py<Self>, py: Python)
impit-python/src/response.rs:293
↓ 5 callersFunctiondone
(err)
impit-node/test/e2e/run-e2e-tests.mjs:37
↓ 5 callersFunctionisMusl
()
impit-node/index.js:10
↓ 5 callersFunctionmake_slow_server
Start a server in a daemon thread that waits `delay` seconds before responding.
impit-python/test/basic_client_test.py:648
↓ 5 callersMethodpost
( &self, py: Python<'python>, url: String, content: Option<Vec<u8>>, d
impit-python/src/async_client.rs:182
↓ 5 callersMethodwith_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 callersMethodwith_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 callersMethodwith_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 callersMethodwith_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 callersMethodwith_tls_fingerprint
(&mut self, fingerprint: TlsFingerprint)
impit/src/tls/mod.rs:108
↓ 4 callersMethodget
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 callersMethodget_inner_response
(&self, env: &Env, mut this: This<Object>)
impit-node/src/response.rs:115
↓ 4 callersFunctionheaders
Firefox 128 HTTP headers
impit/src/fingerprint/database/firefox.rs:130
↓ 4 callersFunctionhttp2_fingerprint
Firefox 128 HTTP/2 fingerprint
impit/src/fingerprint/database/firefox.rs:113
↓ 4 callersFunctionparse_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 callersFunctiontls_fingerprint
Firefox 128 TLS fingerprint
impit/src/fingerprint/database/firefox.rs:21
↓ 4 callersMethodwith_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 callersMethodwith_ignore_tls_errors
If set to true, the client will ignore TLS-related errors.
impit/src/impit.rs:143
↓ 3 callersMethodabort
(&mut self)
impit-node/src/response.rs:332
↓ 3 callersFunctionheaders
()
impit/src/fingerprint/database/okhttp.rs:135
↓ 3 callersFunctionrunServer
(port: number)
impit-node/test/mock.server.ts:57
↓ 3 callersMethodset_h3_support
(&self, host: &String, supports_h3: bool)
impit/src/http3.rs:79
↓ 3 callersFunctionshared_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 callersFunctionstart_proxy_server
(port: int = 3002)
impit-python/test/setup_proxy.py:9
↓ 3 callersFunctiontls_fingerprint
()
impit/src/fingerprint/database/okhttp.rs:77
↓ 3 callersMethodwith_custom_headers
( &mut self, custom_headers: Option<Vec<(String, String)>>, )
impit/src/http_headers/mod.rs:113
↓ 3 callersMethodwith_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 callersMethodwith_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 callersMethodwith_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 callersMethod#wrapResponse
* Wrap a native response with JS enhancements * @param {object} originalResponse * @param {AbortSignal} signal * @returns {object}
impit-node/index.wrapper.js:366
↓ 2 callersMethodbuild
(self)
impit/src/tls/mod.rs:123
↓ 2 callersFunctioncanonicalizeHeaders
(headers)
impit-node/index.wrapper.js:31
↓ 2 callersMethodclear
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 callersFunctionconcatUint8Arrays
(chunks)
impit-node/index.wrapper.js:52
↓ 2 callersFunctiondecode
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 callersFunctiondefault_multipart_boundary
()
impit/src/fingerprint/mod.rs:63
↓ 2 callersMethoddelete
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:251
↓ 2 callersFunctiondetermine_encoding
Determines the encoding of a byte stream. If the checks fail, the function returns `None`.
impit/src/response_parsing/mod.rs:126
↓ 2 callersMethodexecute_request
( &self, client: &reqwest::Client, prepared: &PreparedRequest, timeout: Option
impit/src/impit.rs:425
↓ 2 callersFunctionfingerprint_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 callersFunctionform_to_bytes
(data: HashMap<String, String>)
impit-python/src/request.rs:48
↓ 2 callersFunctiongetProxyServer
()
impit-node/test/basics.test.ts:35
↓ 2 callersFunctionget_browser_cache
()
impit/src/tls/mod.rs:19
↓ 2 callersFunctionget_ech_mode
()
impit/src/tls/mod.rs:102
↓ 2 callersFunctionget_vanilla_provider
()
impit/src/tls/mod.rs:23
↓ 2 callersMethodhead
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:155
↓ 2 callersMethodhost_supports_h3
(&self, host: &String)
impit/src/http3.rs:40
↓ 2 callersMethodoptions
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:275
↓ 2 callersMethodpatch
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:203
↓ 2 callersMethodput
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:227
↓ 2 callersFunctionshared_signature_algorithms
Shared signature algorithms for all OkHttp versions with Conscrypt.
impit/src/fingerprint/database/okhttp.rs:44
↓ 2 callersFunctiontoUint8Array
(chunk)
impit-node/index.wrapper.js:48
↓ 2 callersMethodto_rustls_fingerprint
Converts this fingerprint to a rustls TlsFingerprint.
impit/src/fingerprint/mod.rs:229
↓ 2 callersMethodtrace
( &self, py: Python<'_>, url: String, content: Option<Vec<u8>>, data:
impit-python/src/client.rs:299
↓ 2 callersMethodwith_new_alps_codepoint
(mut self, use_new: bool)
impit/src/fingerprint/mod.rs:181
↓ 1 callersMethod#fetchWithRedirectHandling
* Fetch with manual redirect handling * @param {string} initialUrl * @param {object} options * @param {AbortSignal} signal * @para
impit-node/index.wrapper.js:291
↓ 1 callersMethod#generateMultipartFormData
(formData)
impit-node/index.wrapper.js:124
↓ 1 callersMethod#getCookies
* Get cookies from the cookie jar for a URL * @param {string} url * @returns {Promise<string>}
impit-node/index.wrapper.js:98
↓ 1 callersMethod#parseFetchOptions
(resource, init)
impit-node/index.wrapper.js:217
↓ 1 callersMethod#serializeBody
(body)
impit-node/index.wrapper.js:183
↓ 1 callersMethod#setCookies
* Given response headers, set cookies in the cookie jar * @param {Headers} headers * @param {string} url
impit-node/index.wrapper.js:111
↓ 1 callersMethod__anext__
(&mut self, py: Python<'py>)
impit-python/src/response.rs:105
↓ 1 callersMethodaread
(slf: Py<Self>, py: Python<'_>)
impit-python/src/response.rs:381
↓ 1 callersMethodarray_buffer
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:207
↓ 1 callersMethodbody
(&'env self, env: &'env Env, this: This<'env>)
impit-node/src/response.rs:303
↓ 1 callersFunctionbom_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 callersMethodbuild
(&self)
impit/src/http_headers/mod.rs:132
↓ 1 callersFunctionbuildSpawnArgsFor
(filePath)
impit-node/test/e2e/run-e2e-tests.mjs:14
↓ 1 callersMethodbuild_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