Class: Tanker::CTanker::CHttpOptions
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Tanker::CTanker::CHttpOptions
- Defined in:
- lib/tanker/c_tanker/c_http.rb
Instance Method Summary collapse
-
#initialize(send_request, cancel_request) ⇒ CHttpOptions
constructor
A new instance of CHttpOptions.
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 |