Flashtag CMS API v0.0.1 FlashtagAPI.Endpoint View Source
Link to this section Summary
Functions
Returns all sockets configured in this endpoint
Broadcasts a msg as event in the given topic
Broadcasts a msg as event in the given topic
Broadcasts a msg from the given from as event in the given topic
Broadcasts a msg from the given from as event in the given topic
Callback implementation for Plug.call/2
Returns the endpoint configuration for key
Reloads the configuration given the application environment changes
Returns the host for the given endpoint
Callback implementation for Plug.init/1
Callback invoked for dynamically configuring the endpoint
Instruments the given function
Generates the path information when routing to this endpoint
Generates the script name
Starts the endpoint supervision tree
Generates a route to a static file in priv/static
Generates the static URL without any path information
Generates the endpoint base URL but as a URI struct
Unsubscribes the caller from the given topic
Generates the endpoint base URL without any path information
Link to this section Functions
Returns all sockets configured in this endpoint.
Broadcasts a msg as event in the given topic.
Callback implementation for Phoenix.Endpoint.broadcast/3.
Broadcasts a msg as event in the given topic.
Raises in case of failures.
Callback implementation for Phoenix.Endpoint.broadcast!/3.
Broadcasts a msg from the given from as event in the given topic.
Callback implementation for Phoenix.Endpoint.broadcast_from/4.
Broadcasts a msg from the given from as event in the given topic.
Raises in case of failures.
Callback implementation for Phoenix.Endpoint.broadcast_from!/4.
Callback implementation for Plug.call/2.
Returns the endpoint configuration for key
Returns default if the key does not exist.
Reloads the configuration given the application environment changes.
Returns the host for the given endpoint.
Callback implementation for Plug.init/1.
Callback invoked for dynamically configuring the endpoint.
It receives the endpoint configuration and checks if configuration should be loaded from the system environment.
Instruments the given function.
event is the event identifier (usually an atom) that specifies which
instrumenting function to call in the instrumenter modules. runtime is
metadata to be associated with the event at runtime (e.g., the query being
issued if the event to instrument is a DB query).
Examples
instrument :render_view, %{view: "index.html"}, fn ->
render conn, "index.html"
end
Generates the path information when routing to this endpoint.
Generates the script name.
Starts the endpoint supervision tree.
Generates a route to a static file in priv/static.
Generates the static URL without any path information.
It uses the configuration under :static_url to generate
such. It falls back to :url if :static_url is not set.
Generates the endpoint base URL but as a URI struct.
It uses the configuration under :url to generate such.
Useful for manipulating the URL data and passing it to
URL helpers.
Unsubscribes the caller from the given topic.
Callback implementation for Phoenix.Endpoint.unsubscribe/1.
Generates the endpoint base URL without any path information.
It uses the configuration under :url to generate such.