Starship.Reactor.Response (Starship v0.0.1) View Source
Functions for building responses that are returned to the client.
Link to this section Summary
Link to this section Functions
Specs
build_headers(Starship.Reactor.Conn.headers(), non_neg_integer()) :: Starship.Reactor.Conn.headers()
Specs
build_response( non_neg_integer(), Starship.Reactor.Conn.headers(), Starship.Reactor.Conn.body(), Starship.Reactor.Conn.http_version() ) :: [binary()]
Specs
connection_header( Starship.Reactor.Conn.headers(), Starship.Reactor.Conn.http_version() ) :: {Starship.Reactor.connection_state(), Starship.Reactor.Conn.header()}