aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/tcp-server.test.ts (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 1-16/+4
2023-01-29[breaking] Add `binaryType` option to Bun.connect & Bun.listenGravatar Jarred Sumner 1-3/+128
This is a breaking change because the default is `Buffer`, but previously the default was `Uint8Array`. While `Buffer` is a subclass of `Uint8Array`, it still technically is a breaking change because `slice` in `Uint8Array` is not semantically identical to `slice` in `Buffer` cc @colinhacks, the .d.ts changes I made here aren't great.
2023-01-12Update tcp-server.test.tsGravatar Jarred Sumner 1-1/+1
2023-01-02[socket] handle `connectError` (#1705)Gravatar Alex Lam S.L 1-8/+3
assorted clean-ups & fixes
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 1-4/+4
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-25Fix crash in TCP serverGravatar Jarred Sumner 1-2/+2
2022-10-25TCP & TLS Socket API (#1374)Gravatar Jarred Sumner 1-0/+114
* TCP Socket API * Wip * Add snippet for StringDecoder * Rename `close` to `stop`, replace `close` with `end` * Add a tcp echo server test * Some docs * Update README.md * Fix build * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>