aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_default_event_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-07-02 17:28:44 +0200
committerLoïc Hoguin <[email protected]>2019-07-02 17:29:40 +0200
commit4a6503186bf3a72880e7c99be76406550aeded96 (patch)
tree3be68b90bc7813fc87a0ac6167793842fa4557d5 /src/gun_default_event_h.erl
parent1c03ef37c3b9060db8483e3870771d900e176c97 (diff)
downloadgun-4a6503186bf3a72880e7c99be76406550aeded96.tar.gz
gun-4a6503186bf3a72880e7c99be76406550aeded96.tar.bz2
gun-4a6503186bf3a72880e7c99be76406550aeded96.zip
Add response_inform/response_headers/response_end events
This covers many scenarios but more need to be added.
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 a29183d..4156ed7 100644
--- a/src/gun_default_event_h.erl
+++ b/src/gun_default_event_h.erl
@@ -21,6 +21,9 @@
-export([request_start/2]).
-export([request_headers/2]).
-export([request_end/2]).
+-export([response_inform/2]).
+-export([response_headers/2]).
+-export([response_end/2]).
-export([disconnect/2]).
-export([terminate/2]).
@@ -42,6 +45,15 @@ request_headers(_EventData, State) ->
request_end(_EventData, State) ->
State.
+response_inform(_EventData, State) ->
+ State.
+
+response_headers(_EventData, State) ->
+ State.
+
+response_end(_EventData, State) ->
+ State.
+
disconnect(_EventData, State) ->
State.