trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [51/51] trafficserver git commit: doc: point out replacements for deprecated API
Date Tue, 03 Nov 2015 06:10:27 GMT
doc: point out replacements for deprecated API


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a79f3fbf
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a79f3fbf
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a79f3fbf

Branch: refs/heads/master
Commit: a79f3fbf64c50a5368b14d11f519b473b6e96c7b
Parents: 04cdbc6
Author: James Peach <jpeach@apache.org>
Authored: Mon Nov 2 22:07:37 2015 -0800
Committer: James Peach <jpeach@apache.org>
Committed: Mon Nov 2 22:09:16 2015 -0800

----------------------------------------------------------------------
 .../api/functions/TSHttpIsInternalRequest.en.rst  | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a79f3fbf/doc/developer-guide/api/functions/TSHttpIsInternalRequest.en.rst
----------------------------------------------------------------------
diff --git a/doc/developer-guide/api/functions/TSHttpIsInternalRequest.en.rst b/doc/developer-guide/api/functions/TSHttpIsInternalRequest.en.rst
index 648382b..d81b4fe 100644
--- a/doc/developer-guide/api/functions/TSHttpIsInternalRequest.en.rst
+++ b/doc/developer-guide/api/functions/TSHttpIsInternalRequest.en.rst
@@ -39,14 +39,14 @@ was originated within Traffic Server.
 
 .. admonition:: Deprecated
 
-   Deprecated
+   Deprecated in favor of :func:`TSHttpTxnIsInternal`.
 
 :func:`TSHttpIsInternalSession` tests whether a HTTP session
 was originated within Traffic Server.
 
 .. admonition:: Deprecated
 
-   Deprecated
+   Deprecated in favor of :func:`TSHttpSsnIsInternal`.
 
 Return Values
 =============
@@ -54,17 +54,9 @@ Return Values
 Both these APIs returns a :type:`TSReturnCode`, indicating whether the
 object was internal (:data:`TS_SUCCESS`) or not (:data:`TS_ERROR`).
 
-Examples
-========
-
-The ESI plugin uses :func:`TSHttpIsInternalRequest` to ignore requests that it
-had generated while fetching portions of an ESI document:
-
-.. literalinclude:: ../../../plugins/experimental/esi/esi.cc
-  :language: c
-  :lines: 1395-1398
-
 See Also
 ========
 
-:manpage:`TSAPI(3ts)`
+:manpage:`TSAPI(3ts)`,
+:manpage:`TSHttpSsnIsInternal(3ts)`,
+:manpage:`TSHttpTxnIsInternal(3ts)`


Mime
View raw message