mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-11-24 11:19:53 +00:00
38 lines
727 B
ReStructuredText
38 lines
727 B
ReStructuredText
API Documentation
|
|
=================
|
|
.. currentmodule:: sprockets.mixins.mediatype.content
|
|
|
|
Content Type Handling
|
|
---------------------
|
|
.. autoclass:: ContentMixin
|
|
:members:
|
|
|
|
Content Type Registration
|
|
-------------------------
|
|
.. autofunction:: install
|
|
|
|
.. autofunction:: get_settings
|
|
|
|
.. autofunction:: set_default_content_type
|
|
|
|
.. autofunction:: add_binary_content_type
|
|
|
|
.. autofunction:: add_text_content_type
|
|
|
|
.. autofunction:: add_transcoder
|
|
|
|
.. autoclass:: ContentSettings
|
|
:members:
|
|
|
|
Bundled Transcoders
|
|
-------------------
|
|
.. currentmodule:: sprockets.mixins.mediatype.transcoders
|
|
|
|
.. autoclass:: JSONTranscoder
|
|
:members:
|
|
|
|
.. autoclass:: MsgPackTranscoder
|
|
:members:
|
|
|
|
.. autoclass:: BinaryWrapper
|
|
:members:
|