Mshutdown
Bun

method

TLSSocket.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