{gun_trailers, ConnPid, StreamRef, Headers}
ConnPid :: pid()
StreamRef :: gun:stream_ref()
Headers :: [{binary(), binary()}]gun_trailers - Response trailers
{gun_trailers, ConnPid, StreamRef, Headers}
ConnPid :: pid()
StreamRef :: gun:stream_ref()
Headers :: [{binary(), binary()}]Response trailers.
This message informs the relevant process that the server sent response trailers for the response to the original request.
A trailers message terminates the response.
The pid of the Gun connection process.
Identifier of the stream for the original request.
Trailing headers sent after the response body.
1.0: Message introduced.
handle_info({gun_trailers, ConnPid, _StreamRef, _Headers}, State=#state{conn_pid=ConnPid}) -> %% Do something. {noreply, State}.