Module: Faye

Defined in:


So EventMachine when you specify :verify_peer => true in the TLS options decides what that means is it should just fire off a #ssl_verify_peer(cert) on the Connection object; which is expected to be user-supplied. In this case the user is Faye::Websocket::Client::Connection, so we monkey-patch it to have a #ssl_verify_peer method.

Defined Under Namespace

Classes: WebSocket