Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/templates
/ functions
Functions
10,210 in github.com/cloudflare/templates
⨍
Functions
10,210
◇
Types & classes
18,658
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
d1-template/worker-configuration.d.ts:13070
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
d1-template/worker-configuration.d.ts:13137
Method
connect
(socket: Socket)
d1-starter-sessions-api-template/worker-configuration.d.ts:506
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
d1-starter-sessions-api-template/worker-configuration.d.ts:13070
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
d1-starter-sessions-api-template/worker-configuration.d.ts:13137
Method
connect
(socket: Socket)
containers-template/worker-configuration.d.ts:507
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
containers-template/worker-configuration.d.ts:13071
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
containers-template/worker-configuration.d.ts:13138
Method
connect
(socket: Socket)
mysql-hyperdrive-template/worker-configuration.d.ts:507
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
mysql-hyperdrive-template/worker-configuration.d.ts:13071
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
mysql-hyperdrive-template/worker-configuration.d.ts:13138
Method
connect
(socket: Socket)
react-starter-template/worker-configuration.d.ts:505
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
react-starter-template/worker-configuration.d.ts:13069
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
react-starter-template/worker-configuration.d.ts:13136
Method
connect
(socket: Socket)
workflows-starter-template/worker-configuration.d.ts:508
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
workflows-starter-template/worker-configuration.d.ts:13072
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
workflows-starter-template/worker-configuration.d.ts:13139
Method
connect
(socket: Socket)
postgres-hyperdrive-template/worker-configuration.d.ts:507
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
postgres-hyperdrive-template/worker-configuration.d.ts:13071
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
postgres-hyperdrive-template/worker-configuration.d.ts:13138
Method
connect
(socket: Socket)
react-router-hono-fullstack-template/worker-configuration.d.ts:506
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
react-router-hono-fullstack-template/worker-configuration.d.ts:13070
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
react-router-hono-fullstack-template/worker-configuration.d.ts:13137
Method
connect
(socket: Socket)
llm-chat-app-template/worker-configuration.d.ts:507
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
llm-chat-app-template/worker-configuration.d.ts:13071
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
llm-chat-app-template/worker-configuration.d.ts:13138
Method
connect
(socket: Socket)
x402-proxy-template/worker-configuration.d.ts:509
Method
connect
* Connect directly to Hyperdrive as if it's your database, returning a TCP socket. * * Calling this method returns an identical socket to if
x402-proxy-template/worker-configuration.d.ts:13073
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
x402-proxy-template/worker-configuration.d.ts:13140
Method
connect
(socket: Socket)
workers-builds-notifications-template/worker-configuration.d.ts:505
Method
connect
* Open a TCP socket to the target database through this Hyperdrive. *
workers-builds-notifications-template/worker-configuration.d.ts:13136
Method
constructor
( private mount: string, private assetPrefixes: string[], )
microfrontend-template/index.ts:420
Method
constructor
(preloadMounts: string[])
microfrontend-template/index.ts:582
Method
constructor
(mountActual: string)
microfrontend-template/index.ts:611
Method
constructor
()
playwright-tests/utils/template-server.ts:81
Method
constructor
(options = {})
nlweb-template/public/fp-chat-interface.js:12
Method
constructor
* Creates a new JsonRenderer instance * * @param {Object} options - Configuration options
nlweb-template/public/json-renderer.js:10
Method
constructor
* Creates a new RecipeRenderer * * @param {JsonRenderer} jsonRenderer - The parent JSON renderer
nlweb-template/public/recipe-renderer.js:10
Method
constructor
(config = {})
nlweb-template/public/nlweb-dropdown-chat.js:15
Method
constructor
()
nlweb-template/public/conversation-manager.js:2
Method
constructor
(options = {})
nlweb-template/public/fp-chat-interface-snippet.js:13
Method
constructor
* Creates a new TypeRenderer * * @param {JsonRenderer} jsonRenderer - The parent JSON renderer
nlweb-template/public/type-renderers.js:14
Method
constructor
(writable: WritableStream<Uint8Array>)
nlweb-template/src/ask/stream-wrapper.ts:7
Method
constructor
(message: string, markdown = message)
cli/src/MarkdownError.ts:3
Method
constructor
(repoRoot: string)
cli/src/npm.ts:101
Method
constructor
()
workers-for-platforms-template/scripts/setup.js:41
Method
constructor
* Creates a new TodoManager instance * @param kv - The Cloudflare KV namespace instance to use for storage * @param todosKey - The key under which
to-do-list-kv-template/app/to-do-manager.ts:22
Method
constructor
(private readonly provider: TTSProvider)
voice-agent-template/src/voice/retryingTts.ts:18
Method
constructor
* The constructor is invoked once upon creation of the Durable Object, i.e. the first call to * `DurableObjectStub::get` for a given identifier (no
hello-world-do-template/src/index.ts:25
Method
constructor
(DB)
saas-admin-template/src/lib/services/customer_subscription.ts:63
Method
constructor
(DB: D1Database)
saas-admin-template/src/lib/services/customer.ts:57
Method
constructor
(DB)
saas-admin-template/src/lib/services/subscription.ts:48
Method
constructor
(ctx, env)
react-router-postgres-ssr-template/api/books-service.js:6
Method
constructor
(ctx: DurableObjectState, env: Env)
containers-template/src/index.ts:12
Method
constructor
(ctx: DurableObjectState, env: Env)
workflows-starter-template/worker/durable-object.ts:17
Method
contentType
* The content type of the returned image
commerce-llms-txt-template/worker-configuration.d.ts:13496
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
commerce-llms-txt-template/worker-configuration.d.ts:13568
Method
contentType
* The content type of the returned image
durable-chat-template/src/server/worker-configuration.d.ts:13482
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
durable-chat-template/src/server/worker-configuration.d.ts:13554
Method
contentType
* The content type of the returned image
multiplayer-globe-template/src/server/worker-configuration.d.ts:13481
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
multiplayer-globe-template/src/server/worker-configuration.d.ts:13553
Method
contentType
* The content type of the returned image
chanfana-openapi-template/worker-configuration.d.ts:13480
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
chanfana-openapi-template/worker-configuration.d.ts:13552
Method
contentType
* The content type of the returned image
agent-commerce-analytics-template/worker-configuration.d.ts:13489
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
agent-commerce-analytics-template/worker-configuration.d.ts:13561
Method
contentType
* The content type of the returned image
openauth-template/worker-configuration.d.ts:13481
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
openauth-template/worker-configuration.d.ts:13553
Method
contentType
* The content type of the returned image
astro-blog-starter-template/worker-configuration.d.ts:13480
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
astro-blog-starter-template/worker-configuration.d.ts:13552
Method
contentType
* The content type of the returned image
next-starter-template/env.d.ts:13477
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
next-starter-template/env.d.ts:13549
Method
contentType
* The content type of the returned image
nlweb-template/worker-configuration.d.ts:13491
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
nlweb-template/worker-configuration.d.ts:13563
Method
contentType
* The content type of the returned image
react-router-starter-template/worker-configuration.d.ts:13486
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
react-router-starter-template/worker-configuration.d.ts:13558
Method
contentType
* The content type of the returned image
r2-explorer-template/worker-configuration.d.ts:13481
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
r2-explorer-template/worker-configuration.d.ts:13553
Method
contentType
* The content type of the returned image
remix-starter-template/worker-configuration.d.ts:13479
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
remix-starter-template/worker-configuration.d.ts:13551
Method
contentType
* The content type of the returned image
agent-visibility-template/worker-configuration.d.ts:13487
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
agent-visibility-template/worker-configuration.d.ts:13559
Method
contentType
* The content type of the returned image
vite-react-template/worker-configuration.d.ts:13479
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
vite-react-template/worker-configuration.d.ts:13551
Method
contentType
* The content type of the returned image
grpc-container-template/worker-configuration.d.ts:13527
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
grpc-container-template/worker-configuration.d.ts:13599
Method
contentType
* The content type of the returned image
to-do-list-kv-template/worker-configuration.d.ts:13480
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
to-do-list-kv-template/worker-configuration.d.ts:13552
Method
contentType
* The content type of the returned image
hello-world-do-template/worker-configuration.d.ts:13481
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
hello-world-do-template/worker-configuration.d.ts:13553
Method
contentType
* The content type of the returned image
nodejs-http-server-template/worker-configuration.d.ts:13479
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
nodejs-http-server-template/worker-configuration.d.ts:13551
Method
contentType
* The content type of the returned image
saas-admin-template/worker-configuration.d.ts:13485
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
saas-admin-template/worker-configuration.d.ts:13557
Method
contentType
* The content type of the returned image
react-router-postgres-ssr-template/worker-configuration.d.ts:13480
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
react-router-postgres-ssr-template/worker-configuration.d.ts:13552
Method
contentType
* The content type of the returned image
react-postgres-fullstack-template/worker-configuration.d.ts:13480
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
react-postgres-fullstack-template/worker-configuration.d.ts:13552
Method
contentType
* The content type of the returned image
text-to-image-template/worker-configuration.d.ts:13480
Method
contentType
* Returns the MIME type of the transformed media. * @returns A promise containing the content type string (e.g., 'image/jpeg', 'video/mp4')
text-to-image-template/worker-configuration.d.ts:13552
Method
contentType
* The content type of the returned image
d1-template/worker-configuration.d.ts:13480
← previous
next →
2,501–2,600 of 10,210, ranked by callers