hex logo Hex
Packages Pricing Docs
Log In
Packages Pricing Docs Log In
Packages

push_ex

0.1.0-rc1
2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.2 1.0.1-rc3 1.0.1-rc2 1.0.1-rc1 1.0.0-rc9 1.0.0-rc8 1.0.0-rc7 1.0.0-rc6 1.0.0-rc5 1.0.0-rc4 1.0.0-rc3 1.0.0-rc2 1.0.0-rc15 1.0.0-rc14 1.0.0-rc13 1.0.0-rc12 1.0.0-rc11 1.0.0-rc10 1.0.0-rc1 0.2.0-rc2 0.2.0-rc1 0.1.0-rc1 0.0.1-rc4 0.0.1-rc3 0.0.1-rc2 0.0.1-rc

PushEx is an implementation of Phoenix websockets/channels which handles best practices of running websockets for you, but allows your business logic to be specified through simple behaviour modules.

HexDocs

Current section

Files

Jump to
Readme
31 Versions
7 Dependencies
Dependants
Files
Activity
Readme 31 Versions 7 Dependencies Dependants Files Activity
push_ex lib push_ex_web router.ex
Raw

22 files

      • endpoint.ex
      • router.ex
    • push_ex.ex
    • push_ex_web.ex
  • README.md
  • mix.exs

Package files

  • lib/push_ex.ex
  • lib/push_ex/application.ex
  • lib/push_ex/behaviour/controller.ex
  • lib/push_ex/behaviour/push_instrumentation.ex
  • lib/push_ex/behaviour/socket.ex
  • lib/push_ex/config.ex
  • lib/push_ex/instrumentation/push.ex
  • lib/push_ex/instrumentation/tracker.ex
  • lib/push_ex/push.ex
  • lib/push_ex/push/item_consumer.ex
  • lib/push_ex/push/item_producer.ex
  • lib/push_ex/push/item_server.ex
  • lib/push_ex_web.ex
  • lib/push_ex_web/channels/push_channel.ex
  • lib/push_ex_web/channels/push_presence.ex
  • lib/push_ex_web/channels/push_socket.ex
  • lib/push_ex_web/controllers/push_controller.ex
  • lib/push_ex_web/endpoint.ex
  • lib/push_ex_web/router.ex
  • lib/push_ex_web/views/error_view.ex
  • mix.exs
  • README.md

lib/push_ex_web/router.ex

defmodule PushExWeb.Router do
@moduledoc false
use PushExWeb, :router
pipeline :api do
plug :accepts, ["json"]
end
scope "/api", PushExWeb do
pipe_through :api
post "/push", PushController, :create
end
end
hex logo Hex
About Blog Sponsors Status Advisories
Documentation FAQ Specifications Report Client Issue Report General Issue Report Security Issue Contact Support
Code of Conduct Terms of Service Privacy Policy Copyright Policy Dispute Policy

Copyright 2015. Six Colors AB.

Powered by the Erlang VM and the Elixir Programming Language

Search filters

Type any of these into the search box. They can be combined with free text which searches package names and descriptions.

Operator Description Example
name: Match package name. Supports * wildcards and repo/package form name:phx* or name:hexpm/phoenix
description: Full-text search of package descriptions description:auth
depends: Packages depending on a given package. Supports repo:package form depends:ecto or depends:hexpm:ecto
build_tool: Filter by build tool build_tool:mix
updated_after: Packages updated after an ISO8601 datetime updated_after:2025-01-01T00:00:00Z
extra: Match custom metadata (key,value). Nested keys are separated by commas extra:license,MIT

Wrap values in double quotes to include spaces, e.g. name:"my package".