stop
Stop the HTTP server started by run() or
serve(). Closes the underlying @hono/node-server
instance and releases the port.
Unlike the Python counterpart (which only flips an internal flag), the TypeScript
stop() actually closes the listener. It is safe to call when no server is
running — it no-ops if the service hasn’t been started.
Returns
void