class Ethon::Easy::Mirror
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/ethon/easy/mirror.rbs class Ethon::Easy::Mirror def self.from_easy: (Ethon::Easy easy) -> Ethon::Easy::Mirror def initialize: (?Hash options) -> void def log_informations: () -> untyped end
def self.from_easy(easy)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.from_easy: (Ethon::Easy easy) -> Ethon::Easy::Mirror
This signature was generated using 74 samples from 3 applications.
def self.from_easy(easy) options = {} INFORMATIONS_TO_MIRROR.each do |info| options[info] = easy.send(info) end new(options) end
def initialize(options = {})
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (?(httpauth_avail | Integer | total_time | Float | starttransfer_time | Float | appconnect_time | Float | pretransfer_time | Float | connect_time | Float | namelookup_time | Float | redirect_time | Float | effective_url | String | primary_ip | String | response_code | Integer | request_size | Integer | redirect_count | Integer | redirect_url | NilClass | size_upload | Float | size_download | Float | speed_upload | Float | speed_download | Float | return_code | Symbol | response_headers | String | response_body | String | debug_info | Ethon::Easy::DebugInfo | httpauth_avail | Integer | total_time | Float | starttransfer_time | Float | appconnect_time | Float | pretransfer_time | Float | connect_time | Float | namelookup_time | Float | redirect_time | Float | effective_url | String | primary_ip | String | response_code | Integer | request_size | Integer | redirect_count | Integer | redirect_url | NilClass | size_upload | Float | size_download | Float | speed_upload | Float | speed_download | Float | return_code | NilClass | response_headers | String | response_body | String | debug_info | Ethon::Easy::DebugInfo) options) -> void
This signature was generated using 88 samples from 4 applications.
def initialize(options = {}) @options = options end
def log_informations
Experimental RBS support (using type sampling data from the type_fusion
project).
def log_informations: () -> untyped
This signature was generated using 62 samples from 3 applications.
def log_informations Hash[*INFORMATIONS_TO_LOG.map do |info| [info, options[info]] end.flatten] end