Git Product home page Git Product logo

django-aws-api-gateway-websockets's People

Contributors

stevenmapes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

django-aws-api-gateway-websockets's Issues

piptools compile breaks

Python Version

3.11 and 3.12

Django Version

4.2

Package Version

1.0.11

Description

Issue appears when running piptools compile. The issue is either a limitation on the compatibility or with the pyproject.toml. Need to re-run and capture the full issue.

Add support for self registering gateways

Is your proposal related to a problem/issue?

#9

Description

Add in support to allow the project to self register new ApiGateway by fetching the details from AWS via Boto3 based on the X-Amzn-Apigateway-Api-Id header.

This functionality should be invoked from the _check_platform_registered_api_gateways method if no known record is returned. The theory is that it should then pull the details of all API Gateway entries and populate the database so that it can then pick it up the next time that gateway is used

Add method for handling channel change

Is your proposal related to a problem/issue?

feature

Description

At the moment the channel is set via the querystring when you connect to the websocket without a way to change it. Create a method to handle changing the channel via a specific "action". It should just be:

    def change_channel(self, request, *args, **kwargs):
        """Update the channel the user is connected to"""
        self.websocket_session.channel_name = self.body['channel']
        self.websocket_session.save()

or something similar. This will allow a user to jump between channels

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.