trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlib...@apache.org
Subject svn commit: r935761 - /incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html
Date Mon, 19 Apr 2010 22:30:58 GMT
Author: mlibbey
Date: Mon Apr 19 22:30:58 2010
New Revision: 935761

URL: http://svn.apache.org/viewvc?rev=935761&view=rev
Log:
Alphabatize possible hook values

Modified:
    incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html

Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html?rev=935761&r1=935760&r2=935761&view=diff
==============================================================================
--- incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html (original)
+++ incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html Mon Apr 19 22:30:58 2010
@@ -73,20 +73,18 @@
             <th width="287" colspan="1" rowspan="1"><span class="bold"><strong>Values
for INKHttpHookID</strong></span></th>
 
             <th width="659" colspan="1" rowspan="1"><span class="bold"><strong>Description</strong></span></th>
-          </tr></thead>
+</tr></thead>
 <tbody>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_READ_REQUEST_HDR_HOOK</code></td>
-
-            <td rowspan="1" colspan="1">Called immediately after the request header
is read from the
-            client. Corresponds to the event
-            <code class="code">INK_EVENT_HTTP_READ_REQUEST_HDR</code>.</td>
-          </tr>
-<tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_READ_REQUEST_PRE_REMAP_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_CACHE_LOOKUP_COMPLETE_HOOK</code></td>
 
-            <td rowspan="1" colspan="1">Called after the request header is read from
the client, before any remapping of the headers occurs.  Corresponds to the event <code
class="code">INK_EVENT_HTTP_READ_REQUEST_PRE_REMAP</code>.</td>
-</tr>
+            <td rowspan="1" colspan="1">Called after the HTTP state machine has completed
the cache
+            lookup for the document requested in the ongoing transaction.
+            Register this hook via  
+            <code class="code">INKHttpTxnHookAdd</code> or <code class="code">INKHttpHookAdd</code>.
+            Corresponds to the event
+            <code class="code">INK_EVENT_HTTP_CACHE_LOOKUP_COMPLETE</code>.</td>
+</tr>   
 <tr>
             <td rowspan="1" colspan="1"><code>INK_HTTP_OS_DNS_HOOK</code></td>
 
@@ -95,16 +93,7 @@
             know the origin server's IP address at this point, which is useful
             for performing both authentication and blacklisting. Corresponds
             to the event <code class="code">INK_EVENT_HTTP_OS_DNS</code>.</td>
-          </tr>
-<tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_SEND_REQUEST_HDR_HOOK</code></td>
-
-            <td rowspan="1" colspan="1">Called immediately before the proxy's request
header is sent
-            to the origin server or the parent proxy. This hook
-            is not  called if the document is being served from cache.
-            This hook is usually used for modifying the proxy's request header
-            before it is sent to the origin server or parent proxy.</td>
-          </tr>
+</tr>
 <tr>
             <td rowspan="1" colspan="1"><code>INK_HTTP_READ_CACHE_HDR_HOOK</code></td>
 
@@ -113,77 +102,92 @@
             is only called if the document is being served from cache.
             Corresponds to the event
             <code class="code">INK_EVENT_HTTP_READ_CACHE_HDR</code>.</td>
-          </tr>
+</tr>
 <tr>
             <td rowspan="1" colspan="1"><code>INK_HTTP_READ_RESPONSE_HDR_HOOK</code></td>
 
             <td rowspan="1" colspan="1">Called immediately after the response header
is read from the
             origin server or parent proxy. Corresponds to the event
             <code class="code">INK_EVENT_HTTP_READ_RESPONSE_HDR</code>.</td>
-          </tr>
+</tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_SEND_RESPONSE_HDR_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_RESPONSE_TRANSFORM_HOOK</code></td>
+
+            <td rowspan="1" colspan="1">See "<a href="HTTPTransformationPlugins.html#Transformations"
title="Transformations">"Transformations"</a> for information about 
+            transformation hooks.</td>
+</tr>
+
+<tr>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_READ_REQUEST_HDR_HOOK</code></td>
+
+            <td rowspan="1" colspan="1">Called immediately after the request header
is read from the
+            client. Corresponds to the event
+            <code class="code">INK_EVENT_HTTP_READ_REQUEST_HDR</code>.</td>
+</tr>
+<tr>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_READ_REQUEST_PRE_REMAP_HOOK</code></td>
+
+            <td rowspan="1" colspan="1">Called after the request header is read from
the client, before any remapping of the headers occurs.  Corresponds to the event <code
class="code">INK_EVENT_HTTP_READ_REQUEST_PRE_REMAP</code>.</td>
+</tr>
 
