struct

AWSLambdaEvents::APIGateway::V1::ProxyResponse

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(status_code : Int32, body : String | Nil = nil, headers : Hash(String, String) | Nil = nil, multi_value_headers : Hash(String, Array(String)) | Nil = nil, base64_encoded : Bool = false)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

base64_encoded=(base64_encoded : Bool)
Source
base64_encoded?
Source
body
Source
body=(body : String | Nil)
Source
headers
Source
headers=(headers : Hash(String, String) | Nil)
Source
multi_value_headers
Source
multi_value_headers=(multi_value_headers : Hash(String, Array(String)) | Nil)
Source
status_code
Source
status_code=(status_code : Int32)
Source