Sha256: ebf86e80149ff83d4699d79312da2a50f31eb4e985c0d7c9cc6698307f5b4988

Contents?: true

Size: 1.33 KB

Versions: 32

Compression:

Stored size: 1.33 KB

Contents

module Libcouchbase::Ext
  # (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 a `NULL` pointer 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
  class RESPHTTP < FFI::Struct
    layout :cookie, :pointer,
           :key, :pointer,
           :nkey, :ulong,
           :cas, :ulong_long,
           :rc, ErrorT,
           :version, :ushort,
           :rflags, :ushort,
           :htstatus, :short,
           :headers, :pointer,
           :body, :pointer,
           :nbody, :ulong,
           :htreq, HttpRequestT.by_ref
  end

end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
libcouchbase-mapo-1.4.1 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.3.2 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.3.0 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.8 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.7 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.6 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.5 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.4 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.3 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.2 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.1 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.2.0 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.1.1 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.1.0 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.0.4 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.0.3 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.0.2 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.0.1 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-1.0.0 lib/libcouchbase/ext/libcouchbase/resphttp.rb
libcouchbase-0.3.3 lib/libcouchbase/ext/libcouchbase/resphttp.rb