美文网首页
ATS hook EVENT

ATS hook EVENT

作者: wanrui | 来源:发表于2016-12-02 09:46 被阅读0次

# ATS hook EVENT

```c

/**

This set of enums represents the possible hooks where you can

set up continuation callbacks. The functions used to register a

continuation for a particular hook are:

TSHttpHookAdd: adds a global hook. You can globally add

any hook except for

- TS_HTTP_REQUEST_TRANSFORM_HOOK

- TS_HTTP_RESPONSE_TRANSFORM_HOOK

- TS_HTTP_RESPONSE_CLIENT_HOOK

The following hooks can ONLY be added globally:

- TS_HTTP_SELECT_ALT_HOOK

- TS_HTTP_SSN_START_HOOK

- TS_HTTP_SSN_CLOSE_HOOK

TSHttpSsnHookAdd: adds a transaction hook to each transaction

within a session. You can only use transaction hooks with this call:

- TS_HTTP_READ_REQUEST_HDR_HOOK

- TS_HTTP_OS_DNS_HOOK

- TS_HTTP_SEND_REQUEST_HDR_HOOK

- TS_HTTP_READ_CACHE_HDR_HOOK

- TS_HTTP_READ_RESPONSE_HDR_HOOK

- TS_HTTP_SEND_RESPONSE_HDR_HOOK

- TS_HTTP_REQUEST_TRANSFORM_HOOK

- TS_HTTP_RESPONSE_TRANSFORM_HOOK

- TS_HTTP_RESPONSE_CLIENT_HOOK

- TS_HTTP_TXN_START_HOOK

- TS_HTTP_TXN_CLOSE_HOOK

TSHttpTxnHookAdd: adds a callback at a specific point within

an HTTP transaction. The following hooks can be used with this

function:

- TS_HTTP_READ_REQUEST_HDR_HOOK

- TS_HTTP_OS_DNS_HOOK

- TS_HTTP_SEND_REQUEST_HDR_HOOK

- TS_HTTP_READ_CACHE_HDR_HOOK

- TS_HTTP_READ_RESPONSE_HDR_HOOK

- TS_HTTP_SEND_RESPONSE_HDR_HOOK

- TS_HTTP_REQUEST_TRANSFORM_HOOK

- TS_HTTP_RESPONSE_TRANSFORM_HOOK

- TS_HTTP_TXN_CLOSE_HOOK

The two transform hooks can ONLY be added as transaction hooks.

TS_VCONN_PRE_ACCEPT_HOOK - Called before the SSL hand

shake starts.  No handshake data has been read or sent (from the

proxy) at this point

TS_HTTP_LAST_HOOK _must_ be the last element. Only right place

to insert a new element is just before TS_HTTP_LAST_HOOK.

*/

```

相关文章

  • ATS hook EVENT

    # ATS hook EVENT ```c /** This set of enums represents th...

  • Presto Event Listener开发

    简介 同Hive Hook一样,Presto也支持自定义实现Event Listener,用于侦听Presto引擎...

  • crt文件生成

    Starting ATS Diagnostics nscurl --ats-diagnostics --verbo...

  • iOS 9之适配ATS

    一、简单谈谈ATS(App Transport Security) ATS(App Transport Secur...

  • Apache Traffic Server插件开发手记(一)

    目录 一、编译、安装ATS 二、ATS原理与使用 三、插件开发过程 一、编译、安装ATS 下载解压源代码 wget...

  • The HBase application reported a

    查看ats-hbase状态 yarn app -list yarn app -status ats-hbase 尝...

  • 【转】苹果ATS(强制HTTPS)审核新政解码

    1. ATS App Transport Security(ATS) 是Apple为增强iOS App网络通信安全...

  • ATS

    官方文档参考 要求:如果使用ats 又不满足以下标准则请求被中断并返回nil• The protocol Tr...

  • ATS

    苹果规定 从2017年1月1日起,新提交的 app 不允许使用 NSAllowsArbitraryLoads 来绕...

  • ATS

    强制访问 设置白名单 真机调试http://www.bubuko.com/infodetail-1061938.h...

网友评论

      本文标题:ATS hook EVENT

      本文链接:https://www.haomeiwen.com/subject/fkifmttx.html