neo4j :: JsonGET :: defaultinit
neo4j $ JsonGET :: execute_hook
Hook to implement in concrete requestscurl :: CurlRequest :: _curl
curl :: CurlHTTPRequest :: _data
Data for the body of a POST requestcurl :: CurlHTTPRequest :: _delegate
Delegates to customize the behavior when runningexecute
curl :: CurlHTTPRequest :: _headers
Header content of the requestcurl :: CurlHTTPRequest :: _unix_socket_path
Set the Unix domain socket path to usecurl :: CurlHTTPRequest :: _user_agent
Set the user agent for all following HTTP requestscurl :: CurlRequest :: answer_failure
Intern method with return a failed answer with given code and messagecore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
curl :: CurlRequest :: curl
curl :: CurlRequest :: curl=
curl :: CurlHTTPRequest :: data=
Data for the body of a POST requestneo4j :: JsonCurlRequest :: defaultinit
neo4j :: JsonGET :: defaultinit
curl :: CurlRequest :: defaultinit
core :: Object :: defaultinit
curl :: CurlHTTPRequest :: defaultinit
curl :: CurlHTTPRequest :: delegate
Delegates to customize the behavior when runningexecute
curl :: CurlHTTPRequest :: delegate=
Delegates to customize the behavior when runningexecute
curl :: CurlHTTPRequest :: download_to_file
Download to file given resourceneo4j :: JsonCurlRequest :: execute_hook
Hook to implement in concrete requestscurl :: CurlHTTPRequest :: headers=
Header content of the requestneo4j :: JsonCurlRequest :: init_headers
init HTTP headers for Neo4j REST APIcore :: 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.
curl :: CurlHTTPRequest :: method=
The HTTP method, GET by defaultcore :: 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 :: CurlRequest :: perform
Intern perform method, lowest level of request launchingcurl :: CurlHTTPRequest :: prepare_request
Internal function that sets cURL options and request' parameterscurl :: CurlHTTPRequest :: set_curl_callback
Set cURL callbackcurl :: CurlHTTPRequest :: set_curl_http_header
Set cURL request header according to attribute headerscurl :: CurlHTTPRequest :: set_method
Set cURL parameters according to assigned HTTP method set in methodcurl :: CurlHTTPRequest :: unix_socket_path
Set the Unix domain socket path to usecurl :: CurlHTTPRequest :: unix_socket_path=
Set the Unix domain socket path to usecurl :: CurlHTTPRequest :: url=
Address of the remote resource to requestcurl :: CurlHTTPRequest :: user_agent
Set the user agent for all following HTTP requestscurl :: CurlHTTPRequest :: user_agent=
Set the user agent for all following HTTP requests
# HTTP GET command
class JsonGET
super JsonCurlRequest
redef fun execute_hook do
var err = self.curl.native.easy_setopt(new CURLOption.get, true)
if not err.is_ok then return answer_failure(err.to_i, err.to_s)
return null
end
end
lib/neo4j/curl_json.nit:95,1--104,3