Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The HTTP Filter API is used by components that want to process HTTP traffic. HTTP Filter components get access to HTTP requests, responses and their data as well as access to HTTP tunnel requests and data (CONNECT request). Filters can manipulate the data, delay it or halt it completely.

HTTP Filters exist in a chain and data passes down the chain of filters in one direction for requests and in the other direction for the responses. 

HTTP Buffers

Data that passes through the chain exists inside an HTTP buffer object. In order to facilitate performant buffer access HTTP buffers are manipulated through a set of HTTP buffer API functions. See API functions beginning with HTTPFilterBuffer for more information.

HTTP Context Data

During HTTP processing your component might require access to various pieces of information about the HTTP request, response or HTTP session. This includes, among other things, data such as the user that initiated the request, client IP, server requested and HTTP headers.

The API function HTTPFilterQueryContextData can be used to retrieve this information.

HTTP Tunnels

 

  • No labels