Class: MTLibcouchbase::Ext::RESPHTTP
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- MTLibcouchbase::Ext::RESPHTTP
- Defined in:
- lib/mt-libcouchbase/ext/mt-libcouchbase/resphttp.rb
Overview
(Not documented)
## Fields:
- :cookie
-
(FFI::Pointer(*Void))
- :key
-
(FFI::Pointer(*Void))
- :nkey
-
(Integer)
- :cas
-
(Integer)
- :rc
-
(ErrorT)
- :version
-
(Integer)
- :rflags
-
(Integer)
- :htstatus
-
(Integer) HTTP status code. The value is only valid if #rc is ::LCB_SUCCESS (if #rc is not LCB_SUCCESS then this field may be 0 as the response may have not been read/sent)
- :headers
-
(FFI::Pointer(**CharS)) List of key-value headers. This field itself may be
NULL. The list is terminated by aNULLpointer to indicate no more headers. - :body
-
(FFI::Pointer(*Void)) If @ref LCB_CMDHTTP_F_STREAM is true, contains the current chunk of response content. Otherwise, contains the entire response body.
- :nbody
-
(Integer) Length of buffer in #body
- :htreq
-
(HttpRequestT) @private