View Source Orbit.Capsule (Orbit v0.1.0)
The main endpoint supervisor.
options
Options
required
Required
:certfile- path to a TLS certificatefile in the PEM format:endpoint- theOrbit.Pipeentry point that gets called on every request, typically anOrbit.Router:keyfile- path to a TLS private key file in the PEM format
optional
Optional
:port- the port to listen on; defaults to 1965
example-child-specification
Example Child Specification
{
Orbit.Capsule,
endpoint: MyApp.GemRouter,
certfile: Path.join(Application.app_dir(:my_app, "priv"), "cert.pem"],
keyfile: Path.join(Application.app_dir(:my_app, "priv"), "key.pem")
}
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor.