class HTTP::Server::Response

Overview

Extensions to the standard HTTP::Server::Response class.

Defined in:

onyx-http/ext/http/server/response.cr
onyx-http/ext/http/server/response/error.cr
onyx-http/ext/http/server/response/view.cr

Instance Method Summary

Instance Method Detail

def error : Exception? #

A rescued error which is likely to be put into the response output.


[View source]
def error=(error : Exception?) #

A rescued error which is likely to be put into the response output.


[View source]
def view : Onyx::HTTP::View? #

A view to render.


[View source]
def view=(view : Onyx::HTTP::View?) #

A view to render.


[View source]