Deno.HttpConn.close - Deno documentation
method Deno.HttpConn.close
HttpConn.close(): void

Initiate a server side closure of the connection, indicating to the client that you refuse to accept any more requests on this connection.

Typically the client closes the connection, which will result in the async iterable terminating or the nextRequest() method returning null.

Return Type

void