Request.keepAlive

Set http keepAlive value v - use keepalive requests - true, or not - false Request will automatically reopen connection when host, protocol or port change (so it is safe to send different requests through single instance of Request). It also recovers if server prematurely close keep-alive connection.

struct Request
@property pure @nogc nothrow
void
keepAlive
(
bool v
)

Meta