WEB开发网
开发学院手机开发Symbian 开发 HTTP on Symbian OS 阅读

HTTP on Symbian OS

 2010-06-19 04:24:00 来源:WEB开发网   
核心提示:body data to be wholly hidden. The API enables signalling between the client and the transport in use, to ensure that body data is only consumed or emitted at a
body data to be wholly hidden. The API enables signalling between the client and the transport in use, to ensure that body data is only consumed or emitted at a rate the client can support. This means that clients can assemble the body of their requests piece-by-piece, have each piece transmitted only when it is ready, and be signalled when transmission is complete so the next piece may be prepared and the old one released.

Data supplier classes must implement MHTTPDataSupplier.

Filters

Filters are add-on modules that provide additional behaviours to a session beyond the simple request-response transaction described above. Behaviours may be triggered by the presence of particular headers in a request or a response, by status codes in a response, or by particular events that occur on a transaction. The RFC 2616 describes a number of standard behaviours that take place over a series of request-response exchanges: client authentication, redirection and caching. Client authentication and redirection are implemented as individual filters in the 7.0 release.

Since the representation of headers is generic, as described in Headers, filters may be implemented in a protocol- and transport-independent manner.

Filter classes must implement MHTTPFilter.

上一页  1 2 3 

Tags:HTTP on Symbian

编辑录入:coldstar [复制链接] [打 印]
赞助商链接