trot
trot copied to clipboard
An Elixir web micro-framework.
Is there way to output log after start server? I want to know that the trot server has started successfully. Now, trot output logs when it receives some http request....
Hi there. I have no idea what the example here does: https://github.com/hexedpackets/trot/#example-app-using-templates I think its a great idea to add either a text above/beyond of it, or add some comments....
Hey, I often see an error like: ``` [error] Cowboy returned 400 because it was unable to parse the request headers. This may happen because there are no headers, or...
I have seen examples that demonstrate that cowboy support Websockets, but it's not clear to me how to configure them using trot, or if this is even possible. If not,...
Plug route matching a `:private` option to specify extra data to be sent to the matcher. Please support the same in trot.
Documentation on the intended way on how to fetch the request body data for PUT/POST/... requests is missing. ```elixir put "/" do IO.puts(inspect(conn.body_params)) "" end # Prints: # %Plug.Conn.Unfetched{aspect: :body_params}...
why not just use Plug.Router?
Hi, I'm starting to use trot for a side project. Love the concept. I setup my project with everything, and found that the docs were missing a "getting started" aspect....
How can I implement graceful shutdown of the server? I would like to capture SIGINT and SIGHUP signals and then I would like to stop listening for new connections. I...