module Croda::CrodaPlugins::Base::ResponseMethods

Direct including types

Defined in:

croda/plugins/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(response : HTTP::Server::Response) #

[View source]

Instance Method Detail

def default_headers #

[View source]
def finish #

[View source]
def headers : HTTP::Headers #

[View source]
def redirect(path : String, status : Int32) : Nil #

[View source]
def set_default_headers #

[View source]
def status : Int32 | Nil #

[View source]
def status=(status : Int32 | Nil) #

[View source]
def write(body) #

[View source]