We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If any callback returns a response with body set to true an error should be raised. This is because the response is incomplete.
e.g.
defmodule MyServer do use Raxx.Server def handle_request(request, state) do response = Raxx.response(:ok) |> Raxx.set_body(true) end end
This example should raise an error the correct return value is {response, new_state}
{response, new_state}
The text was updated successfully, but these errors were encountered:
CrowdHailer#54 Raise error for incomplete response without new server…
5dad986
… state
Merge pull request #55 from chx/master
28fdcce
#54 Raise error for incomplete response without new server state
No branches or pull requests
If any callback returns a response with body set to true an error should be raised. This is because the response is incomplete.
e.g.
This example should raise an error
the correct return value is
{response, new_state}
The text was updated successfully, but these errors were encountered: