curl :: CurlResponseSuccess :: body_str=
Response body as aString
curl :: CurlResponseSuccess :: status_code=
Server HTTP response codecurl $ CurlResponseSuccess :: SELF
Type of this instance, automatically specialized in every classcurl $ CurlResponseSuccess :: body_callback
Accept part of the response bodycurl :: CurlResponseSuccess :: body_str=
Response body as aString
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
curl :: CurlCallbacks :: defaultinit
core :: Object :: defaultinit
curl :: CurlResponse :: 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 :: CurlResponseSuccess :: status_code=
Server HTTP response codecurl :: CurlResponseSuccessIntern
Success Abstract Response Success Class
# Success Response Class of a basic response
class CurlResponseSuccess
super CurlResponseSuccessIntern
# Server HTTP response code
var status_code = 0
# Response body as a `String`
var body_str = ""
# Accept part of the response body
redef fun body_callback(line) do self.body_str += line
end
lib/curl/curl.nit:567,1--579,3