sprockets.mixins.mediatype/docs/api.rst

39 lines
727 B
ReStructuredText
Raw Normal View History

2015-08-19 22:29:32 +00:00
API Documentation
=================
.. currentmodule:: sprockets.mixins.mediatype.content
2015-08-19 22:29:32 +00:00
Content Type Handling
---------------------
.. autoclass:: ContentMixin
:members:
Content Type Registration
-------------------------
.. 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:
Bundled Transcoders
-------------------
.. currentmodule:: sprockets.mixins.mediatype.transcoders
.. autoclass:: JSONTranscoder
:members:
.. autoclass:: MsgPackTranscoder
:members:
.. autoclass:: BinaryWrapper
:members: