@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';이 페이지에서 찾을 수 있는 것
| 심볼 | 분류 | 페이지 |
|---|---|---|
FastifyApplication | Class | FastifyApplication |
FastifyRouterPlugin | Class | FastifyRouterPlugin |
FastifyRouterController | Class | FastifyRouterController |
Get, Post, Put, Delete | Decorator | HTTP Method Decorators |
FastifyExecuteArgs<P,Q,B,Context> | Type | FastifyExecuteArgs |
FastifyWrapper | Function | FastifyWrapper |
fastifyErrorHandler | Function | 에러 핸들러 |
IOptions, IDecoratorPreference, MethodType | Type | HTTP Method Decorators |
setRegisteredMiddlewares, getRegisteredMiddlewares | Function | FastifyRouterPlugin |
패키지 정보
| 항목 | 값 |
|---|---|
| 패키지명 | @asapjs/fastify |
| 버전 | 1.0.0-alpha.28 |
| 진입점 | dist/index.js |
| 타입 | dist/index.d.ts |
| 의존 패키지 | @asapjs/common, @asapjs/error, @asapjs/types, @fastify/cors, fastify |
관련 항목
- @asapjs/core — 애플리케이션 코어와 컨테이너
- @asapjs/router — Express.js 기반 라우팅 어댑터
- @asapjs/error — 공통 에러 클래스와 핸들러
Last updated on