diff options
Diffstat (limited to 'src/protocolhttp.h')
| -rw-r--r-- | src/protocolhttp.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/protocolhttp.h b/src/protocolhttp.h index e2612f5..85510e3 100644 --- a/src/protocolhttp.h +++ b/src/protocolhttp.h | |||
| @@ -11,7 +11,14 @@ | |||
| 11 | namespace Bu | 11 | namespace Bu |
| 12 | { | 12 | { |
| 13 | /** | 13 | /** |
| 14 | * | 14 | * An HTTP Protocol handler. Yes, I know that HTTP stands for Hyper Text |
| 15 | * Transfer Protocol, and that the Protocol part is redundant, but in this | ||
| 16 | * case the word Protocol is refering to the Libbu++ construct Bu::Protocol, | ||
| 17 | * and not a means of encoding conversations. Anyway, this class represents | ||
| 18 | * a general HTTP server processor. Every time a request comes in it calls | ||
| 19 | * the onRequest function in a subclass with the method and URI that were | ||
| 20 | * requested. The sub-class can then do whatever it needs to to send back | ||
| 21 | * a response. | ||
| 15 | */ | 22 | */ |
| 16 | class ProtocolHttp : public Protocol | 23 | class ProtocolHttp : public Protocol |
| 17 | { | 24 | { |