-            <td rowspan="1" colspan="1">Called immediately before the proxy's response
header is
-            written to the client; this hook is usually used for modifying the
-            response header. Corresponds to the event
-            <code class="code">INK_EVENT_HTTP_SEND_RESPONSE_HDR</code>.</td>
-          </tr>
 <tr>
             <td rowspan="1" colspan="1"><code>INK_HTTP_REQUEST_TRANSFORM_HOOK</code></td>
 
             <td rowspan="1" colspan="1">See<a href="HTTPTransformationPlugins.html#Transformations"
title="Transformations">"Transformations"</a> for information about 
             transformation hooks.</td>
-          </tr>
+</tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_RESPONSE_TRANSFORM_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_SELECT_ALT_HOOK</code></td>
 
-            <td rowspan="1" colspan="1">See "<a href="HTTPTransformationPlugins.html#Transformations"
title="Transformations">"Transformations"</a> for information about 
-            transformation hooks.</td>
-          </tr>
+            <td rowspan="1" colspan="1">See <a href="HTTPAlternateSelection.html"
title="HTTP Alternate Selection">"HTTP Alternate Selection"</a> for information
+            about the alternate selection mechanism.</td>
+</tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_TXN_START_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_SEND_RESPONSE_HDR_HOOK</code></td>
 
-            <td rowspan="1" colspan="1">Called when an HTTP transaction is started.
A transaction
-            starts when either a client connects to Traffic Server and data is
-            available on the connection, or a previous client connection that was left
-            open for keep alive has new data available.</td>
-          </tr>
+            <td rowspan="1" colspan="1">Called immediately before the proxy's response
header is
+            written to the client; this hook is usually used for modifying the
+            response header. Corresponds to the event
+            <code class="code">INK_EVENT_HTTP_SEND_RESPONSE_HDR</code>.</td>
+</tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_TXN_CLOSE_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_SEND_REQUEST_HDR_HOOK</code></td>
+
+            <td rowspan="1" colspan="1">Called immediately before the proxy's request
header is sent
+            to the origin server or the parent proxy. This hook
+            is not  called if the document is being served from cache.
+            This hook is usually used for modifying the proxy's request header
+            before it is sent to the origin server or parent proxy.</td>
+</tr>
 
-            <td rowspan="1" colspan="1">Called when an HTTP transaction ends.</td>
-          </tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_SELECT_ALT_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_SSN_CLOSE_HOOK</code></td>
+
+            <td rowspan="1" colspan="1">Called when an HTTP session ends. A session
ends when the
+            client connection is closed. You can only add this hook as a
+            global hook</td>
+</tr>
 
-            <td rowspan="1" colspan="1">See <a href="HTTPAlternateSelection.html"
title="HTTP Alternate Selection">"HTTP Alternate Selection"</a> for information
-            about the alternate selection mechanism.</td>
-          </tr>
 <tr>
             <td rowspan="1" colspan="1"><code>INK_HTTP_SSN_START_HOOK</code></td>
 
             <td rowspan="1" colspan="1">Called when an HTTP session is started. A session
starts when
             a client connects to Traffic Server. You can only add this hook as
             a global hook.</td>
-          </tr>
+</tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_SSN_CLOSE_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_TXN_CLOSE_HOOK</code></td>
 
-            <td rowspan="1" colspan="1">Called when an HTTP session ends. A session
ends when the
-            client connection is closed. You can only add this hook as a
-            global hook</td>
-          </tr>
+            <td rowspan="1" colspan="1">Called when an HTTP transaction ends.</td>
+</tr>
 <tr>
-            <td rowspan="1" colspan="1"><code>INK_HTTP_CACHE_LOOKUP_COMPLETE_HOOK</code></td>
+            <td rowspan="1" colspan="1"><code>INK_HTTP_TXN_START_HOOK</code></td>
 
-            <td rowspan="1" colspan="1">Called after the HTTP state machine has completed
the cache
-            lookup for the document requested in the ongoing transaction.
-            Register this hook via  
-            <code class="code">INKHttpTxnHookAdd</code> or <code class="code">INKHttpHookAdd</code>.
-            Corresponds to the event
-            <code class="code">INK_EVENT_HTTP_CACHE_LOOKUP_COMPLETE</code>.</td>
-          </tr>
+            <td rowspan="1" colspan="1">Called when an HTTP transaction is started.
A transaction
+            starts when either a client connects to Traffic Server and data is
+            available on the connection, or a previous client connection that was left
+            open for keep alive has new data available.</td>
+</tr>
 </tbody>
 </table>
 <p>The function you use to add a global HTTP hook is <a href="HTTPFunctions.html#INKHttpHookAdd"
title="INKHttpHookAdd"><code class="code">INKHttpHookAdd</code></a>.</p>



Mime
View raw message