@nestjs/microservices
Version:
Nest - modern, fast, powerful node.js web framework (@microservices)
10 lines (9 loc) • 416 B
TypeScript
import { ConsumerDeserializer, IncomingEvent, IncomingRequest } from '../interfaces';
/**
* @publicApi
*/
export declare class IncomingRequestDeserializer implements ConsumerDeserializer {
deserialize(value: any, options?: Record<string, any>): IncomingRequest | IncomingEvent;
isExternal(value: any): boolean;
mapToSchema(value: any, options?: Record<string, any>): IncomingRequest | IncomingEvent;
}