Mshutdown
Bun

method

TCPSocket.shutdown

halfClose?: boolean
): void;

Shutdown writes to a socket

This makes the socket a half-closed socket. It can still receive data.

This calls shutdown(2) internally