New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket support #674
Websocket support #674
Commits on May 8, 2019
Commits on May 14, 2019
Commits on May 21, 2019
-
* Fix bug of test stop running when sending a an update to a non existing connection. * Fix but when querry string support was not equally handled as in AWS.
Commits on May 23, 2019
Commits on May 26, 2019
-
POST to /@connections/{connectionId} to send message to client at connectionId.
Commits on May 27, 2019
-
Changed the way to get function to post-to-connection
Here's the new way: const endpoint=event.requestContext.domainName+'/'+event.requestContext.stage; const apiVersion='2018-11-29'; let API=null; if (!process.env.IS_OFFLINE) { API = require('aws-sdk'); require('aws-sdk/clients/apigatewaymanagementapi'); } else { API = require('serverless-offline').AWS; } return new API.ApiGatewayManagementApi({ apiVersion, endpoint });
-
1. Action of routes. 2. Listening on WS message sending via REST API.
-
Commits on May 28, 2019
Commits on May 29, 2019
-
Removed require('aws-sdk/clients/apigatewaymanagementapi');
Doesn't seem to be needed anymore as a workaround in aws-sdk.
Commits on May 30, 2019
-
Removed the need for require('serverless-offline').AWS
Use plain vanilla AWS SDK: let endpoint=event.apiGatewayUrl; if (!endpoint) endpoint = event.requestContext.domainName+'/'+event.requestContext.stage; const apiVersion='2018-11-29'; return new AWS.ApiGatewayManagementApi({ apiVersion, endpoint });
-
Commits on Jun 1, 2019
Commits on Jun 3, 2019
Commits on Jun 4, 2019
Commits on Jun 5, 2019
Commits on Jun 6, 2019
Commits on Jun 11, 2019
-
Support for websocketsApiRouteSelectionExpression
In the form of $request.body.x.y.z
-
-
Merge branch 'master' of https://github.com/dherault/serverless-offline…
… into websocket-support
-
-
-