TSFetchCreate
void (TSFetchUrlParams_t *)
TSFetchSM TSFetchUrl
(const char **, int, sockaddr const **, TSCont, , TSFetchEvent)
void TSFetchFlagSet
(TSFetchSM, int)
TSFetchSM TSFetchCreate
(TSCont, const char **, const char *, const char *, struct sockaddr const **, int)
void TSFetchWriteData
(TSFetchSM, const void *, size_t)
ssize_t TSFetchReadData
(TSFetchSM, void *, size_t)
void TSFetchLaunch
(TSFetchSM)
void (TSFetchSM)
void* TSFetchUserDataGet
(TSFetchSM)
TSFetchRespHdrMBufGet
(TSFetchSM)
TSMLoc (TSFetchSM)
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.