# Phoenix Socket draining

**URL:** <https://forum.elixirforum.com/t/phoenix-socket-draining/46751>\
**Category:** Questions\
**Tags:** phoenix, websockets\
**Created:** [March 22, 2022, 5:45pm UTC](https://forum.elixirforum.com/t/phoenix-socket-draining/46751 "2022-03-22T17:45:21Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bismark](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/bismark/32/1211_2.png) [@bismark](https://forum.elixirforum.com/u/bismark)\
**Post date:** [March 22, 2022, 8:49pm UTC](https://forum.elixirforum.com/t/phoenix-socket-draining/46751/4 "2022-03-22T20:49:06Z")

</div>

That’s handy, thanks!

From the docs:

> Important: This library currently leverages an undocumented internal function in Phoenix to achieve its magic of closing local sockets.

😊

---

_[View the full topic](https://forum.elixirforum.com/t/phoenix-socket-draining/46751)._
