MCPcopy Create free account

hub / github.com/cloudflare/template-registry / functions

Functions111 in github.com/cloudflare/template-registry

↓ 3 callersFunctioncreateHexSignature
(requestBody)
templates/javascript/signed_request.js:17
↓ 2 callersFunctioncreateFile
(filePath, content)
scripts/tomlToJS.js:15
↓ 2 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/typescript/aggregate_requests.ts:22
↓ 2 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/javascript/aggregate_requests.js:22
↓ 2 callersFunctiongetIDFromKey
(key: string)
workers-site/index.ts:120
↓ 2 callersFunctiongetUnauthorizedResponse
* Helper function to generate Response object * @param {string} message * @returns {Response}
templates/typescript/auth_basic_http.ts:35
↓ 2 callersFunctiongetUnauthorizedResponse
* Helper function to generate Response object * @param {string} message * @returns {Response}
templates/javascript/auth_basic_http.js:35
↓ 2 callersFunctiongrabTemplate
* Same as grabTemplates but for individual template * @param key the file path to the toml
workers-site/index.ts:86
↓ 1 callersFunctioncheckSignature
(request)
templates/javascript/signed_request.js:22
↓ 1 callersFunctionformJsKey
(id: string)
workers-site/index.ts:104
↓ 1 callersFunctionformTomlKey
(id: string)
workers-site/index.ts:102
↓ 1 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/typescript/fetch_json.ts:19
↓ 1 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/typescript/fetch_html.ts:19
↓ 1 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/typescript/post_json.ts:21
↓ 1 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/javascript/fetch_html.js:19
↓ 1 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/javascript/post_json.js:21
↓ 1 callersFunctiongatherResponse
* gatherResponse awaits and returns a response body as a string. * Use await gatherResponse(..) in an async function to get the response body * @par
templates/javascript/fetch_json.js:19
↓ 1 callersFunctiongenerateEncryptDecrypt
(algorithm: any, msg: string)
templates/typescript/webcrypto.ts:44
↓ 1 callersFunctiongenerateEncryptDecrypt
(algorithm, msg)
templates/javascript/webcrypto.js:34
↓ 1 callersFunctiongenerateSignandVerify
(algorithm: any)
templates/typescript/webcrypto.ts:25
↓ 1 callersFunctiongenerateSignandVerify
(algorithm)
templates/javascript/webcrypto.js:25
↓ 1 callersFunctiongetCookie
* Grabs the cookie with name from the request headers * @param {Request} request incoming Request * @param {string} name of the cookie to grab
templates/typescript/cookie_extract.ts:18
↓ 1 callersFunctiongetCookie
* Grabs the cookie with name from the request headers * @param {Request} request incoming Request * @param {string} name of the cookie to grab
templates/javascript/cookie_extract.js:18
↓ 1 callersFunctiongetIDFromPath
(path: string)
workers-site/index.ts:110
↓ 1 callersFunctiongrabTemplates
* Looks for all the keys in __STATIC_CONTENT_MANIFEST * and then locates and serves the TOML files * from __STATIC_CONTENT
workers-site/index.ts:64
↓ 1 callersFunctionhandleEvent
(event: FetchEvent)
workers-site/index.ts:33
↓ 1 callersFunctionhandleOptions
(request: Request)
templates/typescript/cors_header_proxy.ts:21
↓ 1 callersFunctionhandleOptions
(request)
templates/javascript/cors_header_proxy.js:21
↓ 1 callersFunctionhandlePostRequest
(event: FetchEvent)
templates/typescript/cache_api.ts:24
↓ 1 callersFunctionhandlePostRequest
(event)
templates/javascript/cache_api.js:24
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/bulk_origin_proxies.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/country_code.ts:1
↓ 1 callersFunctionhandleRequest
()
templates/typescript/send_raw_json.ts:1
↓ 1 callersFunctionhandleRequest
(event: FetchEvent)
templates/typescript/debugging_tips.ts:1
↓ 1 callersFunctionhandleRequest
()
templates/typescript/fetch_json.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/modify_res_props.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/conditional_response.ts:2
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/hot_link_protection.ts:1
↓ 1 callersFunctionhandleRequest
* Define personal data with regular expressions * Respond with block if credit card data, and strip * emails and phone numbers from the response *
templates/typescript/private_data_loss.ts:7
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/block_on_tls_version.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/cookie_extract.ts:2
↓ 1 callersFunctionhandleRequest
()
templates/typescript/send_raw_html.ts:1
↓ 1 callersFunctionhandleRequest
()
templates/typescript/fetch_html.ts:1
↓ 1 callersFunctionhandleRequest
(req: Request)
templates/typescript/rewrite_links_html.ts:4
↓ 1 callersFunctionhandleRequest
()
templates/typescript/webcrypto.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/http2_server_push.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/alter_headers.ts:1
↓ 1 callersFunctionhandleRequest
()
templates/typescript/post_json.ts:1
↓ 1 callersFunctionhandleRequest
()
templates/typescript/aggregate_requests.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/auth_basic_http.ts:1
↓ 1 callersFunctionhandleRequest
()
templates/typescript/redirect.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/bulk_redirects.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/ab_testing.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/cors_header_proxy.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/modify_req_props.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/cache_ttl.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/auth_with_headers.ts:1
↓ 1 callersFunctionhandleRequest
(event: FetchEvent)
templates/typescript/cache_api.ts:1
↓ 1 callersFunctionhandleRequest
(request: Request)
templates/typescript/post_data.ts:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/cache_ttl.js:1
↓ 1 callersFunctionhandleRequest
()
templates/javascript/send_raw_json.js:1
↓ 1 callersFunctionhandleRequest
()
templates/javascript/fetch_html.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/country_code.js:1
↓ 1 callersFunctionhandleRequest
()
templates/javascript/redirect.js:1
↓ 1 callersFunctionhandleRequest
()
templates/javascript/webcrypto.js:2
↓ 1 callersFunctionhandleRequest
()
templates/javascript/post_json.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/http2_server_push.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/post_data.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/alter_headers.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/conditional_response.js:2
↓ 1 callersFunctionhandleRequest
(req)
templates/javascript/rewrite_links_html.js:3
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/ab_testing.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/block_on_tls_version.js:1
↓ 1 callersFunctionhandleRequest
()
templates/javascript/send_raw_html.js:1
↓ 1 callersFunctionhandleRequest
()
templates/javascript/aggregate_requests.js:1
↓ 1 callersFunctionhandleRequest
* Define personal data with regular expressions * Respond with block if credit card data, and strip * emails and phone numbers from the response *
templates/javascript/private_data_loss.js:7
↓ 1 callersFunctionhandleRequest
()
templates/javascript/fetch_json.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/bulk_redirects.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/signed_request.js:4
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/auth_basic_http.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/modify_res_props.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/cors_header_proxy.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/hot_link_protection.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/cookie_extract.js:2
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/modify_req_props.js:1
↓ 1 callersFunctionhandleRequest
(event)
templates/javascript/cache_api.js:1
↓ 1 callersFunctionhandleRequest
(event)
templates/javascript/debugging_tips.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/bulk_origin_proxies.js:1
↓ 1 callersFunctionhandleRequest
(request)
templates/javascript/auth_with_headers.js:1
↓ 1 callersFunctionparseCredentials
* Break down base64 encoded authorization string into plain-text username and password * @param {string} authorization * @returns {string[]}
templates/typescript/auth_basic_http.ts:24
↓ 1 callersFunctionparseCredentials
* Break down base64 encoded authorization string into plain-text username and password * @param {string} authorization * @returns {string[]}
templates/javascript/auth_basic_http.js:24
↓ 1 callersFunctionpostDataBreach
(request: Request)
templates/typescript/private_data_loss.ts:47
↓ 1 callersFunctionpostDataBreach
(request)
templates/javascript/private_data_loss.js:45
↓ 1 callersFunctionpostLog
(data: string)
templates/typescript/debugging_tips.ts:33
↓ 1 callersFunctionpostLog
(data)
templates/javascript/debugging_tips.js:33
↓ 1 callersFunctionrawHtmlResponse
(html: string)
templates/typescript/cors_header_proxy.ts:87
↓ 1 callersFunctionrawHtmlResponse
* rawHtmlResponse delivers a response with HTML inputted directly * into the worker script * @param {string} html
templates/typescript/post_data.ts:23
↓ 1 callersFunctionrawHtmlResponse
* rawHtmlResponse delivers a response with HTML inputted directly * into the worker script * @param {string} html
templates/javascript/post_data.js:23
↓ 1 callersFunctionrawHtmlResponse
(html)
templates/javascript/cors_header_proxy.js:87
↓ 1 callersFunctionreadRequestBody
* readRequestBody reads in the incoming request body * Use await readRequestBody(..) in an async function to get the string * @param {Request} reque
templates/typescript/post_data.ts:36
next →1–100 of 111, ranked by callers