Skip to content

ContentDisposition

enum Athena::Routing::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?

#inline?

#to_s(io : IO) : Nil

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

See also: to_s.