This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(gun_proxied_tls). | |
-behaviour(gen_server). | |
%% Gun-specific interface. | |
-export([ssl_connect/2]). | |
-export([ssl_connect/3]). | |
-export([proxy_received/2]). | |
%% Transport callback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule WhatHappensIn_1_3 do | |
def some_func() do | |
receive do | |
{from, message} -> | |
send from, "hello #{inspect message}" | |
some_func() | |
_ -> | |
IO.puts "quittin' time" | |
end |