MCPcopy Create free account
hub / github.com/fastify/fastify / setReplySerializer

Function setReplySerializer

fastify.js:754–759  ·  view source on GitHub ↗
(replySerializer)

Source from the content-addressed store, hash-verified

752 }
753
754 function setReplySerializer (replySerializer) {
755 throwIfAlreadyStarted('Cannot call "setReplySerializer"!')
756
757 this[kReplySerializerDefault] = replySerializer
758 return this
759 }
760
761 // wrapper that we expose to the user for configure the custom error handler
762 function setErrorHandler (func) {

Callers

nothing calls this directly

Calls 1

throwIfAlreadyStartedFunction · 0.85

Tested by

no test coverage detected