Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions events/lambda_function_urls.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ type LambdaFunctionURLResponse struct {
// LambdaFunctionURLStreamingResponse models the response to a Lambda Function URL when InvokeMode is RESPONSE_STREAM.
// If the InvokeMode of the Function URL is BUFFERED (default), use LambdaFunctionURLResponse instead.
//
// When the handler returns this response without an error, leave Body open.
// The Lambda runtime reads Body while sending the response and closes it
// afterward if it implements [io.ReadCloser].
//
// Note: This response type requires compiling with `-tags lambda.norpc`, or choosing the `provided` or `provided.al2` runtime.
type LambdaFunctionURLStreamingResponse struct {
prelude *bytes.Buffer
Expand Down
Loading