imbolc / axum-client-ip

A client IP address extractor for Axum
MIT License
41 stars 13 forks source link

report error #4

Closed at207711 closed 1 year ago

at207711 commented 1 year ago

Hi

Router mode post incoming parameters: Extension,Query,Json

Unable to pass the editor, if the ClientIp library is removed, it will run normally

err:

Handler<_, _, _>` is not satisfied

the trait `Handler<T, S, B2>` is implemented for `Layered<L, H, T, S, B, B2>`
imbolc commented 1 year ago

Hey. You're probably have ClientIp extractor before Json in your handler params, make sure Json is the last one. Here's details in the docs.

at207711 commented 1 year ago

okay,

thanks