You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2015/11/03 07:10:27 UTC

[51/51] trafficserver git commit: doc: point out replacements for deprecated API

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 <jp...@apache.org>
Authored: Mon Nov 2 22:07:37 2015 -0800
Committer: James Peach <jp...@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)`