aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_default_event_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-07-26 15:25:53 +0200
committerLoïc Hoguin <[email protected]>2019-07-26 15:25:53 +0200
commitcd50a0d3f42afd5e12a1470902a60b4fa9d84f73 (patch)
treef78d527802a4e939de18258eb210b72745944289 /src/gun_default_event_h.erl
parent56b7fdd6eb15564ad821885937b03516a03dce4b (diff)
downloadgun-cd50a0d3f42afd5e12a1470902a60b4fa9d84f73.tar.gz
gun-cd50a0d3f42afd5e12a1470902a60b4fa9d84f73.tar.bz2
gun-cd50a0d3f42afd5e12a1470902a60b4fa9d84f73.zip
Add the origin_changed event
Diffstat (limited to 'src/gun_default_event_h.erl')
-rw-r--r--src/gun_default_event_h.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun_default_event_h.erl b/src/gun_default_event_h.erl
index 579fb20..a146d21 100644
--- a/src/gun_default_event_h.erl
+++ b/src/gun_default_event_h.erl
@@ -40,6 +40,7 @@
-export([ws_send_frame_end/2]).
-export([protocol_changed/2]).
-export([transport_changed/2]).
+-export([origin_changed/2]).
-export([cancel/2]).
-export([disconnect/2]).
-export([terminate/2]).
@@ -119,6 +120,9 @@ protocol_changed(_EventData, State) ->
transport_changed(_EventData, State) ->
State.
+origin_changed(_EventData, State) ->
+ State.
+
cancel(_EventData, State) ->
State.