-
Notifications
You must be signed in to change notification settings - Fork 205
server: Register raw method with connection ID #1297
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
26ec635
server: Add a raw method
lexnv ef24148
server: Register raw methods, blocking or unblocking
lexnv 4f8eb03
proc-macros: Add with-context attribute
lexnv 9eba899
server: Register sync and nonblocking methods for raw API
lexnv 239cafe
examples: Add with context example
lexnv 0de6d95
core: Adjust docs for the raw method registering
lexnv 4ce51c6
proc-macros: Cargo fmt
lexnv 5f2b40a
server: Request Arc<Context> for the raw method callback
lexnv 753224a
proc-macros: Per method raw-method attribute
lexnv d526b70
examples: Add server raw method
lexnv c8ff969
tests/ui: Check correct proc-macro behavior
lexnv b4880b9
tests/ui: Negative test for async with raw methods
lexnv d2da4b0
tests/ui: Negative test for blocking with raw methods
lexnv 0dc48e9
tests/proc-macros: Ensure unique connection IDs from different clients
lexnv 0029418
tests/integration: Ensure unique connection IDs from different clients
lexnv 3a09a7e
proc-macros: Apply cargo fmt
lexnv 1565927
Register raw method as async method
lexnv f5202ef
Fix testing
lexnv 8cf1947
core: Fix documentation
lexnv bd571e1
Merge remote-tracking branch 'origin/master' into lexnv/low-level-con…
lexnv 04dfd25
server: Rename raw method to `module.register_async_with_details`
lexnv e02ba61
server: Add connection details wrapper
lexnv 7b72d8a
server: Add asyncWithDetails and connection details
lexnv 87585ad
proc-macros: Provide connection details to methods
lexnv 2c50375
Update core/src/server/rpc_module.rs
lexnv 66b6a39
server: Remove connection details builder
lexnv cfe1aec
server: Refactor `.register_async_with_details` to `.register_async_m…
lexnv 7327d8b
proc-macro: Clarify comment
lexnv 6605409
Merge remote-tracking branch 'origin/lexnv/low-level-context-api-v2' …
lexnv 650e24a
core: Doc hidden for async with details
lexnv f4d9085
Rename example
lexnv 40d2bcf
Update core/src/server/rpc_module.rs
lexnv 8185193
Merge remote-tracking branch 'origin/lexnv/low-level-context-api-v2' …
lexnv 11ef18c
core: Remove doc(hidden) from ConnectionDetails::id
lexnv 4f459ac
Update core/src/server/rpc_module.rs
niklasad1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update core/src/server/rpc_module.rs
Co-authored-by: Niklas Adolfsson <[email protected]>
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.