2015-08-19 22:29:32 +00:00
|
|
|
API Documentation
|
|
|
|
=================
|
2015-11-03 13:10:54 +00:00
|
|
|
.. currentmodule:: sprockets.mixins.mediatype.content
|
2015-08-19 22:29:32 +00:00
|
|
|
|
|
|
|
Content Type Handling
|
|
|
|
---------------------
|
|
|
|
.. autoclass:: ContentMixin
|
|
|
|
:members:
|
|
|
|
|
|
|
|
Content Type Registration
|
|
|
|
-------------------------
|
2016-04-03 11:41:15 +00:00
|
|
|
.. autofunction:: install
|
|
|
|
|
|
|
|
.. autofunction:: get_settings
|
|
|
|
|
2015-08-19 22:29:32 +00:00
|
|
|
.. autofunction:: set_default_content_type
|
|
|
|
|
|
|
|
.. autofunction:: add_binary_content_type
|
|
|
|
|
|
|
|
.. autofunction:: add_text_content_type
|
|
|
|
|
2016-01-10 18:51:14 +00:00
|
|
|
.. autofunction:: add_transcoder
|
|
|
|
|
2015-08-19 22:29:32 +00:00
|
|
|
.. autoclass:: ContentSettings
|
2015-06-08 20:28:30 +00:00
|
|
|
:members:
|
2016-01-10 19:46:27 +00:00
|
|
|
|
|
|
|
Bundled Transcoders
|
|
|
|
-------------------
|
|
|
|
.. currentmodule:: sprockets.mixins.mediatype.transcoders
|
|
|
|
|
|
|
|
.. autoclass:: JSONTranscoder
|
|
|
|
:members:
|
2016-01-13 12:28:44 +00:00
|
|
|
|
|
|
|
.. autoclass:: MsgPackTranscoder
|
|
|
|
:members:
|
2016-01-16 14:54:39 +00:00
|
|
|
|
|
|
|
.. autoclass:: BinaryWrapper
|
|
|
|
:members:
|