aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_default_event_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-07-24 13:04:56 +0200
committerLoïc Hoguin <[email protected]>2019-07-24 13:04:56 +0200
commit8c6adf73d9d3fa1ebb49d4b9bd71caab1815dcb2 (patch)
tree0646abc1e66631fa340f6e0cb09cea50bc03d2f6 /src/gun_default_event_h.erl
parent516933f9dd2722329b3886c495d5242308958fe1 (diff)
downloadgun-8c6adf73d9d3fa1ebb49d4b9bd71caab1815dcb2.tar.gz
gun-8c6adf73d9d3fa1ebb49d4b9bd71caab1815dcb2.tar.bz2
gun-8c6adf73d9d3fa1ebb49d4b9bd71caab1815dcb2.zip
Add push_promise_start/push_promise_end events
Diffstat (limited to 'src/gun_default_event_h.erl')
-rw-r--r--src/gun_default_event_h.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gun_default_event_h.erl b/src/gun_default_event_h.erl
index 9b56e71..25076ac 100644
--- a/src/gun_default_event_h.erl
+++ b/src/gun_default_event_h.erl
@@ -25,6 +25,8 @@
-export([request_start/2]).
-export([request_headers/2]).
-export([request_end/2]).
+-export([push_promise_start/2]).
+-export([push_promise_end/2]).
-export([response_start/2]).
-export([response_inform/2]).
-export([response_headers/2]).
@@ -70,6 +72,12 @@ request_headers(_EventData, State) ->
request_end(_EventData, State) ->
State.
+push_promise_start(_EventData, State) ->
+ State.
+
+push_promise_end(_EventData, State) ->
+ State.
+
response_start(_EventData, State) ->
State.