MCPcopy Create free account
hub / github.com/php/frankenphp / SendMessage

Method SendMessage

workerextension.go:14–14  ·  view source on GitHub ↗

SendMessage calls the closure passed to frankenphp_handle_request(), passes message as a parameter, and returns the value produced by the closure.

(ctx context.Context, message any, rw http.ResponseWriter)

Source from the content-addressed store, hash-verified

12 SendRequest(rw http.ResponseWriter, r *http.Request) error
13 // SendMessage calls the closure passed to frankenphp_handle_request(), passes message as a parameter, and returns the value produced by the closure.
14 SendMessage(ctx context.Context, message any, rw http.ResponseWriter) (any, error)
15 // NumThreads returns the number of available threads.
16 NumThreads() int
17}

Callers 1

Implementers 1

extensionWorkersworkerextension.go

Calls

no outgoing calls

Tested by 1