Lucky::TextResponse
Inherits Lucky::Response < Reference < Object
Writes the content_type, status, and body to the context for text responses.
There are two settings in Lucky::Server.settings that determine if
the text response is gzip encoded; Lucky::Server.settings.gzip_enabled and Lucky::Server.settings.gzip_content_types.
These settings can be adjusted in your Lucky app under config/server.cr
Constants
DEFAULT_STATUS = 200
Constructors
Instance methods
body
Sourcecontent_type
Sourcecontext
Sourcedebug_message
Sourceenable_cookies
Sourceprint
Sourcestatus
Source