MCPcopy
hub / github.com/fastify/fastify / send

Method send

types/reply.d.ts:53–53  ·  types/reply.d.ts::FastifyReply.send
(...args: SendArgs<ReplyType>)

Source from the content-addressed store, hash-verified

51 statusCode: number;
52 sent: boolean;
53 send(...args: SendArgs<ReplyType>): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
54 header(key: HttpHeader, value: any): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
55 headers(values: Partial<Record<HttpHeader, number | string | string[] | undefined>>): FastifyReply<RouteGeneric, RawServer, RawRequest, RawReply, ContextConfig, SchemaCompiler, TypeProvider>;
56 getHeader(key: HttpHeader): number | string | string[] | undefined;

Callers 15

server.jsFile · 0.80
handleRequestFunction · 0.80
preValidationCallbackFunction · 0.80
validationCompletedFunction · 0.80
preHandlerCallbackInnerFunction · 0.80
handleErrorFunction · 0.80
defaultErrorHandlerFunction · 0.80
reply.jsFile · 0.80
notFoundFunction · 0.80
wrapThenableFunction · 0.80
basic404Function · 0.80
fourOhFourFallBackFunction · 0.80

Calls

no outgoing calls

Tested by 15

handlerFunction · 0.64
testExecutionHookFunction · 0.64
handlerFunction · 0.64
testBeforeHandlerHookFunction · 0.64
helperFunction · 0.64
customGlobalErrorHandlerFunction · 0.64
customRouteErrorHandlerFunction · 0.64
handlerFunction · 0.64
customRouteErrorHandlerFunction · 0.64
handlerFunction · 0.64
pluginFunction · 0.64
errorHandlerFunction · 0.64