aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_default_event_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-06-02 17:26:37 +0200
committerLoïc Hoguin <[email protected]>2019-06-02 17:28:34 +0200
commitb4c7749176e0a55b5763f3e04bf9312adff7ea82 (patch)
treecbb923a692aa3c578501a0a27e550ec9a4062a71 /src/gun_default_event_h.erl
parenta309f196d15d3045d2e70b2d7e23858f47adb7df (diff)
downloadgun-b4c7749176e0a55b5763f3e04bf9312adff7ea82.tar.gz
gun-b4c7749176e0a55b5763f3e04bf9312adff7ea82.tar.bz2
gun-b4c7749176e0a55b5763f3e04bf9312adff7ea82.zip
Add request_start, request_headers and request_end events
Diffstat (limited to 'src/gun_default_event_h.erl')
-rw-r--r--src/gun_default_event_h.erl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gun_default_event_h.erl b/src/gun_default_event_h.erl
index 6d64ff7..a29183d 100644
--- a/src/gun_default_event_h.erl
+++ b/src/gun_default_event_h.erl
@@ -18,6 +18,9 @@
-export([init/2]).
-export([connect_start/2]).
-export([connect_end/2]).
+-export([request_start/2]).
+-export([request_headers/2]).
+-export([request_end/2]).
-export([disconnect/2]).
-export([terminate/2]).
@@ -30,6 +33,15 @@ connect_start(_EventData, State) ->
connect_end(_EventData, State) ->
State.
+request_start(_EventData, State) ->
+ State.
+
+request_headers(_EventData, State) ->
+ State.
+
+request_end(_EventData, State) ->
+ State.
+
disconnect(_EventData, State) ->
State.