api

http4k / org.http4k.core / HttpMessage / close

close

open fun close(): Unit

Closes the request. For server generated messages, this is called by all backend/client implementations, but when consuming external responses in streaming mode, this should be used.