Mixin profiles add behaviour and capabilities to other profiles. A resource offers additional capabilities to clients by adding additional
profile headers indicating the presence of a mixin. A client uses mixin profiles to interpret the responses from a resource as well as create requests that utilize the mixin’s capabilities. Level 3 profiles specify their possible mixins in a Mixin section. This section teaches a client how to interact with the profile’s mixins in the context of the resource.
- Entity mixin provides cacheability and safe state change operations.
- Preflight mixin lets a client “look before they leap” with an expensive operation.
- Representation mixin helps a client control the responses from a state change operation.
- Async mixin gives clients a way to send requests without blocking for them to complete.
© 2019-2023 Matt Bishop
This work is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.