fastify/fastify-http-proxy

[replyOptions: onResponse] I cannot get the request body , I tried to get it by request.body, but get undfined.

rurico opened this issue ยท 1 comments

๐Ÿš€ Feature Proposal

on onResponse method get body data.

Motivation

Modify origian data and reply it.

Example

replyOptions: onResponse (request, ...) {
// I cannot get the request body , I tried to get it by request.body, but get undfined.
}

See my solution in the other issue