diff options
author | Loïc Hoguin <[email protected]> | 2019-07-03 17:22:43 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-07-03 17:22:43 +0200 |
commit | 071599cbcd25cd2669e26d23a6e202e0275f191a (patch) | |
tree | 58805ebdf34d3f2830b9d5ef6817e1e077d94790 /src/gun_default_event_h.erl | |
parent | d6b7ec654a876531dc0cfc7c65350d354bda2f52 (diff) | |
download | gun-071599cbcd25cd2669e26d23a6e202e0275f191a.tar.gz gun-071599cbcd25cd2669e26d23a6e202e0275f191a.tar.bz2 gun-071599cbcd25cd2669e26d23a6e202e0275f191a.zip |
Add the response_trailers event
Diffstat (limited to 'src/gun_default_event_h.erl')
-rw-r--r-- | src/gun_default_event_h.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun_default_event_h.erl b/src/gun_default_event_h.erl index cd48fc2..ff6f951 100644 --- a/src/gun_default_event_h.erl +++ b/src/gun_default_event_h.erl @@ -24,6 +24,7 @@ -export([response_start/2]). -export([response_inform/2]). -export([response_headers/2]). +-export([response_trailers/2]). -export([response_end/2]). -export([disconnect/2]). -export([terminate/2]). @@ -55,6 +56,9 @@ response_inform(_EventData, State) -> response_headers(_EventData, State) -> State. +response_trailers(_EventData, State) -> + State. + response_end(_EventData, State) -> State. |