Skip to content

enum Athena::Framework::BinaryFileResponse::ContentDisposition #

Represents the possible content-disposition header values.

Members#

Attachment = 0#

Indicates that the file should be downloaded.

Inline = 1#

Indicates that the browser should display the file inside the Web page, or as the Web page.

Methods#

#attachment?#

View source

#inline?#

View source

#to_s(io : IO) : Nil#

Appends a String representation of this enum member to the given io.

See also: to_s.

View source