Match requests for the given method.
Match requests with the given path.
Set the post processor for this Route.
Match requests for clients than can accept one of the given mime-types and use the given serializer on the response body. The serializer will be called with the body if the handler returns a response. The serializer must return a string or Buffer, or Promise of such.
eg:
serializers({
"application/json": cassava.serializers.jsonSerializer,
"text/plain": body => body.toString()
})
a map of mime-type to serializer function
Generated using TypeDoc
Set the handler for this Route.
routes.Route.handle