ExOss.Options (ExOss v1.2.0)

Copy Markdown View Source

Options accepted by file transfer and presigned URL functions.

Existing keyword options remain supported. Maps and lists of pairs may also use "content_type" and "headers" as aliases for :content_type and :headers. Other option keys must be atoms. Supplying both aliases for one option raises an ArgumentError.

The content type value becomes the "content-type" request header for every storage provider. An explicit header takes precedence over the option.

Summary

Types

t()

@type t() :: keyword() | map() | [{atom() | String.t(), term()}]