curl $ CurlResponseSuccessIntern :: SELF
Type of this instance, automatically specialized in every classcurl $ CurlResponseSuccessIntern :: header_callback
Receive headers from request due to headers callback registeringcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
curl :: CurlResponse :: defaultinit
curl :: CurlCallbacks :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).curl :: CurlFileResponseSuccess
Success Response Class of a downloaded File
# Success Abstract Response Success Class
abstract class CurlResponseSuccessIntern
super CurlCallbacks
super CurlResponse
var headers = new HashMap[String, String]
# Receive headers from request due to headers callback registering
redef fun header_callback(line)
do
var splitted = line.split_with(':')
if splitted.length > 1 then
var key = splitted.shift
self.headers[key] = splitted.to_s
end
end
end
lib/curl/curl.nit:549,1--565,3