WithRequestEnv set CGI-like environment variables that will be available in $_SERVER. Values set with WithEnv always have priority over automatically populated values.
(env map[string]string)
| 126 | // WithRequestEnv set CGI-like environment variables that will be available in $_SERVER. |
| 127 | // Values set with WithEnv always have priority over automatically populated values. |
| 128 | func WithRequestEnv(env map[string]string) RequestOption { |
| 129 | return WithRequestPreparedEnv(PrepareEnv(env)) |
| 130 | } |
| 131 | |
| 132 | func WithRequestPreparedEnv(env PreparedEnv) RequestOption { |
| 133 | return func(o *frankenPHPContext) error { |