getResponseHeaders function
Get the outgoing response headers.
Parameters:
event
: AnH4Event
instance containing the HTTP request.
Returns:
The headers of the HTTP response, or null
if the response is null
.
Implementation
HttpHeaders? getResponseHeaders(H4Event event) {
return event.node["value"]?.response.headers;
}