Skip to content

Add Content hooks

Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 15 Apr 20:20
2698e2c
This patch was authored by @grosch and released by @tanner0101.

Adds optional beforeEncode and afterDecode methods to Content protocol (#2267).

Docs: https://docs.vapor.codes/4.0/content/#hooks