API reference / @backpack/aws-lambda / rest / JsonResultOptions
Interface: JsonResultOptions
Extended by
Properties
headers?
ts
optional headers: Partial<Record<HttpResponseHeader, string>> & object;
Type declaration
Name | Type |
---|---|
Content-Type? | "application/json" | "application/problem+json" |
multiValueHeaders?
ts
optional multiValueHeaders: Record<HttpResponseHeader, string[]>;
statusCode?
ts
optional statusCode: HttpStatus;