MCPcopy Index your code
hub / github.com/php/frankenphp / WithRequestPreparedEnv

Function WithRequestPreparedEnv

requestoptions.go:132–138  ·  view source on GitHub ↗
(env PreparedEnv)

Source from the content-addressed store, hash-verified

130}
131
132func WithRequestPreparedEnv(env PreparedEnv) RequestOption {
133 return func(o *frankenPHPContext) error {
134 o.env = env
135
136 return nil
137 }
138}
139
140func WithOriginalRequest(r *http.Request) RequestOption {
141 return func(o *frankenPHPContext) error {

Callers 5

ProvisionMethod · 0.92
ServeHTTPMethod · 0.92
WithRequestEnvFunction · 0.85
newWorkerFunction · 0.85

Calls

no outgoing calls

Tested by 1