Liberator.Resource.encoding_available-question-mark

You're seeing just the callback encoding_available-question-mark, go back to Liberator.Resource module for more information.
Link to this callback

encoding_available?(arg1)

View Source (since 1.0)

Specs

encoding_available?(Plug.Conn.t()) :: true | false

Check of the requested encoding is available.

By default, uses the values returned by available_encodings/1, and returns a map with the key :encoding set to the negotiated encoding, which will be merged into conn.assigns.