Skip to content

@purista/httpserver v2.0.5


PURISTA API / @purista/httpserver / httpServerV1Service

Variable: httpServerV1Service

const httpServerV1Service: ServiceBuilder<SetNewTypeValue<SetNewTypeValues<ServiceBuilderTypes, { ConfigInputType: { apiMountPath: string; compressOptions: any; cookieSecret: string; corsOptions: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify: any; healthzFunction: (...args) => Promise<void>; helmetOptions: { enableCSPNonces: boolean; global: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi: { components: any; enabled: boolean; externalDocs: { description: string; url: string; }; info: { contact: { email: ... | ...; name: ... | ...; url: ... | ...; }; description: string; license: { name: string; url: ... | ...; }; termsOfService: string; title: string; version: string; }; path: string; paths: Record<string, Record<string, any>>; security: any[]; servers: object[]; tags: object[]; }; port: number; traceHeaderField: string; uploadDir: string; }; ConfigType: { apiMountPath: string; compressOptions: any; cookieSecret: string; corsOptions: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify: any; healthzFunction: (...args) => Promise<void>; helmetOptions: { enableCSPNonces: boolean; global: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi: { components: any; enabled: boolean; externalDocs: { description: string; url: string; }; info: { contact: { email: ... | ...; name: ... | ...; url: ... | ...; }; description: string; license: { name: string; url: ... | ...; }; termsOfService: string; title: string; version: string; }; path: string; paths: Record<string, Record<string, any>>; security: any[]; servers: object[]; tags: object[]; }; port: number; traceHeaderField: string; uploadDir: string; }; ServiceClassType: Service<ServiceClassTypes<{ apiMountPath: string; compressOptions: any; cookieSecret: string; corsOptions: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify: any; healthzFunction: (...args) => Promise<void>; helmetOptions: { enableCSPNonces: boolean; global: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi: { components: any; enabled: boolean; externalDocs: { description: ...; url: ...; }; info: { contact: ... | ...; description: string; license: ... | ...; termsOfService: ... | ...; title: string; version: string; }; path: string; paths: Record<..., ...>; security: ...[]; servers: ...[]; tags: ...[]; }; port: number; traceHeaderField: string; uploadDir: string; }, EmptyObject>>; }>, "ServiceClassType", HttpServerClass<{ apiMountPath: string; compressOptions: any; cookieSecret: string; corsOptions: any; domain: string; enableCompress: boolean; enableCors: boolean; enableHealthz: boolean; enableHelmet: boolean; fastify: any; healthzFunction: (...args) => Promise<void>; helmetOptions: { enableCSPNonces: boolean; global: boolean; }; host: string; logLevel: "info" | "error" | "warn" | "debug" | "trace" | "fatal"; openApi: { components: any; enabled: boolean; externalDocs: { description: string; url: string; }; info: { contact: { email: string; name: string; url: string; }; description: string; license: { name: string; url: string; }; termsOfService: string; title: string; version: string; }; path: string; paths: Record<string, Record<string, any>>; security: any[]; servers: object[]; tags: object[]; }; port: number; traceHeaderField: string; uploadDir: string; }>>>

Defined in: packages/httpserver/src/service/httpServer/v1/httpServerV1Service.ts:19

Deprecated

Since version 1.10.0. Use {@purista/hono-http-server} instead.