Whats client in your code?
client
Sounds like you are using a library but you’ve not said what library you are using.