Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> perl >> libhttp-daemon-perl
etiona  ] [  etiona-security  ] [  etiona-updates  ] [  nabia  ] [  nabia-security  ] [  nabia-updates  ] [  aramo  ] [  aramo-security  ] [  aramo-updates  ]
[ 源代码: libhttp-daemon-perl  ]

软件包: libhttp-daemon-perl (6.13-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::IP, 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::IP 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.

其他与 libhttp-daemon-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libhttp-daemon-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 21.7 kB55 kB [文件列表]