In #Ruby, the HTTP class is called Net::HTTP and is required with `require ‘net/http’`
-
In #Ruby, the HTTP class is called Net::HTTP and is required with `require ‘net/http’`
I’m curious if there were other `net/???` classes in the past? Did they go away? What else could/should be in `net/…`?
-
In #Ruby, the HTTP class is called Net::HTTP and is required with `require ‘net/http’`
I’m curious if there were other `net/???` classes in the past? Did they go away? What else could/should be in `net/…`?
@veganstraightedge quite a few actually:
https://github.com/ruby?q=net-&type=all -
In #Ruby, the HTTP class is called Net::HTTP and is required with `require ‘net/http’`
I’m curious if there were other `net/???` classes in the past? Did they go away? What else could/should be in `net/…`?
@veganstraightedge also built in are/were:
Net::FTP
Net::IMAP
Net::POP3
Net::SMTP -
In #Ruby, the HTTP class is called Net::HTTP and is required with `require ‘net/http’`
I’m curious if there were other `net/???` classes in the past? Did they go away? What else could/should be in `net/…`?
@veganstraightedge I used to use net/ftp (or net/sftp) with some regularity in the old days! A customer needed lots of little scripts that either downloaded or uploaded data to ftp servers.
So many business processes powered by csv files on a file server somewhere.
-
@veganstraightedge also built in are/were:
Net::FTP
Net::IMAP
Net::POP3
Net::SMTP@drbrain @veganstraightedge
Net::SSH
Net::NTP
Net::SFTP
Net::LDAP
Net::Telnet (relatively new)
Net::PingThere are a lot of them out there.
-
R relay@relay.mycrowd.ca shared this topic