sanic-org / sanic

Accelerate your web app development | Build fast. Run fast.
https://sanic.dev
MIT License
18.11k stars 1.55k forks source link

Sockets #3001

Open beliboba opened 1 month ago

beliboba commented 1 month ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

Are sockets still in sanic? Only mention i found is here

Describe the solution you'd like

sockets.

Additional context

meow

Tronic commented 4 weeks ago

The documentation at readthedocs is outdated. You will find current documentation at sanic.dev

UNIX sockets can be used by sanic --unix or app.run(unix="sanic.sock"), so you don't need to handle sockets directly anymore.

There's no separate documentation page on it, but it is mentioned in https://sanic.dev/en/guide/running/running.md#running-sanic https://sanic.dev/en/guide/deployment/caddy.html#advanced-configuration