Skip to contents

Drops every pooled connection without affecting the client's configuration; the next request opens a fresh one. Useful when a server has been restarted underneath a long-lived client.

Usage

zu_pool_reset(client)

Arguments

client

A zu_client.

Value

client, invisibly.

Examples

api <- zu_client()
zu_pool_reset(api)