struct

Alumna::Testing::AppClientResponse

Inherits Struct < Value < Object

A convenient response object that parses the raw IO output generated by the HTTP::Server::Response.

Constructors

new(status : Int32, headers : HTTP::Headers, body : String)
Source

Instance methods

body
clone
Source
copy_with(status _status = @status, headers _headers = @headers, body _body = @body)
Source
headers
json

Quick helper to parse JSON bodies natively into AnyData

Source
json_array
Source
json_hash
Source
status