extract_event_headers: Extract the headers from a Lambda event

View source: R/start-listening.R

extract_event_headersR Documentation

Extract the headers from a Lambda event

Description

This function is largely equivalent to headers, which it wraps. The only difference is that the names of the headers returned are converted to lower-case (these are meant to be case-insensitive) and the headers are logged at the DEBUG level.

Usage

extract_event_headers(event)

Arguments

event

the response received from querying the next invocation endpoint.


lambdr documentation built on Nov. 25, 2023, 5:08 p.m.