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


Manual Reference Pages  -  NET::GROONGA::HTTP::RESPONSE (3)

.ds Aq ’

NAME

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

CONTENTS

DESCRIPTION

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

BASIC METHODS

$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.

METHODS FOR ANALYZING CONTENT-BODY

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 <B>selectB>.

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 <B>selectB>.

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


perl v5.20.3 NET::GROONGA::HTTP::RESPONSE (3) 2016-04-03

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