diff options
author | Loïc Hoguin <[email protected]> | 2019-07-02 17:28:44 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-02 17:29:40 +0200 |
commit | 4a6503186bf3a72880e7c99be76406550aeded96 (patch) | |
tree | 3be68b90bc7813fc87a0ac6167793842fa4557d5 /src/gun_default_event_h.erl | |
parent | 1c03ef37c3b9060db8483e3870771d900e176c97 (diff) | |
download | gun-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.erl | 12 |
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. |