logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TSFetchCreate - traffic Server asynchronous Fetch API

Description

       Traffic Server provides a number of routines for fetching resources asynchronously.  These API are useful
       to support a number of use cases that may involve sideways calls, while handling the client request. Some
       typical  examples include centralized rate limiting framework, database lookups for login/authentication,
       refreshing configs in the background asynchronously, ESI etc.

Name

       TSFetchCreate - traffic Server asynchronous Fetch API

Synopsis

          #include <ts/ts.h>

       voidTSFetchPages(TSFetchUrlParams_t*)TSFetchSMTSFetchUrl(constchar*,int,sockaddrconst*,TSCont,TSFetchWakeUpOptions,TSFetchEvent)voidTSFetchFlagSet(TSFetchSM,int)TSFetchSMTSFetchCreate(TSCont,constchar*,constchar*,constchar*,structsockaddrconst*,int)voidTSFetchHeaderAdd(TSFetchSM,constchar*,int,constchar*,int)voidTSFetchWriteData(TSFetchSM,constvoid*,size_t)ssize_tTSFetchReadData(TSFetchSM,void*,size_t)voidTSFetchLaunch(TSFetchSM)voidTSFetchDestroy(TSFetchSM)voidTSFetchUserDataSet(TSFetchSM,void*)void*TSFetchUserDataGet(TSFetchSM)TSMBufferTSFetchRespHdrMBufGet(TSFetchSM)TSMLocTSFetchRespHdrMLocGet(TSFetchSM)

See Also