Replies: 1 comment 1 reply
-
The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As of the merged PR #5792, the underlying CBOR and JSON codecs do expose
set_request_size_maximum
andset_response_size_maximum
methods.However, those codecs live in private modules (protocols/request-response/src/cbor.rs) and are not publicly re-exported.
That means, out of the box, user cannot import the codec type to call these setters
Shall a user-facing config of max_request/response_message_size to be added and links to the codecs during construction ?
for a more covenient usage.
Beta Was this translation helpful? Give feedback.
All reactions