@ogma/nestjs-module
Version:
A NestJS module for the Ogma logger
14 lines (13 loc) • 636 B
TypeScript
import { ArgumentsHost } from '@nestjs/common';
import { AbstractInterceptorService } from './abstract-interceptor.service';
export declare abstract class WebsocketInterceptorService extends AbstractInterceptorService {
getCallPoint(context: ArgumentsHost): string;
/**
* A helper method to get the websocket client from the Nest Execution Context
* @param context execution context from Nest
* @returns the client object for the websocket adapter
*/
getClient(context: ArgumentsHost): any;
setRequestId(context: ArgumentsHost, requestId: any): void;
getRequestId(context: ArgumentsHost): any;
}