Skip to content
Sections
>> Trisquel >> Paket >> etiona-security >> perl >> libhttp-daemon-perl
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  nabia-security  ] [  nabia-updates  ] [  aramo  ] [  aramo-security  ] [  aramo-updates  ]
[ Källkod: libhttp-daemon-perl  ]

Paket: libhttp-daemon-perl (6.01-1ubuntu0.1)

simple http server class

Instances of the HTTP::Daemon class are HTTP/1.1 servers that listen on a socket for incoming requests. The HTTP::Daemon is a subclass of IO::Socket::INET, so you can perform socket operations directly on it too.

The accept() method will return when a connection from a client is available. The returned value will be an HTTP::Daemon::ClientConn object which is another IO::Socket::INET subclass. Calling the get_request() method on this object will read data from the client and return an HTTP::Request object. The ClientConn object also provide methods to send back various responses.

This HTTP daemon does not fork(2) for you. Your application, i.e. the user of the HTTP::Daemon is responsible for forking if that is desirable. Also note that the user is responsible for generating responses that conform to the HTTP/1.1 protocol.

Andra paket besläktade med libhttp-daemon-perl

  • beror
  • rekommenderar
  • föreslår
  • dep: libhttp-date-perl
    Paketet inte tillgängligt
  • dep: libhttp-message-perl
    Paketet inte tillgängligt
  • dep: liblwp-mediatypes-perl
    Paketet inte tillgängligt
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Hämta libhttp-daemon-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 15,5 kbyte43 kbyte [filförteckning]