View Source Tamnoon.Router (Tamnoon v0.1.0)

This module provides a default router for HTTP(S) requests, returning a 404 status to all of them. This is useful in order to only serve Websocket requests, however creating a custom one configured to serve a website might be beneficial. If you wish to do so, see Plug.Router and Tamnoon.child_spec/1.

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.