Module emulate
Available on crate features
std and ua only.Expand description
Emulate user agent (UA) profiles.
This module contains the profiles for the User Agent (UA) that are used for emulation.
Learn more about User Agents (UA) and why Rama supports it at https://ramaproxy.org/book/intro/user_agent.html.
§Ethics
At Plabayo, we support the principle that information wants to be free, provided it is pursued ethically and within the bounds of applicable law.
We do not endorse or support any malicious use of our technology. We advocate for the programmatic retrieval of publicly available data only when conducted responsibly — in a manner that is respectful, does not impose an undue burden on servers, and avoids causing disruption, harm, or degradation to third-party services.
Structs§
- Preserve
Client Hints - Request extension that keeps the caller’s own client hint values
(such as
Sec-CH-UA) while the rest of the request is emulated. - Preserve
Header User Agent - Request extension that keeps the caller’s own
User-Agentvalue while the rest of the request is emulated. - Profile
Emulate Http Connect Modifier - Connector that prepares and checks the connection variant of the profile
selected by
ProfileEmulateLayer. - Profile
Emulate Http Connect Modifier Layer - Layer for
ProfileEmulateHttpConnectModifier. - Profile
Emulate Http Request Modifier - Draw the request variant after the pooled connection and protocol are known.
- Profile
Emulate Http Request Modifier Layer - Layer for
ProfileEmulateHttpRequestModifier. - Profile
Emulate Layer - Select a captured profile and publish its immutable emulation context.
- Profile
Emulate Relay Request Modifier ProfileEmulateHttpRequestModifierfor requests relayed on a connection that the profile connector did not open, such as a MITM proxy’s egress connection.- Profile
Emulate Relay Request Modifier Layer - Layer for
ProfileEmulateRelayRequestModifier. - Profile
Emulate Service - Request service produced by
ProfileEmulateLayer. - Selected
User Agent Profile - Identity of the profile selected by
ProfileEmulateLayer.
Enums§
- Profile
Select Fallback - What
ProfileEmulateLayerdoes when no profile matches the requested identity.
Traits§
- Profile
Source - Source of captured profiles for
ProfileEmulateLayer.