Skip to content
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 channels #1639

Closed
wants to merge 65 commits into from
Closed

Commits on Jun 16, 2021

  1. Add websocket example

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    39ea958 View commit details
    Browse the repository at this point in the history
  2. Update parts of codegen

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d440463 View commit details
    Browse the repository at this point in the history
  3. Add websocket types

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    5e2bc85 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5c62a3 View commit details
    Browse the repository at this point in the history
  5. Add websocket module

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    2a834d4 View commit details
    Browse the repository at this point in the history
  6. Add websocket dep

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    3f09316 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b8ee882 View commit details
    Browse the repository at this point in the history
  8. Switch name in example

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    857610b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    03ba76a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8cf1776 View commit details
    Browse the repository at this point in the history
  11. Use FromWebSocket

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    0b9cb97 View commit details
    Browse the repository at this point in the history
  12. Updates to internal API

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    bd011df View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6f7d4e4 View commit details
    Browse the repository at this point in the history
  14. Add server support

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    81893df View commit details
    Browse the repository at this point in the history
  15. Add websockets to router

    the10thWiz committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    614a902 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. Configuration menu
    Copy the full SHA
    2dcd86c View commit details
    Browse the repository at this point in the history
  2. Complete lifetime solution and make example work

    The websocket-echo example now works, next up is broker and broadcasts
    the10thWiz committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    7b0bc89 View commit details
    Browse the repository at this point in the history
  3. Clean up echo example

    the10thWiz committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    768a524 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a332daa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    821bc6b View commit details
    Browse the repository at this point in the history
  6. Cleanup

    Fixes Cargo warnings (uses #[allow] to indicate that the warning is due
    to unimplemented features), and fixes formatting issues.
    the10thWiz committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    b2e6f38 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. Add broker and remaining websocket events

    Adds an ineffecient implementation of Broker, and implements the
    remaining WebSocket Events
    the10thWiz committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    d1830d7 View commit details
    Browse the repository at this point in the history
  2. Fix rustc warnings

    the10thWiz committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    a536260 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9059648 View commit details
    Browse the repository at this point in the history
  4. Add broadcast methods to the Channel and Broker

    This also adds an example, and configures the server to subscribe the
    client at the right time.
    the10thWiz committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    609d81e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. Configuration menu
    Copy the full SHA
    f1079cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    945a276 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Formatting fixes

    the10thWiz committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    cafa1f1 View commit details
    Browse the repository at this point in the history
  2. Add Autobahn CI support

    the10thWiz committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    957681c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84b1bdb View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2021

  1. Add compile time error for restricted ranks

    The rank `isize::max_value()` has been restricted for use only by Rocket
    or other manually implemented routes.
    the10thWiz committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    669af9c View commit details
    Browse the repository at this point in the history
  2. Add more documentation

    the10thWiz committed Jun 25, 2021
    Configuration menu
    Copy the full SHA
    03e3edb View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2021

  1. Configuration menu
    Copy the full SHA
    1b65b2b View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. Configuration menu
    Copy the full SHA
    f56474d View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Configuration menu
    Copy the full SHA
    f17a759 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Add Subprotocol code

    This doesn't actually implement any subprotocols, but rather it creates
    the code needed to implement them.
    the10thWiz committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    d2951d5 View commit details
    Browse the repository at this point in the history
  2. Remove WebSocketUpgrade object

    It was essentially just a tuple, so now I just return the parts as a
    tuple
    the10thWiz committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    01e79ed View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Update guide

    the10thWiz committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    b2d934a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Update examples

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    5a6e2ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e01720 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    161713c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1176741 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0d703f View commit details
    Browse the repository at this point in the history
  6. Minor fixes

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    81a92af View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    75f1a79 View commit details
    Browse the repository at this point in the history
  8. Update comments and switch to &WebSocketToken<T>

    When using `WebSocketToken` as a request guard, it now looks like
    `&WebSocketToken<T>` rather than `WebSocketToken<&T>`
    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    a49e120 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8747708 View commit details
    Browse the repository at this point in the history
  10. Fix example in Git

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    7f2a4b3 View commit details
    Browse the repository at this point in the history
  11. Add WebSocketTokenWrapper

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    87f8723 View commit details
    Browse the repository at this point in the history
  12. Switch to WebSocket type

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    c92e177 View commit details
    Browse the repository at this point in the history
  13. Switch to WebSocketData

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    f5f3629 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7c4847d View commit details
    Browse the repository at this point in the history
  15. Cleanup and formatting

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    4f9211c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    d6533cd View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    6f5aa2c View commit details
    Browse the repository at this point in the history
  18. Fix echo example

    the10thWiz committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    adde569 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2f52183 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    76beb7c View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Update Broker to work with Responder

    Includes code to actually get a handle to the running Rocket
    installation
    the10thWiz committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    a949116 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Start profiling

    the10thWiz committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    2f25972 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2022

  1. Configuration menu
    Copy the full SHA
    3371971 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Configuration menu
    Copy the full SHA
    d918ec5 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2022

  1. Move to ephemeral requests in websockets

    - Undoes the unsafe hack to make json work
    - Adds `pub(crate) apply_delta` to CookieJar
    - Adds `ws_cache` to Request
      - Makes several more properties pub(crate)
    - Removes clone of request in favor of constructing a WsRequest
    - Add note on alternatives to rocket-multiplex
    the10thWiz committed May 5, 2022
    Configuration menu
    Copy the full SHA
    f7eef49 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Implement allowed_origins

    - Add allowed_origins parameter to routes
    - Make `Channel::request()` public for codegen
    the10thWiz committed May 6, 2022
    Configuration menu
    Copy the full SHA
    1d9eb83 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2022

  1. Configuration menu
    Copy the full SHA
    b151c96 View commit details
    Browse the repository at this point in the history