enum Athena::Routing::BinaryFileResponse::ContentDisposition

Overview

Represents the possible content-disposition header values.

Defined in:

binary_file_response.cr

Enum 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.

Instance Method Summary

Instance Method Detail

def attachment? #

[View source]
def inline? #

[View source]
def to_s(io : IO) : Nil #

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

See also: #to_s.


[View source]