wok-current annotate perl-http-daemon/description.txt @ rev 24689
updated jp2a (1.0.9 -> 1.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 13:47:37 2022 +0100 (2022-03-12) |
parents | |
children |
rev | line source |
---|---|
Hans-G?nter@24219 | 1 Instances of the HTTP::Daemon class are HTTP/1.1 servers |
Hans-G?nter@24219 | 2 that listen on a socket for incoming requests. |
Hans-G?nter@24219 | 3 The HTTP::Daemon is a subclass of IO::Socket::IP, so you |
Hans-G?nter@24219 | 4 can perform socket operations directly on it too. |
Hans-G?nter@24219 | 5 |
Hans-G?nter@24219 | 6 Please note that HTTP::Daemon used to be a subclass of |
Hans-G?nter@24219 | 7 IO::Socket::INET. |
Hans-G?nter@24219 | 8 To support IPv6, it switched the parent class to IO::Socket::IP |
Hans-G?nter@24219 | 9 at version 6.05. |
Hans-G?nter@24219 | 10 |
Hans-G?nter@24219 | 11 The accept() method will return when a connection from a |
Hans-G?nter@24219 | 12 client is available. The returned value will be an |
Hans-G?nter@24219 | 13 HTTP::Daemon::ClientConn object which is another |
Hans-G?nter@24219 | 14 IO::Socket::IP subclass. |
Hans-G?nter@24219 | 15 Calling the get_request() method on this object will read |
Hans-G?nter@24219 | 16 data from the client and return an HTTP::Request object. |
Hans-G?nter@24219 | 17 The ClientConn object also provide methods to send back |
Hans-G?nter@24219 | 18 various responses. |
Hans-G?nter@24219 | 19 |
Hans-G?nter@24219 | 20 This HTTP daemon does not fork(2) for you. |
Hans-G?nter@24219 | 21 Your application, i.e. the user of the HTTP::Daemon is |
Hans-G?nter@24219 | 22 responsible for forking if that is desirable. |
Hans-G?nter@24219 | 23 Also note that the user is responsible for generating |
Hans-G?nter@24219 | 24 responses that conform to the HTTP/1.1 protocol. |