class

Lucky::DataResponse

Inherits Lucky::Response < Reference < Object

data result, filename: "my_report.csv"

end end

Constants

DEFAULT_STATUS = 200

Constructors

new(context : HTTP::Server::Context, data : String, content_type : String = "application/octet-stream", disposition : String = "attachment", filename : String | Nil = nil, status : Int32 | Nil = nil, debug_message : String | Nil = nil)
Source

Instance methods

content_type
Source
context
Source
data
Source
debug_message
Source
disposition
Source
filename
Source
headers
Source
status
Source