Skip to content

How to get number of connections? #181

Answered by fafhrd91
khvzak asked this question in Q&A
Discussion options

You must be logged in to vote

@khvzak you can implement middleware service ServiceFactory<Io<F>> and wrap http service in it, then you’ll be able to access Io at the begging and after http service completes handling

regarding actix-web and errors, that shouldn’t be too big of surprise. it’s http1 dispatcher is mostly one that i wrote several years ago and it was shit, nothing changed recently. i rewrote dispatcher in ntex 3 times until settle with current design.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by khvzak
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants