Starship.Reactor.Config (Starship v0.0.1) View Source
The configuration struct for the Starship
Webserver.
Link to this section Summary
Link to this section Types
Specs
t() :: %Starship.Reactor.Config{ buf: binary(), handler: module(), hosts: map(), ip: tuple(), listen_socket: port(), port: non_neg_integer(), socket: port(), state: :ws | :http_body | nil, transport: atom(), ws_fragment_opcode: Starship.Reactor.Websocket.Frame.opcode() }
The configuration that is passed to the Webserver when started, and subsequently passed to every TCP process when spawned.
The configuration contains both general server level configuration values (IP address, port, hosts, etc.) and TCP Socket level configuration values (socket process, socket state, socket handler, etc.)