Search documentation of pain

# PainWeb.Router (pain v0.1.0)

Copy Markdown

## Summary

### Functions

api(conn, _)
browser(conn, _)
call(conn, opts)

Callback invoked by Plug on every request.

formatted_routes(_)

Callback implementation for `Phoenix.VerifiedRoutes.formatted_routes/1`.

init(opts)

Callback required by Plug that initializes the router for serving web requests.

verified_route?(_, split_path)

Callback implementation for `Phoenix.VerifiedRoutes.verified_route?/2`.

## Functions

# api(conn, _)

# browser(conn, _)

# call(conn, opts)

Callback invoked by Plug on every request.

# formatted_routes(_)

Callback implementation for `Phoenix.VerifiedRoutes.formatted_routes/1`.

# init(opts)

Callback required by Plug that initializes the router for serving web requests.

# verified_route?(_, split_path)

Callback implementation for `Phoenix.VerifiedRoutes.verified_route?/2`.