Current section
Files
Jump to
Current section
Files
lib/router/authorization.ex
defmodule Wampex.Router.Authorization do
@moduledoc false
@type access_type :: :publish | :subscribe | :register | :call
@callback authorized?(type :: access_type(), uri :: String.t(), data :: any()) :: true | false
end