plug :accepts, [“html”] plug :fetch_session (লུ) end scope “/“ Hello do pipe_through :browser get “/“, PageController, :index end end ॲཧ͢Δ1MVH ؔ Λࢦఆ ࢦఆͨ͠1MVHͷू·ΓΛ͜ͷϧʔ τͷϦΫΤετʹׂΓͯΔ
[], name: __MODULE__) end def init(_opts) do children = [worker(Hello.ApiClient, [], restart: :temporary)] supervise children, strategy, :simple_one_for_one end end
[], name: __MODULE__) end def init(_opts) do children = [worker(Hello.ApiClient, [], restart: :temporary)] supervise children, strategy, :simple_one_for_one end end ࠓճͷ߹ Τϥʔ͕ൃੜͯ͠࠶ىಈ͠ ͳ͍Α͏ʹઃఆ
[], name: __MODULE__) end def init(_opts) do children = [worker(Hello.ApiClient, [], restart: :temporary)] supervise children, strategy, :simple_one_for_one end end ࠓճͷ߹ Τϥʔ͕ൃੜͯ͠࠶ىಈ͠ ͳ͍Α͏ʹઃఆ ͜͜ࢠϓϩηεͷࢹ ͷઃఆ
socket) do {:ok, socket} end def end(“rooms:” <> _private_room_id, _auth_msg, socket) do {:error, %{reason: “unauthorized”}} end end lSPPNTMPCCZzτϐοΫ ʹࢀՃ͢Δ τϐοΫʹࢀՃ