mirror of
https://github.com/hanzoai/trpc-openapi.git
synced 2026-10-30 18:18:55 +00:00
6 lines
475 B
TypeScript
6 lines
475 B
TypeScript
import { NodeHTTPResponse } from '@trpc/server/adapters/node-http';
|
|
import { NodeHTTPRequest, OpenApiMethod } from '../types';
|
|
export declare const acceptsRequestBody: (method: OpenApiMethod | "HEAD") => boolean;
|
|
export declare const getContentType: (req: NodeHTTPRequest | Request) => string | undefined;
|
|
export declare const getRequestSignal: (req: NodeHTTPRequest | Request, res: NodeHTTPResponse, maxBodySize?: number) => AbortSignal;
|
|
//# sourceMappingURL=method.d.ts.map
|