GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Groonga::HTTP::Response(3) User Contributed Perl Documentation Net::Groonga::HTTP::Response(3)
 

Net::Groonga::HTTP::Response - Response object for Net::Groonga::HTTP

This class is a response class for Net::Groonga::HTTP.

$res->function() :Str
The name of executed function.
$res->args() : HashRef
The arguments for executed function.
$res->http_response() :Object
Executed HTTP response object from Furl.

Following methods return method dies if the response is not 200 OK.
$res->data() :Object
JSON decoded content body.
$res->return_code() :Int
Shorthand for "$res->data->[0]->[0]".
Groonga's return code. It's not HTTP status code.
$res->starttime() :Int
Shorthand for "$res->data->[0]->[2]".
$res->elapsed_time() :Int
Shorthand for "$res->data->[0]->[2]".
Elapsed time.
$res->result() :Int
Shorthand for "$res->data->[1]".
$res->pager() :Net::Groonga::Pager
Create pager object if it's available.
It's only useful if the function is select.
The object instance of Net::Groonga::Pager.
@rows = $res->rows()
Create list of hashrefs from JSON content.
It's only useful if the function si select.
2019-01-02 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.