Skip to content

websockets.py send_json() doesnt' allow custom encoder #2115

Discussion options

You must be logged in to vote

For the time being, the way to do it is to implement the logic of send_json yourself i.e. call WebSocket.send().

Replies: 1 comment

Comment options

Kludex
Jan 14, 2024
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants