Skip to Content
API 레퍼런스@asapjs/fastify@asapjs/fastify

@asapjs/fastify

@asapjs/fastify는 Fastify 기반의 HTTP 서버 부트스트랩과 라우팅을 제공하는 ASAPJS 어댑터 패키지입니다. @asapjs/router와 동일한 데코레이터 기반 개발 방식을 유지하면서 Fastify의 고성능 HTTP 처리를 활용합니다.

import { FastifyApplication, FastifyRouterPlugin, FastifyRouterController, Get, Post, Put, Delete, FastifyWrapper, fastifyErrorHandler, setRegisteredMiddlewares, getRegisteredMiddlewares, } from '@asapjs/fastify'; import type { IOptions, IDecoratorPreference, MethodType, FastifyExecuteArgs, } from '@asapjs/fastify';

이 페이지에서 찾을 수 있는 것

심볼분류페이지
FastifyApplicationClassFastifyApplication
FastifyRouterPluginClassFastifyRouterPlugin
FastifyRouterControllerClassFastifyRouterController
Get, Post, Put, DeleteDecoratorHTTP Method Decorators
FastifyExecuteArgs<P,Q,B,Context>TypeFastifyExecuteArgs
FastifyWrapperFunctionFastifyWrapper
fastifyErrorHandlerFunction에러 핸들러
IOptions, IDecoratorPreference, MethodTypeTypeHTTP Method Decorators
setRegisteredMiddlewares, getRegisteredMiddlewaresFunctionFastifyRouterPlugin

패키지 정보

항목
패키지명@asapjs/fastify
버전1.0.0-alpha.28
진입점dist/index.js
타입dist/index.d.ts
의존 패키지@asapjs/common, @asapjs/error, @asapjs/types, @fastify/cors, fastify

관련 항목

Last updated on