Class: Net::FTP::BufferedSSLSocket
- Inherits:
-
BufferedSocket
- Object
- BufferedIO
- BufferedSocket
- Net::FTP::BufferedSSLSocket
- Defined in:
- lib/net/ftp.rb
Instance Method Summary collapse
Methods inherited from BufferedSocket
Instance Method Details
#send(mesg, flags, dest = nil) ⇒ Object
1552 1553 1554 1555 |
# File 'lib/net/ftp.rb', line 1552 def send(mesg, flags, dest = nil) # Ignore flags and dest. @io.write(mesg) end |
#shutdown(*args) ⇒ Object
1547 1548 1549 1550 |
# File 'lib/net/ftp.rb', line 1547 def shutdown(*args) # Invokes SSL_shutdown, which sends a close_notify message to the peer. @io.__send__(:stop) end |