TcpContext
class TcpContext extends BaseRpcContext {
constructor(args: TcpContextArgs)
getSocketRef()
getPattern()
// inherited from nest/packages/microservices/BaseRpcContext
constructor(args: T)
protected args: T
getArgs(): T
getArgByIndex(index: number)
}
Constructor
Methods
getSocketRef() |
---|
Returns the underlying JSON socket. |
ParametersThere are no parameters. |
getPattern() |
---|
Returns the name of the pattern. |
ParametersThere are no parameters. |