UNPKG

tspace-0spear

Version:

tspace-0spear is a lightweight API framework for Node.js that is fast and highly focused on providing the best developer experience. It aims to be performant HTTP & Websocket Server using uWebSockets written in C++.

3 lines (2 loc) 218 B
import { OutgoingHttpHeaders } from 'http'; export declare const WriteHeader: (statusCode: number, contentType: OutgoingHttpHeaders) => (target: any, key: string, descriptor: PropertyDescriptor) => PropertyDescriptor;