Guide Home
POD Home



Used by Sloop::Server when run in secure HTTPS mode to create objects representing accepted client connections. Conjoins the functionality of its parents, Sloop::Client and Sloop::Socket::TLS.


Invocation is the same as for the Sloop::Client superclass (although sloop client objects should not be created except by the server).

Sloop::Client::Secure sets the 'id' field inherited from Sloop::Base to 'fdN', where N is the file descriptor number.

From a user perspective, there isn't any difference between this and Sloop::Client::Regular; the entire API is inherited from Sloop::Client. You can switch from to secure to unsecure mode without altering any code beyond the Sloop::Server constructor.