Difference between revisions of "Necko"

From CDOT Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
== Necko ==
 
== Necko ==
 +
 +
Necko is a platform-independent API for several layers of networking (transport to presentation).
 +
 +
Necko has several important pieces:
 +
* nsIOService
 +
* nsIURI
 +
* nsIChannel
 +
* nsIProtocolHandler
 +
* nsITransport
 +
 +
=== nsIOService ===
 +
* Main necko service
 +
* Manages protocol handlers
 +
* Creates URI objects from URI strings
 +
 +
=== nsIURI ===
 +
* is an object that represents a URI.
 +
* getters/setters for parts of the URI

Revision as of 13:19, 4 October 2006

Necko

Necko is a platform-independent API for several layers of networking (transport to presentation).

Necko has several important pieces:

  • nsIOService
  • nsIURI
  • nsIChannel
  • nsIProtocolHandler
  • nsITransport

nsIOService

  • Main necko service
  • Manages protocol handlers
  • Creates URI objects from URI strings

nsIURI

  • is an object that represents a URI.
  • getters/setters for parts of the URI