Skip to content

Commit

Permalink
tcp: make keep-alive delay value configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Mar 11, 2024
1 parent 734f3e2 commit 7fd2788
Show file tree
Hide file tree
Showing 5 changed files with 5,282 additions and 5,256 deletions.
2 changes: 1 addition & 1 deletion docs/types/txikijs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ declare global {
interface Connection {
read(buf: Uint8Array): Promise<number|null>;
write(buf: Uint8Array): Promise<number>;
setKeepAlive(enable?: boolean): void;
setKeepAlive(enable: boolean, delay: number): void;
setNoDelay(enable?: boolean): void;
shutdown(): void;
close(): void;
Expand Down
Loading

0 comments on commit 7fd2788

Please sign in to comment.