API Reference Starship v0.0.1
Modules
The Starship Webserver.
The TCP Acceptor used by the Starship
Webserver.
The TCP Acceptor supervisor, which spawns and supervises Starship.Drive
processes to handle the requests to the Starship
Webserver.
The error that is raised when an unsupported HTTP Version is used in a request
to the Starship
Webserver.
The error that is raised when an invalid
configuration is passed to Starship.warp_in/1
.
The error that is raised when an invalid
handler type is passed to Starship.Reactor.get_host_handler/4
.
The error that is raised when an unsupported HTTP Method is used in a request
to the Starship
Webserver.
A simple wildcard handler for HTTP Requests that always returns 404 Not Found responses.
A simple wildcard handler for redirecting HTTP requests from non-secured to secured endpoints.
A simple wildcard handler for Websocket Requests that always sends "Returning: " followed by the text that is sent to the socket.
A behaviour module fo use when creating HTTP handlers for the Starship
Webserver.
A behaviour module fo use when creating HTTP handlers for the Starship
Webserver.
The main request handler for the Starship
Webserver.
The configuration struct for the Starship
Webserver.
The connection struct for the Starship
Webserver.
The struct and type spec for HTTP Methods
Functions for handling HTTP Requests in Starship.Reactor
.
Functions for building responses that are returned to the client.
All Response Codes that the Starship
Webserver can currently return.
Functions for handling Websocket Requests in Starship.Reactor
.
A websocket frame helper, used to parse and generate websocket frames.
Functions for handling a websocket handshake from Starship.Reactor.Websocket
.
Response Codes to be returned by a Websocket close frame.