1. 04 Apr, 2022 2 commits
  2. 02 Apr, 2022 1 commit
    • Niklas Adolfsson's avatar
      [examples]: update pubsub examples (#705) · 961e6bd5
      Niklas Adolfsson authored
      * update pubsub examples
      
      * Update examples/ws_subscription.rs
      
      * remove some docs
      
      * remove needless clone
      
      * simplify example
      
      * simplify code with async-broadcast channel
      
      * use tokio broadcast for smaller dependency tree
      
      * Update examples/ws_pubsub_broadcast.rs
      961e6bd5
  3. 01 Apr, 2022 3 commits
  4. 30 Mar, 2022 1 commit
  5. 29 Mar, 2022 1 commit
  6. 28 Mar, 2022 1 commit
  7. 22 Mar, 2022 1 commit
  8. 09 Mar, 2022 1 commit
  9. 02 Mar, 2022 1 commit
  10. 22 Feb, 2022 1 commit
  11. 18 Feb, 2022 2 commits
  12. 16 Feb, 2022 2 commits
  13. 11 Feb, 2022 1 commit
  14. 09 Feb, 2022 1 commit
  15. 03 Feb, 2022 1 commit
  16. 01 Feb, 2022 1 commit
  17. 31 Jan, 2022 1 commit
  18. 25 Jan, 2022 1 commit
  19. 21 Jan, 2022 5 commits
  20. 19 Jan, 2022 2 commits
  21. 10 Jan, 2022 1 commit
  22. 06 Jan, 2022 2 commits
  23. 05 Jan, 2022 1 commit
    • Niklas Adolfsson's avatar
      fix(http server): handle post and option HTTP requests properly. (#637) · 6f99a038
      Niklas Adolfsson authored
      
      
      * fix(http server): handle post and option requests.
      
      * Update http-server/src/response.rs
      
      * fmt
      
      * grumbles: validate CORS before checking method kind
      
      * revert unintentional change
      
      * Add A few tests around CORS and http method/header acceptance
      
      * Tweak the CORS test
      
      * return appropriate headers for CORS preflight response
      
      * cargo fmt
      
      * jsonrpc, not jsonrpsee in test requests
      
      * don't test OPTIONS method in unsupported_methods test as it has different expectations
      
      * Update tests/tests/integration_tests.rs
      
      * Update tests/tests/integration_tests.rs
      
      * Update tests/tests/integration_tests.rs
      
      * Update tests/tests/integration_tests.rs
      
      * Add an example to test CORS in browser, and a couple of fixes to CORS handling
      
      * cargo fmt
      
      * Update examples/cors_server.rs
      
      Co-authored-by: James Wilson's avatarJames Wilson <james@jsdw.me>
      6f99a038
  24. 22 Dec, 2021 6 commits