Websocket worker

I am trying to write a worker which handles websockets. I understand that Durable Objects are usually the more suitable solution for this, but I believe that this is the exceptional case. My use-case only involves single clients, without any multi-client coordination. My existing non-CF-worker codebase uses axum for the HTTP routing service. But, the axum ws flag pulls in a bunch of dependencies which do not build in WASM. Is there any strategy for getting websocket support in axum working on CF workers?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?