Module profile
Expand description
User Agent (UA) Profiles, mostly used for emulation.
See UserAgentProfile
for the main profile type and
UserAgentEmulateService
for the service that triggers the emulation.
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.
Structs§
- Http1
Profile - The HTTP/1.1 profile.
- Http1
Settings - The settings for the HTTP/1.1 profile.
- Http2
Profile - The HTTP/2 profile.
- Http2
Settings - The settings for the HTTP/2 profile.
- Http
Headers Profile - Http
Profile - A User Agent (UA) profile for HTTP.
- JsProfile
- Javascript information for a user-agent which supports Javascript and Web APIs.
- JsProfile
Navigator - Navigator information, if the user-agent supports the Navigator API.
- JsProfile
Screen - Screen information, if the user-agent supports the Screen API.
- JsProfile
WebApis - Preserve
Header User Agent - Runtime hint to request a user agent to be preserved, useful for systems that modify requests based on the context and request, but still wish to support preserving the original header user-agent.
- TlsProfile
- Profile of the user-agent’s TLS (client) configuration.
- User
Agent Database - Reference implementation of a
UserAgentProvider
. - User
Agent Profile - The main profile for the user-agent.
- User
Agent Runtime Profile - Runtime (meta) info about the UA profile.
- User
Agent Source Info - Source information injected by fingerprinting service.
Enums§
- Request
Initiator - The initiator of the (http) Request.
Statics§
- CUSTOM_
HEADER_ MARKER - Marker header name for custom headers.
Functions§
- load_
embedded_ profiles - Load the profiles embedded with the rama-ua crate.
Type Aliases§
- Request
Client Hints - ClientHints requested for the (http) Request.