A connection adapter for the Starship webserver, similar to how Plug works with Cowboy.
The original idea was to build an adapter for Plug (à la plug_cowboy
). However there isn't any documentation for building adapters and looking through the plug_cowboy
package wasn't helping as I couldn't find a behaviour for the adapter, so I decided to build my own package.
If available in Hex, the package can be installed
by adding pilot
to your list of dependencies in mix.exs
:
def deps do
[
{:pilot, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/pilot.