Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. 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’`

Scheduled Pinned Locked Moved Uncategorized
ruby
5 Posts 5 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • veganstraightedge@ruby.socialV This user is from outside of this forum
    veganstraightedge@ruby.socialV This user is from outside of this forum
    veganstraightedge@ruby.social
    wrote last edited by
    #1

    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/…`?

    marcoroth@ruby.socialM drbrain@mastodon.socialD gregw@mastodon.worldG 3 Replies Last reply
    0
    • veganstraightedge@ruby.socialV veganstraightedge@ruby.social

      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/…`?

      marcoroth@ruby.socialM This user is from outside of this forum
      marcoroth@ruby.socialM This user is from outside of this forum
      marcoroth@ruby.social
      wrote last edited by
      #2

      @veganstraightedge quite a few actually:
      https://github.com/ruby?q=net-&type=all

      1 Reply Last reply
      0
      • veganstraightedge@ruby.socialV veganstraightedge@ruby.social

        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/…`?

        drbrain@mastodon.socialD This user is from outside of this forum
        drbrain@mastodon.socialD This user is from outside of this forum
        drbrain@mastodon.social
        wrote last edited by
        #3

        @veganstraightedge also built in are/were:
        Net::FTP
        Net::IMAP
        Net::POP3
        Net::SMTP

        pointlessone@status.pointless.oneP 1 Reply Last reply
        0
        • veganstraightedge@ruby.socialV veganstraightedge@ruby.social

          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/…`?

          gregw@mastodon.worldG This user is from outside of this forum
          gregw@mastodon.worldG This user is from outside of this forum
          gregw@mastodon.world
          wrote last edited by
          #4

          @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.

          1 Reply Last reply
          0
          • drbrain@mastodon.socialD drbrain@mastodon.social

            @veganstraightedge also built in are/were:
            Net::FTP
            Net::IMAP
            Net::POP3
            Net::SMTP

            pointlessone@status.pointless.oneP This user is from outside of this forum
            pointlessone@status.pointless.oneP This user is from outside of this forum
            pointlessone@status.pointless.one
            wrote last edited by
            #5

            @drbrain @veganstraightedge
            Net::SSH
            Net::NTP
            Net::SFTP
            Net::LDAP
            Net::Telnet (relatively new)
            Net::Ping

            There are a lot of them out there.

            1 Reply Last reply
            1
            0
            • R relay@relay.mycrowd.ca shared this topic
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups