# Async Function: WispSwitchServer
Closes the current Wisp connection (if any) and connects to a new Wisp server.
- `ws_ctx` - mutable reference to the [`WispContext`](./WispContext.md).
- `newWispURL` - the new Wisp server URL to connect to.
---
See also:
- [`WispClose`](./WispClose.md)
- [`WispSetServer`](./WispSetServer.md)