diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-12-10 21:50:23 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-12-10 21:50:23 +0900 |
| commit | 5856d9252b6bd1f1081ff57e9954ff45f1dc196c (patch) | |
| tree | dff933ae30ddb7e05d32fb4cc729e767cd1730ab /src/HttpRequestCommand.h | |
| parent | 94ee6d68950efa9626071bd2aab9402007c00860 (diff) | |
Updated doc.
Diffstat (limited to 'src/HttpRequestCommand.h')
| -rw-r--r-- | src/HttpRequestCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/HttpRequestCommand.h b/src/HttpRequestCommand.h index 9245bbf3..8f6d37f9 100644 --- a/src/HttpRequestCommand.h +++ b/src/HttpRequestCommand.h @@ -42,6 +42,12 @@ namespace aria2 { class HttpConnection; class SocketCore; +// HttpRequestCommand sends HTTP request header to remote server. +// Because network I/O is non-blocking, execute() returns false if all +// headers have not been sent. Subsequent calls of execute() send +// remaining header and when all headers are completely sent, +// execute() creates next Command object, HttpResponseCommand, and +// returns true. class HttpRequestCommand:public AbstractCommand { private: SharedHandle<Request> proxyRequest_; |
