kylefarris / clamscan

A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
MIT License
236 stars 69 forks source link

feat: make `ping` method public #133

Closed hduprat-qare closed 14 hours ago

hduprat-qare commented 20 hours ago

For service healthcheck purposes, we wanted to ping the socket connection using clamscan. But the method being private, we weren't able to do so easily.

Now we just have to call the ping() method. Please tell me if there is a potential problem to do this.

Note: if and when released, please tell me so I can change the typings there.