Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natsws/src/mod.ts>Stats

WebSocket NATS
Go to Latest
interface Stats
import { type Stats } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Properties

inBytes: number

Number of bytes received by the client.

outBytes: number

Number of bytes sent by the client.

inMsgs: number

Number of messages received by the client.

outMsgs: number

Number of messages sent by the client.