Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Make the http method in the Websocket request struct optional. #34

Merged
merged 3 commits into from
Mar 5, 2021
Merged

Make the http method in the Websocket request struct optional. #34

merged 3 commits into from
Mar 5, 2021

Conversation

calavera
Copy link
Owner

@LegNeato I made some adjustments to properly serialize and deserialize the optional method. The code should still work correctly after the Go bindings are fixed, but we can also retouch this patch then.

Fixes #33

Signed-off-by: David Calavera david.calavera@gmail.com

This field is optional, but the Go bindings don't mark it as such.

Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
Signed-off-by: David Calavera <david.calavera@gmail.com>
@calavera
Copy link
Owner Author

calavera commented Mar 3, 2021

@LegNeato can you take a look at this change? it's using the latest master branch of aws-lambda-go with the http method field omited.

@LegNeato LegNeato merged commit 51f8a3a into calavera:master Mar 5, 2021
@calavera calavera deleted the fix_websocket_optional_field branch March 5, 2021 20:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Method Optional
2 participants