Connectors provide decoupling between components by encapsulating the underlying implementation of resources and communication mechanisms using various connector types, as described in the following table:
Connector type |
Function |
Examples |
Client |
Initiates the request and accepts the response |
Client-side web APIs (libwww, libwww-perl) |
Server |
Listens for connections and responds to requests |
Web server APIs (Apache API, NSAPI) |
Cache |
Used for storing cacheable responses both at the client and server side to optimize interaction latency |
Web caching solutions (Akamai, Cloudflare, Microsoft Azure CDN) |
Resolver |
Resolves web address to the corresponding network address |
BIND, Microsoft DNS, AnswerX |
Tunnel |
Relays communication across a connection boundary such as firewall, gateways, or proxies. |
SOCKS, HTTP Tunnel |