Class: Tanker::CTanker::CHttpOptions

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/tanker/c_tanker/c_http.rb

Instance Method Summary collapse

Constructor Details

#initialize(send_request, cancel_request) ⇒ CHttpOptions

Returns a new instance of CHttpOptions.



93
94
95
96
97
98
99
# File 'lib/tanker/c_tanker/c_http.rb', line 93

def initialize(send_request, cancel_request)
  super()

  self[:send_request] = send_request
  self[:cancel_request] = cancel_request
  self[:data] = nil
end