How to close the connection on some condition #1333
Unanswered
cumhuronat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently using the undici.Agent for pooling connections for multiple hosts.
Is there a way to close the socket and remove the client from the agent pool when the statusCode is not 200 for example?
Beta Was this translation helpful? Give feedback.
All reactions