Class: Wreq::Emulation
- Inherits:
-
Object
- Object
- Wreq::Emulation
- Defined in:
- lib/wreq_ruby/emulate.rb
Overview
Emulation option wrapper.
This class combines a fingerprint profile, an OS platform, and toggles
for HTTP/2 and automatic default headers. The actual implementation is
provided by Rust.
profile: defaults to the library's default profile when omitted.
platform: defaults to the library's default platform when omitted.
Class Method Summary collapse
Class Method Details
.new(profile: nil, platform: nil, http2: true, headers: true) ⇒ Object
228 229 |
# File 'lib/wreq_ruby/emulate.rb', line 228 def self.new(profile: nil, platform: nil, http2: true, headers: true) end |