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 #711
Websocket #711
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
-
-
-
Commits on Jun 12, 2019
Commits on Jun 13, 2019
Commits on Jun 14, 2019
Commits on Jun 15, 2019
Commits on Jun 16, 2019
Commits on Jun 17, 2019
Commits on Jun 18, 2019
Commits on Jun 22, 2019
Commits on Jun 25, 2019
-
Fix a test that didn't run correctly on AWS
Test: 'should receive error code when sending to non existing client via REST API'
-
Fixed test failing when running offline
Test: 'should receive correct call info'
Commits on Jun 26, 2019
-
In order to remove the need to use an updated AWS sdk and so only to upload a few KB instead of ~10MB.
Commits on Jun 28, 2019
-
Merge pull request #720 from computerpunc/websocket-fixes
Websocket #711 - Fix failing manual WebSocket tests
Commits on Jun 30, 2019
-
-
Remove websocket feature toggling
Edit websocket default port (port + 1 --> 3001) Launch websocket server when needed
-
-
Commits on Jul 1, 2019
Commits on Jul 2, 2019
-
-
-
-
-
Merge pull request #725 from frsechet/websocket-fixes
Add DELETE route to close a websocket connection
-
-
Merge pull request #726 from frsechet/fix/aws-difference
close connection on error in $connect action handler
Commits on Jul 3, 2019
-
-
-
Merge branch 'websocket-fixes' of https://github.com/dherault/serverl…
…ess-offline into websocket-fixes
-
-
Merge pull request #729 from frsechet/fix/tests-sigv4-delete-connection
fix: don't add body and content-type headers to sigv4