class
Croda::CrodaResponse
Included Modules
Defined in:
croda/croda_response.cr
content_length=(length : Int)
content_length=,
content_type=(val : String)
content_type=,
default_headers
default_headers,
finish
finish,
headers : HTTP::Headers
headers,
redirect(path : String, status : Int32) : Nil
redirect,
response : HTTP::Server::Response
response,
set_default_headers
set_default_headers,
status : Int32 | Nil
status,
status=(status : Int32 | HTTP::Status)
status=,
write(body)
write
new(response : HTTP::Server::Response)
new