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

Remove the "connection closed" message #79

Open
NickSeagull opened this issue Jun 9, 2017 · 3 comments
Open

Remove the "connection closed" message #79

NickSeagull opened this issue Jun 9, 2017 · 3 comments

Comments

@NickSeagull
Copy link
Member

This is fairly straightforward by changing the call to simpleWebApp in Ulmus.hs for something like:

myInitialization port app = do
   node <- createNode "localhost" $ fromIntegral port
   keep' $ initWebApp node app
   return ()
@mdibaiee
Copy link
Contributor

@NickSeagull do you mean this?

listen websocket:CloseRequest 1000 "closemsg"

I tried the snippet you said, it hides the end, log, ps message, but the CloseRequest message still works, and errors are also still reported.

@NickSeagull
Copy link
Member Author

Oh so maybe we have to wait until the new version of Transient arrives, but maybe it is good to hide the end log ps message too! If you have it somewhere, submit a PR please! @mdibaiee

@mdibaiee
Copy link
Contributor

Yep: #85

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

No branches or pull requests

2 participants