Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use Fleck side-by-side with my HttpListener? #347

Open
DanilochTop opened this issue Nov 24, 2024 · 1 comment
Open

How can I use Fleck side-by-side with my HttpListener? #347

DanilochTop opened this issue Nov 24, 2024 · 1 comment

Comments

@DanilochTop
Copy link

I have a server that uses HttpListener to handle some API requests, how could I use fleck in some specific endpoints and respond to non WebSocket requests?

@Kaliumhexacyanoferrat
Copy link

@DanilochTop If still an issue for you you could use the Fleck integration within the GenHTTP webserver which allows you to serve both REST APIs and Websocket handlers.

See https://genhttp.org/documentation/content/frameworks/websockets/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants