close

open override fun close()

Closes the HTTP client and releases resources.

Should be called when the server instance is no longer needed. After calling close(), no more requests can be made.