@ogma/platform-tcp
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

@ogma/platform-tcp

The TcpParser parser for the OgmaInterceptor. This plugin class parses TCP request and response object to be able to successfully log the data about the request. For more information, check out the @ogma/nestjs-module documentation.

Installation

Nothing special, standard npm i @ogma/platform-tcp or yarn add @ogma/platform-tcp

Usage

This plugin is to be used in the OgmaInterceptorOptions portion of the OgmaModule during forRoot or forRootAsync registration. It can be used like so:

@Module(
  OgmaModule.forRoot({
    interceptor: {
      rpc: TcpParser
    }
  })
)
export class AppModule {}

Package Sidebar

Install

npm i @ogma/platform-tcp

Weekly Downloads

98

Version

5.0.1

License

MIT

Unpacked Size

12.9 kB

Total Files

8

Last publish

Collaborators

  • jmcdo29
  • jeffminsungkim