Skip to content

Commit dedbc86

Browse files
committed
fix comments for connection stats
1 parent 479e011 commit dedbc86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/server.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ const HTTPS_DEFAULTS = {
6363
* Connection statistics for bandwidth tracking.
6464
*/
6565
export type ConnectionStats = {
66-
// Bytes sent from proxy to client.
66+
// Bytes sent by proxy to client.
6767
srcTxBytes: number;
68-
// Bytes received from client to proxy.
68+
// Bytes received by proxy from client.
6969
srcRxBytes: number;
70-
// Bytes sent from proxy to target.
70+
// Bytes sent by proxy to target.
7171
trgTxBytes: number | null;
72-
// Bytes received from target to proxy.
72+
// Bytes received by proxy from target.
7373
trgRxBytes: number | null;
7474
};
7575

0 commit comments

Comments
 (0)