How can I use different codec based on the 'Content-Type' header?
Open
- Dominant language
- Rust
- Stars
- 12.5k
- Forks
- 1.3k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 24
Description
## Feature Request
Is there any way I can use different codec implementations based on the 'Content-Type' header?
### Motivation
My requirement is to make this grpc service support multiple protocols (codec), which is based on the content-type parameter of the request header.
### Proposal
Codec trait is too complicated, I have no idea. Just give me some tips.
Contributor guide
Assessment
This issue has not been assessed yet.