event.responseHeaders

Type [Table][api.type.table]
Event networkRequest
Revision Release 2020.3606
Keywords networkRequest, responseHeaders

Overview

A table providing response header values with string keys.

Example

-- Print the Content-Type header value for a response
local function networkListener( event )
    print( "Content-Type of response is: " .. event.responseHeaders["Content-Type"] )
end