Added CloudEvents client/server usage example (compatible with java rsocket example from cloudevents/sdk-java)
Switched to pyproject.toml
v0.4.9
1 year ago
Optimization to routing requests to methods and parsing composite metadata
v0.4.8
1 year ago
Removed copying data and metadata into frame during serialization
v0.4.7
1 year ago
Send cancel to responders when requester disconnects and error to requesters when requester disconnects
Fix guide examples to properly cancel responders which use asyncio Task as value source
Rewrote guide statistics example to use generator instead of task
v0.4.6
1 year ago
fire_and_forget now only removes the stream id when the future denoting the frame was sent, is done
API documentation auto generated at rsocket.readthedocs.io
Request router changes:
Raise error on empty or None route specified in request router
Added the following methods to RequestRouter to allow specifying handlers of unknown routes:
response_unknown
stream_unknown
channel_unknown
fire_and_forget_unknown
metadata_push_unknown
Officially support route aliases by using the decorator multiple times on the same method
Fix value mapping in request router:
-A parameter of any name (not just payload) specified on a routed method with a type-hint other than Payload will use the payload_mapper to decode the value
Any parameter with the type CompositeMetadata will receive the composite metadata