shutdown method
Shutdown socket send operations.
Matches behavior of POSIX shutdown(3).
const listener = Deno.listen({ port: 80 });
const conn = await listener.accept();
Deno.shutdown(conn.rid);
Implementation
_i2.Future<void> shutdown(_i2.num rid) => _i3.promiseToFuture(_i3.callMethod(
this,
'shutdown',
[rid],
));