MongrelDB::Response
Response wraps one HTTP response from the daemon. It exposes the raw
status code and body and a json helper for decoding a JSON body.
Constructors
Instance methods
json
Parse the response body as JSON and return the decoded value (Hash,
Array, String, Int64, ...). Returns nil for an empty body. Raises
QueryError if the body is not valid JSON.